This page is devoted to simple examples that demonstrates the classical population genetics models.

  • GeneticDrift Changes of allele frequency due to genetic drift.
  • DecayOfLD Decay of Linkage disequilibrium due to recombination.
  • MutationSelectionEquilibrium Allele frequency changes due to directional mutation
  • NumOfAncestors Count the number of ancestors to a DNA sequence
  • HWE This program demonstrate the Hardy-weinberg equilibrium when the allele frequencies in females and males are different.
  • Migration Changes of allele frequencies among subpopulations due to migration
  • PopStructure This script simulates three subpopulations that become more and more genetically distinct during evolution. Population structure is estimated using two popular statistics.
  • SelectiveSweep Amplification (or reduction) of variation in nucleotides in neighboring DNA because of natural selection.