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.

Metadata

Release files for minibwa 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for minibwa 0.1.7
File Interpreter ABI Platform
minibwa-0.1.7-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details
minibwa-0.1.7-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details
minibwa-0.1.7-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 1.1 MB

Release files / minibwa-0.1.7-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL minibwa-0.1.7-cp310-abi3-manylinux_2_28_x86_64.whl
Size 378.0 kB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
d1c34389e8cceb71ff83290e35986a126e38a36cba3ab469829eb4b8731df8cb
BLAKE2b-256 checksum
How to use checksums
e550a65ada4c4ac93a4fba5385cb6256ccb87848d0a7a7b79f6cb637cc2dd970
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Release files / minibwa-0.1.7-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL minibwa-0.1.7-cp310-abi3-manylinux_2_28_aarch64.whl
Size 354.5 kB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
d6711c29a873f1fcb28bdc9d3b2828f8b90ed5d0486f65f8e4b1b8535102b829
BLAKE2b-256 checksum
How to use checksums
0c980fafb63ea85f96c99ae4b9bbc9726c7f58445b582392faba5a970a5fabd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Release files / minibwa-0.1.7-cp310-abi3-macosx_11_0_arm64.whl

Download URL minibwa-0.1.7-cp310-abi3-macosx_11_0_arm64.whl
Size 340.4 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
806a7525182d486a00f347b1bb6dde453275bdeef4ec9b6184e8875357d51f0b
BLAKE2b-256 checksum
How to use checksums
1a58e6733d285b4061f0b546b1890c2f4bab850491bfe6800af523c1a28eaeab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Security for minibwa 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for minibwa-0.1.7-cp310-abi3-manylinux_2_28_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page