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.3.tar.gz (8.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyft-0.1.3-cp310-cp310-macosx_10_7_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10macOS 10.7+ x86-64

File details

Details for the file pyft-0.1.3.tar.gz.

File metadata

  • Download URL: pyft-0.1.3.tar.gz
  • Upload date:
  • Size: 8.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.1.0

File hashes

Hashes for pyft-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8ff3251b956d86b827f6b20c19577dd3eb41baa92798e90f5b5b05231c48d5a0
MD5 9b44cc82e3b03b06c245105ccd5f490c
BLAKE2b-256 ab265c78ed72341a5f6b18d9f84a1e9bc91739519c613d9051f732bf902f363d

See more details on using hashes here.

File details

Details for the file pyft-0.1.3-cp310-cp310-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for pyft-0.1.3-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 01dd9b80525f634e74e3a705a57a477f04b5a738ca11502fdb83e848dbf84ccc
MD5 1f7d334c8c31518533a60310f384ce1b
BLAKE2b-256 049bb53f6e949dabc348f4bf60f9d11a473764e589d6041be074cbcf20a42900

See more details on using hashes here.

Supported by

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