Skip to main content

No project description provided

Project description

pyft: python bindings for fibertools-rs

Documentation Status PyPI version

pyft provides a python API for the rust library fibertools-rs. The inspiration for this API is to make analysis in python easier and faster; therefore, only extraction of data from a fiberseq bam is supported and not writing.

Install

pip install pyft

Example

import pyft
bam_f = "../tests/data/center.bam"
fiberdata = pyft.FiberdataFetch(bam_f, "chr1", 0, 1000)
for fiber in fiberdata:
    # print some info about the fiber
    print(fiber)
    # print the fiber number of ccs passes
    print(fiber.ec)    
    # print the mps start positions
    print(fiber.msp.starts)    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyft-0.1.4.tar.gz (8.3 MB view hashes)

Uploaded Source

Built Distribution

pyft-0.1.4-cp310-cp310-macosx_10_7_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.10 macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page