Skip to main content

BacAtlas

A locus-centred atlas of bacterial pangenomes.

⚠ This release reserves the name. It ships no pipeline and no data. The work is real and in progress; this package exists so that what is published later is published under the name the project is already called. Watch github.com/abelsond-cam/bacatlas.

What it is

A bacterial pangenome is usually presented around one reference genome, with everything else hung off it. That works until the interesting thing is a gene the reference does not have.

BacAtlas presents the pangenome as loci instead. A locus is a position in the genome, and what fills it: the structurally homologous genes found there across a species — however far their sequences have diverged — together with how consistently each neighbouring position is occupied. You search for a gene, and you get the neighbourhood it lives in.

Two genes that occupy the same position and are homologous in structure are syntelogs. Homology here means similar structure, inferred from protein-language-model embeddings, not sequence identity: syntelogs routinely differ far more in sequence than any identity threshold would group. That is the whole point — an identity threshold cannot see a conserved role filled by a divergent gene, and those are the genes that carry resistance and virulence.

How it is built

piece what it does
Bacformer a genome language model over a genome's proteins, giving each gene a context-aware embedding
Nuna the clustering method — groups genes into loci by homology and genomic context, at a scale graph-based pangenome tools do not reach
BacAtlas the atlas itself: the loci, their evidence, and the browser that serves them

BacAtlas is the atlas; Nuna is the clustering method inside it.

Status

Early. The method clears its correctness gate on Escherichia coli and Klebsiella pneumoniae, and a browser over both is running. Reproducibility against Panaroo, and the scale-up beyond the probe cohort, are in progress. Nothing here is peer-reviewed yet — treat it as a working draft.

Licence

BSD 3-Clause. © 2026 David Abelson.

Release files for bacatlas 0.0.1

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

Source distribution (sdist)

Source distribution for bacatlas 0.0.1
File Size Uploaded
bacatlas-0.0.1.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bacatlas 0.0.1
File Interpreter ABI Platform
bacatlas-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / bacatlas-0.0.1.tar.gz

Download URL bacatlas-0.0.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4fdd47ee85e54e0c97ec40326321ec12866b50ec3c21cae12884e1a6f289ae73
BLAKE2b-256 checksum
How to use checksums
466296159040fc2e9ddf88ccd51919f63c5651a198914f72cad6b68326865ceb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / bacatlas-0.0.1-py3-none-any.whl

Download URL bacatlas-0.0.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25cc63fb54f18edb05295027ac94bc48187821db6e41b016610ec7ec06e6886f
BLAKE2b-256 checksum
How to use checksums
625ee1d5ba5a342e4e31666c61f7daabfc67f0098631556dbd8dd761102aefad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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