HomeMolecular BiologyMolecular Evolution: dN/dS Substitution Simulator

Molecular Evolution: dN/dS Substitution Simulator

Interactive 3D simulator of molecular evolution at the codon level: watch synonymous and nonsynonymous mutations arise and fix along a gene under purifying, neutral, or positive selection, with live dN/dS (Nei-Gojobori) readouts.

Molecular Biology3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
molecular-evolution ↗ Open standalone

This simulator visualises molecular evolution at the level it actually happens: single-nucleotide substitutions inside codons, competing under natural selection. A gene of adjustable length is rendered as a 3D ribbon of codon triplets; each tick, random point mutations are proposed, classified as synonymous or nonsynonymous against the standard genetic code, and accepted or rejected with a probability set by your chosen selection regime (ω). Live dN, dS and dN/dS statistics — computed with the classic Nei-Gojobori site-counting method — let you watch purifying selection suppress protein change, neutral drift treat both mutation classes equally, or positive selection drive amino-acid turnover faster than silent change, the same signature biologists use to detect selection in real sequence data.

⚙ Under the hood

Watch synonymous and nonsynonymous mutations arise and fix along a 3D codon ribbon under purifying, neutral, or positive selection, with live dN/dS statistics computed by the Nei-Gojobori method.

molecular evolutiondN/dSnatural selectioncodongenetic codepopulation genetics

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)