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.
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
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.4.tar.gz
(8.3 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyft-0.1.4.tar.gz.
File metadata
- Download URL: pyft-0.1.4.tar.gz
- Upload date:
- Size: 8.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
beafa1574b135a9d54080a1eed9ebdd607b6b7f8dabc44f38728633083f6fcef
|
|
| MD5 |
750eee923a37149e1725b6b01f5817c2
|
|
| BLAKE2b-256 |
c0f0c6f569449c4bbc95ba0281b2423d2c22fd957a7279f33b74ebd6aa94fefb
|
File details
Details for the file pyft-0.1.4-cp310-cp310-macosx_10_7_x86_64.whl.
File metadata
- Download URL: pyft-0.1.4-cp310-cp310-macosx_10_7_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.10, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da32fea9f6e2d73ba9c0991bf3d2b495212cfb78cb8f05c11d56bb163cc9d927
|
|
| MD5 |
fea4f34679e691ad154ebadb936ff09f
|
|
| BLAKE2b-256 |
5f76cfcbbab37550bc51a7e8ea1bc59451ae618fb3eab2f20f7aa097bc615268
|