What happens to genetic diversity after a mass die-off?
Run the experiment on this page ↓
Short answer (general ecology)
When a population is cut to a few individuals, some genetic variants are lost simply by chance, and rare variants are lost most easily. Numbers can recover within generations, but a lost variant does not come back unless mutation or migration brings it in again. This is called a population bottleneck.
What you can do here
Compare two populations that carry 8 variants of a marker with no effect on survival or reproduction. In one world, all but 8 individuals are removed at random at a set time. Follow how many variants remain, and repeat the run to see that different variants survive each time.
Limit
This is an abstract educational model. It does not forecast what would happen in any real ecosystem.
Run the experiment
- Predict
- Watch one run
- Compare 5 runs
- Read the result
At the end of the run, how many marker variants do you think B will have compared with A?
You can start without choosing. Your choice is not sent anywhere.
Watch one run
tick 0 / 0Preparing the world…
A: nothing changed
B: all but 8 removed at random
| A | B | |
|---|---|---|
| Herbivores | ||
| Grass | ||
| Marker variants |
Keyboard, while the focus is in this panel: Space plays and pauses, → advances one step, R restarts, 1 and 2 show A and B.
Selected individual
Click or tap an individual in either world to see its values here. The button under each world selects one without a pointer.
What the shapes and colours mean
Body colour and pattern = neutral marker (8 variants)
A marker has no effect on survival or reproduction. It is passed unchanged from parent to offspring. To make the variants easy to tell apart, each pattern also has its own body colour (the same colour as its band in the charts).
Ground colour = amount of grass
The amount of grass is shown in three steps: the colour of soil where there is almost none, light green where there is grass, and deeper green where it is thick.
Dullness and thinness = reserves
As reserves run low, the body turns duller and thinner. An individual whose reserves run out dies.
Size = growth
Newborn individuals are drawn small and grow to adult size.
Compare repeated runs
One run can differ from the next by chance. The same comparison is repeated with different random seeds to see how consistent the difference is.
Try it: change a condition and compare again
Write down what you expect first. The random seeds stay the same, so a difference from the standard result comes from the setting you changed.
How many are left, chosen at random, at the mass die-off. Standard: 8. Range: 2 to 400.
Saved results
Results are stored only inside this browser and are never sent to a server. What is stored is the settings, the random seeds and the summary numbers for each replicate; the tick-by-tick record is not stored, because the same settings always reproduce the same result. Up to 50 results are kept across all experiments and the free lab, and the oldest are removed beyond that. They do not carry over to another browser or device: use a share link to move one. Deleting cannot be undone.
Move saved items to another browser
Everything saved here (all experiments and the free lab) can be written to one file. Load that file in another browser or device and the same items are listed there. Loaded results use the numbers in the file as they are; run the settings again if you want to check them. The file stays on your device and is not sent anywhere.
Reference result (20 replicates)
These values were computed in advance with the same engine that runs in your browser. Running the same settings and seeds yourself gives exactly the same numbers.
A and B compared
| Measure | Result |
|---|---|
| Marker variants remaining (just after the intervention) | B was lower in all 20 replicates (median A 8, B 5). |
| Marker variants remaining (at the end) | B was lower in 19 of 20 replicates (median A 8, B 5). The remaining 1 went the other way or were equal. |
| Gene diversity H (at the end) | B was lower in 17 of 20 replicates (median A 0.80, B 0.72). The remaining 3 went the other way or were equal. |
| Herbivore count (mean over the observation window) | The replicates disagreed (B higher in 10, lower in 10, equal in 0; median A 590, B 591). With these settings and this many replicates, no clear difference can be claimed. |
Observed What was measured in these runs.Reading How the measurements can be read, given the rules of this model.
- ObservedIn 20 of 20 replicates, fewer marker variants remained just after the die-off than in A. In B, a median of 3 of the 8 variants were lost (1–5 depending on the replicate).
- ObservedAcross the 20 replicates, 18 different combinations of variants remained. Even starting from the same population, what remains differs from replicate to replicate.
- ReadingThe marker in this model affects neither survival nor reproduction. Which variants remain differs between replicates because it is decided by chance, not by selection.
- ObservedIn 20 of 20 replicates, the count in B came back to at least 90% of A, but the number of marker variants stayed below what it was before the intervention.
- ObservedEven in A, without a die-off, gene diversity H fell in 20 of 20 replicates (median 0.84 at the intervention, 0.80 at the end).
- ReadingThe marker in this model is not under selection and does not mutate. Diversity fell in A because of chance fluctuations in a population of limited size (genetic drift).
- ObservedOf the 55 variant losses just after the die-off (summed over replicates), 40 (73%) were variants in the less frequent half before the intervention.
Engine version 0.1.0, 20 replicate(s) with seed(s) 101–120. Observation window: ticks 1,400–2,400. These are observations from this model with these settings, not predictions about real ecosystems.
Charts
Show as a table
| Tick | A median | A range | B median | B range |
|---|---|---|---|---|
| 0 | 8 | 8–8 | 8 | 8–8 |
| 300 | 8 | 8–8 | 8 | 8–8 |
| 348 | 8 | 8–8 | 5 | 3–7 |
| 396 | 8 | 8–8 | 5 | 3–7 |
| 504 | 8 | 8–8 | 5 | 3–7 |
| 600 | 8 | 8–8 | 5 | 3–7 |
| 900 | 8 | 8–8 | 5 | 3–7 |
| 1,200 | 8 | 8–8 | 5 | 3–7 |
| 1,500 | 8 | 8–8 | 5 | 3–7 |
| 1,800 | 8 | 7–8 | 5 | 3–7 |
| 2,100 | 8 | 6–8 | 5 | 3–7 |
| 2,400 | 8 | 6–8 | 5 | 3–7 |
Show as a table
| Tick | A median | A range | B median | B range |
|---|---|---|---|---|
| 0 | 0.85 | 0.85–0.85 | 0.85 | 0.85–0.85 |
| 300 | 0.84 | 0.84–0.84 | 0.84 | 0.84–0.84 |
| 348 | 0.84 | 0.84–0.85 | 0.77 | 0.60–0.85 |
| 396 | 0.84 | 0.84–0.85 | 0.77 | 0.61–0.86 |
| 504 | 0.84 | 0.83–0.85 | 0.76 | 0.61–0.85 |
| 600 | 0.84 | 0.82–0.85 | 0.76 | 0.59–0.85 |
| 900 | 0.84 | 0.79–0.85 | 0.75 | 0.57–0.85 |
| 1,200 | 0.83 | 0.75–0.86 | 0.75 | 0.57–0.84 |
| 1,500 | 0.82 | 0.75–0.86 | 0.73 | 0.57–0.83 |
| 1,800 | 0.81 | 0.75–0.85 | 0.72 | 0.57–0.82 |
| 2,100 | 0.81 | 0.75–0.85 | 0.72 | 0.56–0.82 |
| 2,400 | 0.80 | 0.75–0.84 | 0.72 | 0.58–0.82 |
Show as a table
| Tick | A median | A range | B median | B range |
|---|---|---|---|---|
| 0 | 269 | 269–269 | 269 | 269–269 |
| 300 | 534 | 534–534 | 534 | 534–534 |
| 348 | 616 | 593–634 | 14 | 11–17 |
| 396 | 654 | 606–695 | 28 | 22–33 |
| 504 | 586 | 511–642 | 127 | 103–141 |
| 600 | 574 | 508–618 | 480 | 404–528 |
| 900 | 592 | 546–626 | 599 | 537–632 |
| 1,200 | 590 | 523–635 | 590 | 544–634 |
| 1,500 | 594 | 562–619 | 587 | 552–645 |
| 1,800 | 604 | 559–687 | 597 | 537–636 |
| 2,100 | 593 | 542–660 | 571 | 538–636 |
| 2,400 | 600 | 518–642 | 584 | 511–680 |
Share of each pattern, replicate by replicate
Each band is one pattern, and its height is the share of herbivores that carry it. The dotted line marks the intervention. Compare which patterns are left in each replicate. The first 5 of the 20 replicates are shown.
Printed from https://ecosimarium.com/experiments/genetic-bottleneck/