Python bindings for minibwa
Project description
minibwa
Python bindings for minibwa, a minimal BWA-style short- and long-read aligner. Built on the Rust minibwa crate via PyO3; the alignment runs in native code with the GIL released.
Install
pip install minibwa
Quick start
import minibwa
# Build an index from a FASTA (writes <prefix>.l2b and <prefix>.mbw), then load it.
minibwa.Index.build("ref.fa", "ref")
idx = minibwa.Index.load("ref")
opts = minibwa.Opts()
for hit in minibwa.map(idx, opts, "read1", "ACGTACGT..."):
print(hit.contig, hit.ref_start, hit.ref_end, "-" if hit.reverse else "+", hit.cigar)
- Paired-end:
minibwa.map_pair(idx, opts, n1, s1, n2, s2) - Batched (higher throughput):
minibwa.map_many(idx, opts, names, seqs) - Methylation (bisulfite): pass
meth=minibwa.Meth.C2T/Meth.G2A(build/load the index withmeth=True)
See the project repository for the full API and documentation.
License
MIT. The package vendors and links minibwa (MIT) and libsais (Apache-2.0); see the repository's THIRD-PARTY.md for full notices.
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 Distributions
Built Distributions
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 minibwa-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: minibwa-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 393.8 kB
- Tags: CPython 3.9+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8fdce2fff1100fc7387b35541080af6a4edaabfc232a33ead63a5a956963470
|
|
| MD5 |
c1bd2cbc67375bd3f368a00a6f584397
|
|
| BLAKE2b-256 |
591ec20fb6efbf64fc5c888984519e8359d9050ac3162752363e6e187738c1d5
|
Provenance
The following attestation bundles were made for minibwa-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl:
Publisher:
pypi.yml on fg-labs/minibwa-bindings
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
minibwa-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
e8fdce2fff1100fc7387b35541080af6a4edaabfc232a33ead63a5a956963470 - Sigstore transparency entry: 1902051970
- Sigstore integration time:
-
Permalink:
fg-labs/minibwa-bindings@04752b1db229aabae610b51cd4bffc73df2b1b90 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fg-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@04752b1db229aabae610b51cd4bffc73df2b1b90 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file minibwa-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: minibwa-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 369.5 kB
- Tags: CPython 3.9+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f40cff8931f6d0133f169ca638e30c7b34bbe7144e664e2bb6da158d41c610ab
|
|
| MD5 |
26a5f5e7697e62e11fae34d8289518a8
|
|
| BLAKE2b-256 |
61486a30090bdda91da03497e36c55e35e8d7b71bcd23057b8d33f03f99563b1
|
Provenance
The following attestation bundles were made for minibwa-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl:
Publisher:
pypi.yml on fg-labs/minibwa-bindings
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
minibwa-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
f40cff8931f6d0133f169ca638e30c7b34bbe7144e664e2bb6da158d41c610ab - Sigstore transparency entry: 1902051907
- Sigstore integration time:
-
Permalink:
fg-labs/minibwa-bindings@04752b1db229aabae610b51cd4bffc73df2b1b90 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fg-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@04752b1db229aabae610b51cd4bffc73df2b1b90 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file minibwa-0.1.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: minibwa-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 334.0 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98fd0f9e53540f4cbae46ef5a646ca4d6328295240603c5db242033318bacc0d
|
|
| MD5 |
dc4c36de2bf343ab29d49fab9ae260dd
|
|
| BLAKE2b-256 |
8e36d234ce917ebffacefef292a1b0561d07b2843ce1a35e895775f8a8a543b7
|
Provenance
The following attestation bundles were made for minibwa-0.1.0-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
pypi.yml on fg-labs/minibwa-bindings
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
minibwa-0.1.0-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
98fd0f9e53540f4cbae46ef5a646ca4d6328295240603c5db242033318bacc0d - Sigstore transparency entry: 1902051862
- Sigstore integration time:
-
Permalink:
fg-labs/minibwa-bindings@04752b1db229aabae610b51cd4bffc73df2b1b90 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fg-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@04752b1db229aabae610b51cd4bffc73df2b1b90 -
Trigger Event:
workflow_dispatch
-
Statement type: