Bacterial Surface Glycan & Biosynthetic Locus Curation¶
This presentation documents the multi-database streaming, chemical graph canonicalization, taxonomy normalization, and 4-tier NCBI/PubMed SeroGen biosynthetic locus pairing pipeline in kbank.io.sources and kbank.db.curation, producing the unified Structure-of-Arrays GlycanRecords archive (src/kbank/data/glycans.npz).
Key Takeaways¶
- 5 Integrated Surface-Antigen Databases: Consolidates CSDB, KEGG Glycan, ECODAB, CERMAV EPS-DB, and EK3D with GlyTouCan accession cross-references into 1,530 non-redundant bacterial surface polysaccharide graphs (
7,788residue/modifier nodes and7,660glycosidic linkages across154species). - De Novo
SeroGenLocus Pairing: Resolves NCBI Genome Assemblies and nucleotide BGC accessions viacassetter-cached Entrez queries, segments candidate polysaccharide loci withLocusPredictor, and aligns7,940classified BGC genes across 565 paired records viaBiosyntheticAssigner. - Zero-Pickle SoA Archive: Compiles all graphs, loci, and bipartite
GeneGlycanAssignmentsintosrc/kbank/data/glycans.npz(allow_pickle=False).
Run Locally¶
# Present as interactive slideshow
uv run --with marimo --with altair marimo run scripts/curate_glycans.py
# Edit notebook cells
uv run --with marimo --with altair marimo edit scripts/curate_glycans.py