Talk:Monte Carlo Club: Difference between revisions

From QiuLab
Jump to navigation Jump to search
imported>Lab
(Created page with "==Mar 18, 2017 "Wright-Fisher" (Due )== *Question: Try simulating Wright-Fisher model of genetic drift, as follows: 1. Begin with an allele frequency p=0.5, and a pop of...")
 
imported>Lab
Line 1: Line 1:
==Mar 18, 2017 "Wright-Fisher" (Due )==
==Mar 18, 2017 "Wright-Fisher" (Due )==
*Question: Try simulating Wright-Fisher model of genetic drift, as follows:
*Question: Try simulating Wright-Fisher model of genetic drift, as follows:
1.      Begin with an allele frequency p=0.5, and a pop of N=100 haploid individuals
# Begin with an allele frequency p=0.5, and a pop of N=100 haploid individuals
2.      Each individual produces 100 gametes, gives a total of 10,000 gametes
# Each individual produces 100 gametes, gives a total of 10,000 gametes
3.      Sample from the gamete pool another 100 to give rise to the next generation of individuals
# Sample from the gamete pool another 100 to give rise to the next generation of individuals
4.      Recalculate allele frequency
# Recalculate allele frequency
5.      Repeat for a total generation of g=1000 generations
# Repeat for a total generation of g=1000 generations
{| class="wikitable sortable mw-collapsible"
|- style="background-color:lightsteelblue;"
! scope="col" style="width: 300px;" | Submitted Codes
|- style="background-color:powderblue;"
|

Revision as of 21:09, 18 March 2017

Mar 18, 2017 "Wright-Fisher" (Due )

  • Question: Try simulating Wright-Fisher model of genetic drift, as follows:
  1. Begin with an allele frequency p=0.5, and a pop of N=100 haploid individuals
  2. Each individual produces 100 gametes, gives a total of 10,000 gametes
  3. Sample from the gamete pool another 100 to give rise to the next generation of individuals
  4. Recalculate allele frequency
  5. Repeat for a total generation of g=1000 generations
Submitted Codes