Population Genetics: Drift · Selection · Mutation
Wright-Fisher Model — Allele Frequency Trajectories
Parameters
Population size N
100
Selection coeff. s
0.01
Mutation rate μ
0.001
Initial frequency p₀
0.1
Populations (lines)
10
Restart
Step 10 Generations
p' ~ Binomial(2N, p̃) / 2N
p̃ = p(1+s) / (1+sp) + μ(1-2p)
Wright-Fisher model: each generation, 2N allele copies drawn from a binomial with mean determined by selection and mutation. Genetic drift dominates when N is small.
Gen: 0 | Fixed: 0 | Lost: 0