Skip to main content

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, hit.strand, hit.cigar_string)
  • 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 with meth=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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

minibwa-0.1.5-cp310-abi3-manylinux_2_28_x86_64.whl (377.9 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

minibwa-0.1.5-cp310-abi3-manylinux_2_28_aarch64.whl (354.3 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

minibwa-0.1.5-cp310-abi3-macosx_11_0_arm64.whl (340.1 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file minibwa-0.1.5-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for minibwa-0.1.5-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f1d564142d02907140bd3fa97266af409e6d50fc2f59efd4a7a56f41cbc14394
MD5 a0a6c0eb89dee46e7f70330573caed06
BLAKE2b-256 421aefd64eb51eb565c54e831a755fe18923093312f48223b49afedd2d833913

See more details on using hashes here.

Provenance

The following attestation bundles were made for minibwa-0.1.5-cp310-abi3-manylinux_2_28_x86_64.whl:

Publisher: pypi.yml on fg-labs/minibwa-bindings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file minibwa-0.1.5-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for minibwa-0.1.5-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 eed6b0d2cb59ef573238618d645d4570abc80359a141bf361a71e8aaf7a20720
MD5 2c3d44d7371fed07f4304a6a060184fa
BLAKE2b-256 49d50a95cd7bb7be3004d15d76208c2f9de3ed3114a478a1991e00b5e6ea8d68

See more details on using hashes here.

Provenance

The following attestation bundles were made for minibwa-0.1.5-cp310-abi3-manylinux_2_28_aarch64.whl:

Publisher: pypi.yml on fg-labs/minibwa-bindings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file minibwa-0.1.5-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for minibwa-0.1.5-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b29a5b2ebe634e59cc40821f87b121f92564182c82b3a65b8accc117690e4efe
MD5 f6792874f70c8c3c47d9ea00361d2a8e
BLAKE2b-256 9a85e8875d5df08350021dd1b38c18a4d18229bdb18b92c51105bc0777ee3751

See more details on using hashes here.

Provenance

The following attestation bundles were made for minibwa-0.1.5-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: pypi.yml on fg-labs/minibwa-bindings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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