Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Drift and genetic diversity

Why does neutral variation disappear faster in a small population?

In a diploid population, an allele at frequency pp occupies some of the 2N2N copies of a locus. Each generation draws a new set of copies. Even if the allele has no fitness effect, its frequency changes by chance.

The essential distinction is between the mean frequency across many populations and the variation among those populations. Neutral drift leaves the mean unchanged but spreads the frequencies apart. At the boundaries, an allele is either lost or fixed.

A small model

Let Kt+1K_{t+1} be the number of copies of the allele in the next generation. The Wright–Fisher model says

Kt+1∣pt∼Binomial⁡(2N,pt),pt+1=Kt+1/(2N).K_{t+1}\mid p_t \sim \operatorname{Binomial}(2N,p_t), \qquad p_{t+1}=K_{t+1}/(2N).

Thus E[pt+1∣pt]=ptE[p_{t+1}\mid p_t]=p_t, while Var⁡(pt+1∣pt)=pt(1−pt)/(2N)\operatorname{Var}(p_{t+1}\mid p_t)=p_t(1-p_t)/(2N). The same sampling step produces larger fluctuations when NN is smaller.

For two randomly drawn copies, expected heterozygosity is Ht=2pt(1−pt)H_t=2p_t(1-p_t). Without mutation or migration, its mean across populations falls by a factor 1−1/(2N)1-1/(2N) each generation. We should see nearly the same mean allele frequency in small and large populations, but a faster loss of diversity in small populations.

Follow the same allele in many populations

Each column below is an independent population that starts at p0=0.5p_0=0.5. The only difference is population size.

The thin lines show individual small populations. The right panel averages heterozygosity across all 300 populations of each size. The dashed curves are the model’s prediction, not a fit to the simulations.

plot without title

The mean allele frequency can stay near 0.5 even after many individual populations have moved far from it. Heterozygosity tells us what happens within a population; the mean frequency alone does not.

The exact decline factor also provides a check on the code. Sampling variation means that 300 simulated populations need not land exactly on the dashed curves.

Loading...

What to remember

Finite sampling changes neutral allele frequencies. Smaller NN makes each step noisier, so diversity is lost faster. This is the forward-time view of drift; looking backward at sampled copies leads to coalescence.

Sources. Pritchard, An Owner’s Guide to the Human Genome, Section 2.1, especially Fig. 2.9; Gorroochurn, Population Genetics Notes, Sections 8.2–8.5. The simulation here is a small original illustration of their Wright–Fisher model (seed 8149; N=20N=20 or 200; 300 populations; 60 generations). It is not a transcription of book code.