No project description provided
Project description
pyft: python bindings for fibertools-rs
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.
Example
import pyft
bam_f = "../tests/data/center.bam"
fiberdata = pyft.FiberdataIter(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
Release history Release notifications | RSS feed
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.0.tar.gz
(8.3 MB
view hashes)
Built Distribution
Close
Hashes for pyft-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a176636b44d970caf971dc03b1fabae42f713f378dd6185a859c37c090d27ef3 |
|
MD5 | 8d58da25fd6eb7ace50f0d441e43d5d0 |
|
BLAKE2b-256 | d762f180b758be35243ef8a74361f533c974f7294541f16c9bc82cdcc29983e0 |