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.2.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.2.tar.gz.
File metadata
- Download URL: pyft-0.1.2.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 |
cf3fabe61cba415e7cf699d6b7b1b1aefa6abb63d8600f72616d3fe5c51bd6bc
|
|
| MD5 |
eb8f19aee308403f7fb6ec1a29d167e7
|
|
| BLAKE2b-256 |
0a0b139d65d937bc185b68d3eff484ce5c3ca5e3bfc3150b2020d0b604b64d66
|
File details
Details for the file pyft-0.1.2-cp310-cp310-macosx_10_7_x86_64.whl.
File metadata
- Download URL: pyft-0.1.2-cp310-cp310-macosx_10_7_x86_64.whl
- Upload date:
- Size: 1.4 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 |
486ec1e784e44531240560bc01479cdf7f1e7b2d18b83eae74c08e01cbee5622
|
|
| MD5 |
7edec994fbd6ac0d170a2d5bfbe72985
|
|
| BLAKE2b-256 |
42ec1bf1615986fee7e2940dcd8902ef14457658d94208b01d95549253b62843
|