PubMed · 42688442
cgDist: Nucleotide-level distance calculation from cgMLST allelic profiles.
Abstract
Bacterial genomic surveillance requires balancing computational efficiency with genetic resolution for effective cluster investigation. cgMLST distance calculations treat all allelic differences as equivalent units, obscuring nucleotide-level variation. Furthermore, single nucleotide polymorphism-based pipelines provide finer resolution at substantially higher computational cost, which limits their routine deployment in surveillance laboratories. We present cgDist, an algorithm that calculates nucleotide-level distances directly from cgMLST allelic profiles, providing finer resolution than allele-count distances by leveraging within-allele nucleotide variation. The cache architecture stores alignment statistics, enabling distance calculation modes without computation and supporting both dataset-specific and schema-complete cache generation. This design enables incremental surveillance analysis, with performance benefits as laboratories accumulate alignment data. cgDist functions as a precision 'zoom lens' for the investigation of clusters identified through initial cgMLST screening. Rather than restructuring population relationships, this targeted approach concentrates enhanced resolution where it is most informative. The algorithm ensures that cgDist distances are greater than or equal to corresponding cgMLST distances, preserving epidemiological interpretability while adding genetic discrimination. By increasing resolution within identified clusters, cgDist may also support outbreak investigation, a potential application that remains to be evaluated on outbreak-derived data.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Andrea de Ruvo, Pierluigi Castelli, Andrea Bucciacchio, Iolanda Mangone, Verónica Mixão, Vítor Borges, Michele Flammini, Nicolas Radomski, Adriano Di Pasquale. 2026-09-02. cgDist: Nucleotide-level distance calculation from cgMLST allelic profiles.. https://doi.org/10.1093/nargab%2Flqag090
Cite the original work for its findings. Save a collection to share your selection of sources.