gapit
Mass screening of contigs and reads for known genes — AMR, virulence, serotype, plasmid replicons, species markers, or any custom database. Contig screening emits abricate-compatible TSV; JSON and Markdown are first-class outputs. Python 3.12.
Install
pip install gapit
BLAST+ (blastn, blastx, makeblastdb, blastdbcmd) and minimap2 must be on
PATH. The pixi/conda paths install them for you; see
installation for those, Docker, and pinned setups.
# from a clone, with the external binaries managed for you
git clone https://github.com/indexofire/gapit.git
cd gapit
pixi install
pixi run gapit --version
Quick start
Bundled databases work offline on first use; every other database is fetched with
gapit db fetch.
# contigs -> abricate-compatible TSV on stdout
gapit screen contigs.fa --db eco_dec
# JSON / Markdown for agents and humans
gapit screen contigs.fa --db eco_dec --format json
gapit screen contigs.fa --db eco_dec --format md
# FASTQ reads through minimap2
gapit screen --r1 R1.fastq.gz --r2 R2.fastq.gz --read-type sr --db eco_dec
# two-stage gene typing: screen writes the table, typing designates from it
gapit screen isolate.fa --db eco_dec --output result.tsv
gapit typing result.tsv
# summarize many reports into a gene matrix
gapit summary *.tsv
# databases
gapit db fetch -d ncbi
gapit db list
# introspect the output contract
gapit schema report
Contig defaults are --minid 80 --mincov 80; reads presence defaults to 90% alignment
breadth. Full flags and examples: contigs, reads,
typing, summary.
Documentation
| Topic | Page |
|---|---|
| Install, quickstart | installation, quickstart |
| Contig screening, cluster databases | screen |
| Reads and assembly surveys | reads |
| Gene matrices | summary |
| Typing schemes and phenotypes | typing |
| JSON/Markdown contracts, error envelope | outputs, gapit schema |
| Database catalog, providers, bundles | databases |
| Datadir, sharing, Docker | datadir |
| Custom databases | custom-db |
| Agents and MCP server | agents, mcp |
| Optional gseek engine | gseek |
Full manual: https://indexofire.github.io/gapit/.
Development and license
Contributor workflow and gates: CONTRIBUTING.md; internal rules: AGENTS.md; trust boundaries: SECURITY.md; changes: CHANGELOG.md.
gapit is MIT-licensed. It is a behavioral reimplementation of abricate (GPL-2.0) and copies no Perl code. The seven gapit-curated bundled databases are permissively licensed; every other provider downloads from upstream at fetch time under its own license. If you use gapit, cite CITATION.cff.
Metadata
Release files for gapit 0.6.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gapit-0.6.8.tar.gz | 3.2 MB | With provenance | Details for gapit-0.6.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gapit-0.6.8-py3-none-any.whl | Python 3 | none | any | Details for gapit-0.6.8-py3-none-any.whl |
Total release size: 6.0 MB
Release files / gapit-0.6.8.tar.gz
| Download URL | gapit-0.6.8.tar.gz |
|---|---|
| Size | 3.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
319cecb23cd24133a2eb7a9b6f13cc1782d99e76332c450634430bceb7ddd765
|
|
BLAKE2b-256 checksum How to use checksums |
7ce5fc3369d77b4d4e307796931234c8c9d73f00ca487ef9cc9b56974e5c3c94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 3, 2026.
Transparency logRelease files / gapit-0.6.8-py3-none-any.whl
| Download URL | gapit-0.6.8-py3-none-any.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3120f8512e3a37df693f3eb776d02b9580cb748352dc9c3d0a5a372be7a85474
|
|
BLAKE2b-256 checksum How to use checksums |
7f40d595efbc0bd6b61557fd83bfbaf904bbc472b451408ce513e215f556fee3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 3, 2026.
Transparency logSecurity for gapit 0.6.8
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 2 files in this release have been uploaded with provenance metadata.
Attestation for gapit-0.6.8.tar.gz
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 Nov 3, 2026.
Transparency logA 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.