Skip to content

Interference between a sweeping allele that propagates as a wave and an allele who is in the branching regime

Notifications You must be signed in to change notification settings

weissmanlab/two-alleles-branching-regime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

two-alleles-branching-regime

Interference between a sweeping allele that propagates as a wave and an allele who is in the branching regime

input:

trials-number of trials to run the simulation, chi - the distance of the focal allele from the sweeping allele, wrap - boolean, if wrap=1 then the system is on a ring else it is has 'walls' on both sides, tappear - the time the focal allele appears at; prior to that time the sweeping allele is the only mutation, N - number of agents in a deme, L - size of the system (measured in demes), s2 - the fitness of the focal allele, r - recombination rate, outfile - name of the output file

output:

a file where each row is total number of wildtype, sweeping allele and focal allele. Recorded every 20 generations. When simulation is done writes if the focal allele fixed or went extinct.

comments:

Needs gsl random libary to run. The initial distance between the alleles is defined as the distnace between the focal allele and the point on the wave where the occupancy is half the population in the deme.

About

Interference between a sweeping allele that propagates as a wave and an allele who is in the branching regime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%