There is a newer version of the record available.

Published November 3, 2026 | Version v1.1.1

SNP2Cluster-Py: A pathogen-agnostic and context-aware SNP clustering framework for genomic and epidemiological transmission-cluster detection

Description

SNP2Cluster-Py v1.1.1

SNP2Cluster-Py v1.1.1 is a focused visualisation hotfix for high-cardinality minimum spanning trees.

Fixed

  • Increased the supported MST sequence-type visual vocabulary from 33 to 44 unique combinations.
  • Added a fourth dash-dot border-pattern family.
  • Preserved node fill colour exclusively for Core SNP cluster annotation.
  • Prevented MST generation from failing when a displayed analysis group contains between 34 and 44 sequence-type categories.

Validation

The hotfix was validated using a Ghana pneumococcal dataset in which the Abura community MST contained 36 sequence-type categories.

All 36 categories were assigned unique node shape-and-border-pattern combinations while preserving Core SNP cluster fill colours and exact sequence-type values in node tooltips.

Current upper bound

The visual encoding supports up to 44 unique sequence-type categories using 11 node shapes combined with four border-pattern variants.

Datasets exceeding 44 categories remain subject to a clear rendering error in this patch release. A non-fatal overflow strategy is planned for a subsequent feature release.

Notes

If you use this software, please cite it as below.

Files

stanikae/snp2cluster-py-v1.1.1.zip

Files (2.2 MB)

Name Size
md5:5fd6b02648b4d2a84c935a5a45efa951
2.2 MB Preview Download

Additional details

Related works