Genetic drift lets a neutral gene take over a finite population
Sandbox Physics ·
Fifty bacteria share a flask. All are equally fit, and one carries a harmless mutation. Every generation the flask is refilled to fifty by copying cells picked at random. Nobody is better than anybody else, yet after about a hundred generations every cell carries the same version of the gene. Random sampling alone does this, and the size of the population sets how fast.
Take N individuals, each carrying one copy of a gene in one of two versions, called alleles: the mutant A or the original a. Let i be the number of A individuals and p=i/N their frequency. Time is counted in generations, and parents die when their children are born.
To build the next generation, each of its N members picks a parent at random from the current one, with every parent equally likely, and copies its allele. The picks are independent. The number of A children is then a binomial count: N trials, each a success with probability p. This is the Wright–Fisher model.
Nothing in the rule favours either allele. Every change in frequency comes from the luck of the draw, and population geneticists call it genetic drift.
P(it+1=j∣it=i)=(jN)pj(1−p)N−j,p=Ni
The chance of j mutant children when the parents hold i mutants.
A binomial count with N trials has mean Np and variance Np(1−p). Dividing by N gives the frequency in the next generation:
The mean does not move. Each generation adds a random step whose typical size is p(1−p)/N, and the steps add up like a random walk. The walk ends when the frequency reaches 0 or 1, because a population with no copy of an allele can never draw one again. The allele is then lost or fixed.
Now average over many populations that start at the same p0. The average frequency is the same in every generation, so at the end it still equals p0. At the end each population sits at 0 or 1, and the average is the fraction that reached 1. A neutral allele therefore fixes with probability u(p0)=p0.
E[pt+1∣pt]=pt,Var[pt+1∣pt]=Npt(1−pt)
Drift has no direction. Its strength falls as the population grows.
Heterozygosity: the chance that two individuals differ
To follow diversity, draw two individuals at random, with replacement. They carry different alleles with probability H=2p(1−p), called the heterozygosity. It is largest at p=1/2 and zero once one allele has fixed.
Average H over the next draw. The mean square of the new frequency is the square of its mean plus its variance, E[pt+12]=pt2+pt(1−pt)/N. Substituting gives a one-line recursion:
Each generation removes a fraction 1/N of the expected diversity. A population of 50 keeps about e−1≈0.37 of it after 50 generations. A population ten times larger needs ten times as long.
Problem. A population of N=50 starts with one neutral mutant. How likely is the mutant to fix, how long does fixation take when it happens, and how much diversity is left after 50 generations?
Fixation. The starting frequency is p0=1/50=0.02, so u=0.02. In 49 populations out of 50 the mutant disappears.
Time. For large N the frequency behaves like a diffusion, and one unit of diffusion time equals N Wright–Fisher generations. The mean time to fixation, counted only in populations where the mutant fixes, is then given by the formula below. At p=0.02 it gives 99.0 generations. Solving the finite Wright–Fisher chain exactly gives 96.97 generations; the diffusion formula is a few per cent high because it treats N as large.
Diversity. H0=2×0.02×0.98=0.0392, and after 50 generations H50=0.0392×0.9850=0.0143.
Check. The drift Lab runs this case as 12000 seeded replicate populations. The mutant fixed in a fraction 0.0212±0.0013 of them, within one standard error of 0.02, and the populations where it fixed took 96.2±3.4 generations.
tˉfix(p)≈−p2N(1−p)ln(1−p)
Mean generations to fixation, given that the allele fixes, from the diffusion limit of the neutral model.
Choose the preset One neutral newcomer. Before the batch finishes, predict what fraction of the replicate populations will end with the mutant fixed.
Switch to Half and half: a coin flip and predict again. Then compare both measured fractions with the exact values shown beside them.
Double the population size and keep the starting frequency. Predict how the mean time to fixation changes, run it, and explain the result with the variance per generation.
Exercises with explained answers
A neutral allele has frequency 0.25 in a population of 20. What is the chance that it fixes? Does the answer change for a population of 2000?
Show the answer
It fixes with probability 0.25 in both. The expected frequency never changes, and at the end it is 0 or 1, so the fraction of populations that fix equals 0.25. Population size changes how long it takes, not the odds.
How many generations does a population of N=100 need to lose half of its expected heterozygosity?
Show the answer
Solve (1−1/100)t=1/2, which gives t=ln2/ln(100/99)≈69 generations. The shortcut t≈Nln2=69.3 agrees to within one generation.
In one run, a mutant rises from 0.02 to 0.4 in thirty generations. Does that show the mutant is favoured?
Show the answer
No. A neutral allele that ends up fixed must climb through every frequency on the way, and about one population in 50 does so by luck. One trajectory cannot separate luck from advantage. The fraction of many replicate populations that fix can, because selection moves it away from the starting frequency.
Version 2, full text. Section II, Population genetics in well-mixed populations: genetic drift as random sampling of a finite population, the heterozygosity as the chance that two sampled individuals differ, and its loss with time.
Version 1, full text. Section 2.1.1: the Kingman coalescent, in which each pair of lineages merges at rate one. Theorem 2.3: the Moran genealogy becomes this coalescent after rescaling time. Theorem 2.4: the Wright-Fisher genealogy does too when time is measured in units of N generations. Theorem 2.8, Eqs. (36)-(38): a neutral allele fixes with probability equal to its frequency, with the diffusion formula for the mean absorption time; the formula after it gives the time conditioned on fixation.
Keep reading
What this page links to directly
You are hereGenetic drift lets a neutral gene take over a finite population