Genome mosaic
How closely are phages related to one another — and which genes do they share? Under a model by Hendrix et al., the genomes of double-stranded DNA phages are mosaics that reach a shared gene pool through horizontal exchange.[1] This tool makes that visible: as a relatedness map and as gene maps side by side.
Every calculation runs in your browser.
Add any phage from NCBI
Search by name or accession number. Sequence, genes and host are loaded live from NCBI[6] and appear at once in the map and the gene comparison — and in the spacer profile too.
Relatedness map
Each cell shows the Mash distance between two genomes — an estimate of their mutation distance from shared stretches of DNA.[2] Light means closely related. On the left: a tree built from these distances. Click a cell to compare the two phages below. Choose which phages go into the map — the classics, or phages of particular hosts.
Computing sketches …
How the tool calculates
- Sketches. From every genome, all DNA words of 16 letters (k-mers, both strands) are formed and hashed, and the 1000 smallest values make up the sketch — the method used by Mash.[2]
- Distance and tree. The proportion of shared values gives the Mash distance.[2] Few shared values can be chance — Mash tests this for significance[2], while this tool simplifies with a minimum of 3 shared values. The tree joins the nearest groups step by step (average linkage, UPGMA).
- Genes. The genes annotated at NCBI are translated into proteins and aligned locally in pairs.[3, 4, 5]
Limits
- DNA similarity only. Distantly related phages share almost no 16-letter words — their distance then sits at 1, even where their proteins are still related. The tree shows groups, not deep evolution.
- Mosaics do not fit into trees. Where phages exchange genes[1], a single tree cannot represent the whole history.
- Annotation from NCBI. Genes and products come from the database entries and are not predicted anew.
- Thresholds (30 % identity, 50 % coverage) are settings, not biological boundaries.
Sources
- Hendrix RW, Smith MC, Burns RN, Ford ME, Hatfull GF (1999): Evolutionary relationships among diverse bacteriophages and prophages: all the world's a phage. Proc Natl Acad Sci U S A 96(5):2192–2197. DOI ↗Supports: the model under which the genomes of double-stranded DNA phages are mosaics reaching a shared gene pool through horizontal exchange.
- Ondov BD, Treangen TJ, Melsted P, Mallonee AB, Bergman NH, Koren S, Phillippy AM (2016): Mash: fast genome and metagenome distance estimation using MinHash. Genome Biol 17(1):132. DOI ↗Supports: MinHash sketches and the mutation distance between genomes estimated from them (Mash distance).
- Smith TF, Waterman MS (1981): Identification of common molecular subsequences. J Mol Biol 147(1):195–197. DOI ↗Supports: the method for local alignment.
- Gotoh O (1982): An improved algorithm for matching biological sequences. J Mol Biol 162(3):705–708. DOI ↗Supports: alignment with affine gap costs.
- Henikoff S, Henikoff JG (1992): Amino acid substitution matrices from protein blocks. Proc Natl Acad Sci U S A 89(22):10915–10919. DOI ↗Supports: BLOSUM substitution matrices (BLOSUM62 here).
- National Center for Biotechnology Information: NCBI Nucleotide (E-utilities) and NCBI Virus (Datasets). Sequences, gene annotations and hosts; the classics retrieved on 12 November 2026, extended with phages of therapy-relevant pathogens on 16 November 2026 (complete RefSeq genomes, at most one representative per phage species by Mash distance > 0.05[2]), phages added live at the time of retrieval. ncbi.nlm.nih.gov ↗Supports: all sequences, genes and host specifications.