Home▸Molecular Biology▸Coalescent Genealogy: Gene Tree, Mutations and Site Frequency Spectrum (2D)

Coalescent Genealogy: Gene Tree, Mutations and Site Frequency Spectrum (2D)

A random gene genealogy drawn back in time with its mutations, the waiting times between coalescent events and the site frequency spectrum. The same shared model as the 3D scene, with numerical checks.

Molecular Biology2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Coalescent Genealogy: Gene Tree, Mutations and Site Frequency Spectrum (2D) ↗ Open standalone

Start with two gene loci in perfect linkage disequilibrium and let recombination break the haplotypes apart, generation after generation. Change map distance, allele frequencies and population size to see D shrink as (1-r) per generation while genetic drift keeps a random residue of r-squared. A Blender-built chromosome population coloured by allele, with numerical checks of the linkage formulas.

⚙ Under the hood

A random gene genealogy drawn back in time with its mutations, the waiting times between coalescent events and the site frequency spectrum. The same shared model as the 3D scene, with numerical checks.

Coalescent TheoryGene GenealogyTajima DPopulation GeneticsGenomics

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)