🧬 Can Selection Purge a Genetic Disease? Hardy-Weinberg and Mutation-Selection Balance

Presets

Controls

Readouts

What you see

Left: 600 people in generation g. Green are non-carriers (AA), amber are healthy carriers (Aa), red are affected (aa). Right (log scale): the frequency q of the harmful allele over 200 generations. Selection removes affected people quickly but carriers hide the allele, so the decline slows down; new mutations then hold q at an equilibrium near sqrt(mutation rate / selection).

Numerical check

The science

Hardy-Weinberg: with allele frequencies p = 1 - q and q the genotype frequencies are AA = p², Aa = 2pq, aa = q². If affected (aa) individuals have fitness 1 - s, the next generation has q' = q (1 - s q) / (1 - s q²), then new mutations A→a add μ(1 - q). For a lethal recessive (s = 1, μ = 0) the closed form is q_n = q0 / (1 + n q0), so halving q takes 1/q0 generations; the rarer the allele, the slower it disappears. At mutation-selection balance q̂ ≈ √(μ/s).

Simplifications: infinite random-mating population (no drift), single locus, no back-mutation, no inbreeding, constant selection; modern medicine lowers s for many conditions, which raises q̂. This shows why a population cannot be made "genetically perfect" by selection alone, and why screening and gene therapy act on individuals rather than on allele frequencies. Example frequencies (a recessive condition at about 1 in 2,500 births means q about 0.02) are only typical values.