Genetic Drift

High schoolBiologySeeded Wright-Fisher drift by sampling diploid gene copies with replacement

Unlock this lab with a pass

A pass opens every simulation on the site, including Present mode for class. The teaching notes below stay free for everyone.

One-time payment, no subscription.

About this experiment

Build an offspring generation one gene copy at a time. Compare eight reproducible populations and investigate how breeding size affects random fixation and loss without adding any fitness advantage.

Learning goals

  • Distinguish random genetic drift from viability selection.
  • Relate diploid population size to the number of sampled gene copies.
  • Recognize fixation and loss as absorbing states without mutation or migration.

How to use it

  1. 1Draw one gene copy and inspect the partial offspring container.
  2. 2Complete the next generation and compare its frequency with the parent.
  3. 3Run several generations and compare all eight replicate curves.
  4. 4Repeat with a smaller breeding population and a new sampling seed.

The model

Every offspring gene copy is an independent parental-pool draw.
One-generation frequency variance increases as breeding size decreases.

Assumptions

  • Each discrete generation contains N diploid organisms represented by 2N gene copies. Offspring copies are independent draws with replacement from the parent frequency.
  • There is no selection, mutation or migration. Frequencies of zero and one remain fixed.
  • The starting A count is the nearest integer to target frequency times 2N. Readouts report the actual initial frequency after rounding.
  • Partial offspring draws are visible but do not update the completed-generation frequency until all 2N copies are sampled.
  • Each replicate uses a different deterministic seed. The same settings, seed and replicate reproduce exactly the same sequence. Beads are symbolic gene copies, not spatial organisms.

Try this in class

  1. Q1Why does removing a sampled parental bead give the wrong model?
  2. Q2Can one replicate increase while another decreases with identical initial settings?

Frequently asked questions

Why is the initial frequency sometimes different from the target?

A finite population has an integer number of A copies. Rounding to the nearest available count produces the reported actual frequency.

Why does the completed frequency stay unchanged during partial sampling?

The next generation is not complete until all 2N offspring gene copies have been drawn.