Genome cartography: PCA, MDS and t-SNE for pathogens
Short answer
Why use t-SNE or MDS on pathogen genomes? Reduced-dimension embeddings place genomes on a two-dimensional map so that genetically similar sequences sit close together. They are fast, need no tree, and reveal clusters, outliers and reassortment between gene segments; t-SNE preserves local neighbourhoods best, while PCA and classical MDS preserve global distances.
The workflow
Compute a pairwise genetic distance matrix from an alignment, embed it with PCA, MDS, t-SNE or UMAP, then cluster the embedding, for example with HDBSCAN. Summing distance matrices from several segments highlights reassortants that fall between clusters.
Checking fidelity
Plotting Euclidean distance in the embedding against genetic distance shows how faithfully the map preserves relationships. A tight linear relationship lets you translate a cluster threshold in map units back into a number of nucleotide differences.
By Amit Suresh · Updated 2026-10-29 · Research and education only.