Coalescent Genealogy: Kingman Waiting Times, Watterson Estimator and Tajima D from a Random Sample
Trace the ancestry of a sample of DNA sequences back in time until they all merge into one common ancestor. Each lineage waits an exponential time to coalesce, mutations fall along the branches, and from the sample you read the number of segregating sites, the Watterson estimate of the mutation parameter, nucleotide diversity and Tajima D. A Blender-built row of chromosomes and a growing gene tree, with numerical checks against exact coalescent theory.
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.
Trace the ancestry of a sample of DNA sequences back in time until they all merge into one common ancestor. Each lineage waits an exponential time to coalesce, mutations fall along the branches, and from the sample you read the number of segregating sites, the Watterson estimate of the mutation parameter, nucleotide diversity and Tajima D. A Blender-built row of chromosomes and a growing gene tree, with numerical checks against exact coalescent theory.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install