GAMBIT
GAMBIT (Genomic Approximation Method for Bacterial Identification and Tracking) is a tool for rapid taxonomic identification of microbial pathogens. It uses an efficient genomic distance metric along with a curated database of approximately 50,000 reference genomes (derived from NCBI RefSeq) to identify genome assemblies from across the Bacterial kingdom in seconds.
See below for basic installation and usage instructions, or check out the documentation for more detailed information and a basic tutorial.
About
Copyright © 2016-2026 Jared Lumpe
GAMBIT has been a personal project of mine for many years. Although there have been numerous contributors to the publication, it is not a product of any lab or institution.
GAMBIT is provided as free software under the terms of the AGPLv3 license. It is not covered by any type of software patent.
Publication
Lumpe J, Gumbleton L, Gorzalski A, Libuit K, Varghese V, et al. (2023) GAMBIT (Genomic Approximation Method for Bacterial Identification and Tracking): A methodology to rapidly leverage whole genome sequencing of bacterial isolates for clinical identification. PLOS ONE 18(2): e0277575. https://doi.org/10.1371/journal.pone.0277575
See jlumpe/gambit-publication for a reproducible workflow to generate all analyses and figures in the paper.
Contact
Please contact Jared Lumpe at jared@jaredlumpe.com with any questions or feedback.
Installation
Conda
Install from Bioconda:
conda install -c conda-forge -c bioconda gambit
Pixi
Install the gambit command globally using
Pixi:
pixi global install -c conda-forge -c bioconda gambit
To add GAMBIT to an existing Pixi workspace instead, use pixi add gambit (after ensuring the
conda-forge and bioconda channels are added to the workspace).
Pip
pip install gambit
Pre-built wheels are only provided for Linux (x86_64) and CPython 3.9-3.14. On other platforms pip will attempt to build from the source distribution (see next section).
From source
git clone https://github.com/jlumpe/gambit.git
cd gambit
pip install . # or "pip install -e ." for an editable install
Requires a C compiler with OpenMP support. Not supported on macOS (Apple clang lacks -fopenmp) or
Windows. macOS users should install using Conda or Pixi instead, and Windows users should use
WSL.
Database files
GAMBIT requires a reference database for taxonomic identification. Download the database files and place them in a directory of your choice:
Basic usage
gambit [-d /path/to/database/] query [-o results.csv] genome1.fasta genome2.fasta ...
Positional arguments are one or more FASTA files containing query genome assemblies. You must
provide the path to the directory containing the database files using either the -d option
(before the query subcommand) or by setting the GAMBIT_DB_PATH environment variable.
See the documentation for additional details on the command line interface and description of the output.
Metadata
Release files for gambit 1.2.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gambit-1.2.0.post1.tar.gz | 6.0 MB | Details |
Built distributions (wheels)
Total release size: 20.4 MB
Release files / gambit-1.2.0.post1.tar.gz
| Download URL | gambit-1.2.0.post1.tar.gz |
|---|---|
| Size | 6.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a11bc3d6abfbb8cf9ebf79acf23535116e82b8b142abcd51bd02736dbda8938
|
|
BLAKE2b-256 checksum How to use checksums |
63bf6371c86698251022ddb38d56c07aad444cc0a55f87d3b9ba04e4662dc2db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Oct 6, 2026.
Transparency logRelease files / gambit-1.2.0.post1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gambit-1.2.0.post1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
a20f22247d28f637d4d212d9d63722b07bad9f5e193457b23ba792060132c1ea
|
|
BLAKE2b-256 checksum How to use checksums |
7ec14448198c0c03faa303241a15966cbdcd3ce0bf6b12d58cf01b2e129a7bd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Oct 6, 2026.
Transparency logRelease files / gambit-1.2.0.post1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gambit-1.2.0.post1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
17a396b5242e9cee590639e056d1201ac079cfe0a8d6bc37e615cbbee5d40603
|
|
BLAKE2b-256 checksum How to use checksums |
098e98b82d8f9fe478eb9f4a65a2ae689eed9a845070327116ee21019724ee28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Oct 6, 2026.
Transparency logRelease files / gambit-1.2.0.post1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gambit-1.2.0.post1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
bf79d2c193cebcea74a54ba537655ba5837c7089e692629a4564b66d99edb0d0
|
|
BLAKE2b-256 checksum How to use checksums |
13fb035b2f78ae826f26bcb623137b2e1508b9d14221643ebc5d7bd8770097d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Oct 6, 2026.
Transparency logRelease files / gambit-1.2.0.post1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gambit-1.2.0.post1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
65795ec5866bddaf37570f3b93bc76e8eb88e3ecd831b96abe70f608959904ce
|
|
BLAKE2b-256 checksum How to use checksums |
d60cf687b91e109d6f5e744ad911a3a6ad0195e759794b1d91f22b91184ef848
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Oct 6, 2026.
Transparency logRelease files / gambit-1.2.0.post1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gambit-1.2.0.post1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
3c51bb00e80380b4bfc51f35cd920d180ca70b9c0f6d74f74515795cfa5322ac
|
|
BLAKE2b-256 checksum How to use checksums |
457e63d130eab759311f4a75e40954fd153ef03eb7895fac236ccd2069aefe64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Oct 6, 2026.
Transparency logRelease files / gambit-1.2.0.post1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | gambit-1.2.0.post1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
636397d8cc9926ffb151abeb8c3b70bad3ca787d6fe0297c72a3f95c78428a5c
|
|
BLAKE2b-256 checksum How to use checksums |
7348e66662217d90fb3ad39f339f71f1f9737f06edcf96d9779226e7b74b6099
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Oct 6, 2026.
Transparency log