Skip to main content
The numbers in your session might differ from this picture and from the summary in Reference analysis.

Prompt

Copy the prompt and paste it into a new session in Claude Science. By default, Claude asks with a permission card before it runs code or installs packages.
Prompt

Reference analysis

107 simulated bottles of 16 fruit flies drift by chance alone: on average 25 lose or fix an allele in 19 generations (27 in the run pictured), but in Peter Buri’s real bottles (1956) the count reached 58. A breeding population of about 9 gives 57, in line with Buri’s own estimate (2Ne = 17.86): the textbook lesson of effective population size. Along the way the 107 frequencies, counted at generations 1, 5, 10, and 19, drain from the middle third into the outer thirds and from there into the 2 ends, 0 and 1, which no bottle leaves.

Data

This example doesn’t download any data. Reference: Buri P., ‘Gene frequency in small populations of mutant Drosophila’, Evolution 10:367–402 (1956)