cgDist: An Enhanced Algorithm for Efficient Calculation of pairwise SNP and InDel differences from Core Genome Multilocus Sequence Typing
Andrea De RuvoiD, Pierluigi CastelliiD, Andrea BucciacchioiD, Iolanda MangoneiD, Verónica MixãoiD, Vítor BorgesiD, Michele FlamminiiD, Nicolas RadomskiiD, Adriano Di PasqualeiD
Abstract
Bacterial genomic surveillance requires balancing computational efficiency with genetic resolution for effective outbreak investigation. Traditional cgMLST distance calculations treat all allelic differences as equivalent units, potentially obscuring nucleotide-level variation critical for source attribution. While SNP-based methods provide enhanced resolution, their computational requirements limit routine deployment in surveillance laboratories. We present cgDist, an algorithm that bridges this resolution gap by calculating nucleotide-level distances directly from cgMLST allelic profiles. The unified cache architecture stores comprehensive alignment statistics, enabling multiple distance calculation modes without redundant computation and supporting both dataset-specific and schema-complete cache generation. This design transforms genomic surveillance from batch processing to continuous streaming analysis, with cumulative performance benefits as laboratories accumulate alignment data. cgDist functions optimally as a precision "zoom lens" for the detailed investigation of clusters identified through initial cgMLST screening. Rather than restructuring entire population relationships, this targeted approach maximizes epidemiological insight precisely where enhanced resolution is most valuable. The algorithm ensures that cgDist distances are always greater than or equal to corresponding cgMLST distances, preserving epidemiological interpretability while adding critical genetic discrimination. The system includes integrated recombination detection capabilities that leverage cached alignment statistics to identify potential horizontal gene transfer events through mutation density analysis. This multi-scale analytical framework--from population screening through cluster zoom analysis to recombination detection--provides comprehensive surveillance capabilities within the computational constraints of routine public health practice.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Cumulative cgMLST provides increased discrimination of nested phylogenetic groups
Armen Ovsepian, José F. Delgado‐Blas, … Sylvain Brisse·Genome MedicinePeer-reviewed·Jul 24, 2026
- Hash-based core genome multi-locus sequencing typing for Clostridium difficile
D. W. Eyre, T. E. Peto, … M. H. Wilcox·bioRxiv·Jun 28, 2019
- Core Genome Multi Locus Sequence Typing and Single Nucleotide Polymorphism Analysis in the Epidemiology of Brucella melitensis Infections
A. Janowicz, F. De Massis, … G. Garofolo·bioRxiv·Apr 7, 2018
- Life Identification Numbers: A bacterial strain nomenclature approach
Féderica Palma, Mélanie Hennart, … Sylvain Brisse·PLoS BiologyPeer-reviewed·Jun 4, 2026
- High Resolution Salmonella Subtyping by the MLSTnext Method
Z. Ma, B. Gharizadeh, … C. Wang·bioRxiv·Mar 10, 2023
- Performance of Core Genome Multilocus Sequence Typing Compared to Capillary-Electrophoresis PCR Ribotyping and SNP Analysis of Clostridioides difficile
Amoe Baktash, Jeroen Corver, … Ed J. Kuijper·bioRxiv·Aug 10, 2021