Week 11 - L2 - Wright-Fisher Simulation of Genetic Drift and Population Size Effects

Experimental Aim and Theoretical Principles

  • Primary Objective: To evaluate the effect of varying population sizes on the stochastic spread, fixation, and loss of a neutral allele over time.

  • Wright-Fisher Model of Genetic Drift:

    • The experiment utilizes computer simulations based on the Wright-Fisher model (referred to in the simulator context as a Wright-Fisher / right fissure population).

    • The core biological mechanism modeled is genetic drift occurring via sampling with replacement from generation to generation.

    • Allele frequencies over discrete generations behave mathematically as a random walk between boundaries.

  • Absorbing Boundaries:

    • Fixation: The neutral allele reaches a frequency of 1.01.0 (all individuals in the population carry the allele).

    • Loss: The neutral allele reaches a frequency of 0.00.0 (the allele is entirely eliminated from the population).

Simulation Setup and Experimental Parameters

  • Simulation Platform:

    • Browser-based Wright-Fisher population simulator.

  • Initial Conditions and Inputs:

    • Starting Allele Frequency: Set to 0.50.5 across all experimental trials.

    • Population Size: Varied systematically across different experimental runs to test the effect of population magnitude.

    • Execution Control: Selecting the "evolve" function initializes and advances the population through successive generations.

Data Collection and Observational Framework

  • Tabular Data Recording:

    • Population Size: Specified for each set of experimental trials.

    • Outcome Score: Recorded for each individual trial by marking an "x" or scoring whether the neutral allele was "fixed" or "lost".

    • Generation Duration: Exact integer count of generations elapsed until an absorbing state (fixation or loss) is attained.

  • Core Analytical Research Questions:

    • For each designated population size, how frequently does the neutral allele reach fixation?

    • For each designated population size, how frequently is the neutral allele lost?

    • What is the mean or observed number of generations required to reach either fixation or loss as population size varies?

Benchmark Simulation Trial Run

  • Parameter Settings for the Benchmark Run:

    • Population Size: 100100

    • Starting Allele Frequency: 0.50.5

  • Observed Trajectory Dynamics:

    • The allele frequency graph exhibited a stochastic random walk across multiple generations.

    • The frequency fluctuated, initially trending upward toward fixation, experiencing drift fluctuations, and subsequently drifting back upward toward complete fixation.

  • Benchmark Trial Outcomes:

    • Final Allele State: Fixation (scored as 11 for fixed).

    • Time to Fixation: Exactly 7878 generations.