Selection - Mutation - Drift
About this simulationAbout the model
Many details about the worms and the model are the same as they are for the Drift and Mutation simulations.
How it works
The simulation begins with a population of genetically identical driftworms. Each generation, new mutations are introduced. Mutations now affect fitness. So mutants can have a reproductive advantage or disadvantage, depending on your chosen value of s, the selection coefficient. Each generation, some of the worms reproduce asexually. Which worms reproduce is determined partly by chance (drift) and partly by natural selection.
First we assign a selection coefficient, s, to the mutations. In this model all mutations have the same selection value (this helps us illustrate selection but never happens in nature). The value of s can range from -1 to 1.
The absolute fitness of a worm is determined by the number of mutations it carries and the effect of each mutation (= s).
To calculate absolute fitness, start with 1, the fitness of a worm with no mutations. Each mutation will increase or reduce fitness by the amount s (the selection coefficient). So count the number of mutations and multiply by s, add this number to 1. Below, we start with the case of detrimental mutations.
Note: This is an additive model. As mutations accumulate, so do their effects on fitness. The effect of each mutation on fitness is the same, regardless whether it's the first mutation on a gene or the tenth.
The relative fitness of a worm is calculated by dividing the absolute fitness of that worm by the absolute fitness of the worm with the highest absolute fitness. Below, we continue looking at a case of detrimental mutations.
Now worms are selected to reproduce. To select a worm, the computer generates a random number between 0 and N (1, 2, or 3 for the population above). Then the computer generates a random number between 0 and 1. If the random number is less than the relative fitness of the selected worm then that worm produces. The computer selects another potential parent until N worms have been produced.
Review of Drift and Mutation techniques
[change this ...]
Mutation is simulated by introducing single base substitutions into the population. The probability that a base will change to another is the mutation rate (m) between 0 and 1, which is set by you.
The following is repeated each generation. For each of the 10 bases in each worm, the computer draws a random number between 0 and 1 (that's 10xN random numbers each generation). Each random number is compared to the mutation rate (m). If the random number is smaller than m, then that base changes to one of the other three bases which is chosen randomly.
For example, on the right, the computer drew random numbers. When m is greater than the random number (m>#), a mutation results. ... [graphic]
[the mutations do not affect the phenotype]
The University of Arizona
April 27, 1999
Contact the Development Team