HUB
Sign inSign up

bbeckleyhub/abyss-db-cli

By bbeckleyhub

•Updated about 10 hours ago

Image
0

58

bbeckleyhub/abyss-db-cli repository overview

⁠abyss-db-cli

Command-line interface for the ABYSS Acinetobacter baumannii genomic surveillance database. Part of the ARGUS initiative (University of Ghana Medical School, Accra, Ghana).

The image bundles the full dataset: 59,166 A. baumannii genomes, 44 fields per genome (MLST Pasteur and Oxford, international clones IC1-IC9, Kaptive K and OC loci, intrinsic OXA variants, acquired carbapenemases, AMR, virulence and plasmid genes, CheckM quality, and geographic and clinical metadata). Queries run locally: no downloads, no API keys, no network access.

⁠Quick start

docker run --rm bbeckleyhub/abyss-db-cli:latest --version
docker run --rm bbeckleyhub/abyss-db-cli:latest --ic IC2 --count
# 33,164

docker run --rm bbeckleyhub/abyss-db-cli:latest --crab --count
# 29,145

Filter, export, download:

docker run --rm -v "$PWD:/work" bbeckleyhub/abyss-db-cli:latest \
    --crab --continent Europe -o crab_europe
# writes crab_europe.txt (accessions), ready for NCBI datasets

⁠Persistent data

The entrypoint sets ABYSS_DATA_DIR=/data whenever a volume is mounted, and seeds an empty /data from the bundled snapshot on first use:

# First run: /data is seeded from the bundled data
docker run --rm -v abyss_data:/data bbeckleyhub/abyss-db-cli:latest --ic IC2 --count

# Refresh the data in the volume from the published release
docker run --rm -v abyss_data:/data bbeckleyhub/abyss-db-cli:latest init --force

⁠Data releases

The CLI and the data are versioned independently. The bundled snapshot is data release v1.0.0 (9 files, 23.2 MB extracted). abyss init installs or refreshes the data from the argus-data releases⁠ (tag prefix abyss-data-), with SHA256 verification and offline -f/--from-file installs.

⁠Self-verification

The image build is gated: it refuses to finish unless the bundled wheel contains all 8 data files and a live query returns the pinned smoke count (abyss --ic IC2 --count = 33,164 for data v1.0.0).

⁠Try it without Docker

pip install abyss-db-cli
abyss --ic IC2 --count

If ABYSS is useful in your work, please cite the ABYSS typing pipeline (doi.org/10.1038/s41598-026-70189-y) and the gene-annotation source data (Shelenkov et al., Data, doi.org/10.3390/data9020022).

⁠Author

Brown Beckley, University of Ghana Medical School, Accra, Ghana. ORCID 0009-0005-5414-1305. MIT License.

Tag summary
Recent tags
Content type
Image
Digest
sha256:9bcbc03c8…
Size
125.6 MB
Last updated
about 10 hours ago
docker pull bbeckleyhub/abyss-db-cli:latest