Software Clusters Pathogen Genomes by Core SNP Distance
Researchers released SNP2Cluster-Py, an open-source Python framework for Core SNP clustering of bacterial genome data.
Updated on Nov. 20, 2026 in Life Sciences

Researchers have released SNP2Cluster-Py, an open-source Python framework that clusters pathogen genomes using Core SNP distances and user-configured metadata. The framework was evaluated on Klebsiella pneumoniae isolates from South Africa and Streptococcus pneumoniae isolates from Ghana.
Why it matters
The software separates context-aware Core SNP clustering from the later application of epidemiological and temporal criteria, giving researchers a defined, reproducible method for grouping related pathogen isolates. Its open-source release lets laboratories and surveillance teams apply the same approach to their own genomic datasets.
The evaluation covered 172 Klebsiella pneumoniae isolates from six neonatal-surveillance hospitals in South Africa and 168 Streptococcus pneumoniae carriage isolates from Ghana, with ST-only analysis clustering 141 Klebsiella isolates against 134 under Facility + ST analysis. The study does not report performance on additional pathogen species or datasets beyond these two.
The details
SNP2Cluster-Py accepts a precomputed pairwise Core SNP-distance matrix and user-configured metadata. Within each context, authoritative Core clusters are defined as connected components of an SNP-threshold graph, while K-means assignments and silhouette widths are retained only as exploratory diagnostics.
Timeline
The software is listed as version v1.1.2 in the release described by the researchers.
Big Picture
The framework builds on Core SNP-based clustering of bacterial isolates, a method already used in genomic surveillance, by packaging it as open, reproducible software. It keeps the Core cluster definition distinct from later epidemiological and temporal filtering.
Laboratories and public-health surveillance teams working with bacterial genome data can download and run SNP2Cluster-Py on their own precomputed SNP-distance matrices. The software's threshold-based cluster definitions give a repeatable way to group isolates before any epidemiological interpretation.
The takeaway
Clear separation between genomic clustering and epidemiological interpretation makes pathogen-tracking results easier to reproduce and compare across datasets. Treat exploratory diagnostics as secondary to the threshold-defined Core clusters.
Further reading
Explore more on Life Sciences to see how genomic tools like this are applied in pathogen research.
Source note: This article includes information reported by Biorxiv.



