mauriceling/dose

Genetic distance between no migration / no cross-cell mating

mauriceling opened this issue · 1 comments

  1. To demonstrate the workings of DOSE, we are going to use a scientific case study.
  2. Within a 5x5x1 cell eco-system (flatland), 1250 genetically identical (chromosome length = 50) individuals are evenly distributed. 50 individuals per cell.
  3. Mating can only occur within cell (use dose.filter_location function).
  4. No cross-cell travel/migration allowed.
  5. Monitor the 25 cells for 1000 generations.
  6. Report genetic status every 10 generations. Location reporting is required.

Created 03_no_migration_isolated_mating.py to cover this issue. (See commit: 0116fba)

  1. Mating scheme which is limited to its own cell produces two new organisms that is introduced as new children to the entire population. Each new organism is to inherit it's parent's location status, deme status and background mutation rate.
  2. Because the total population is increased, parents of the said children are then subjected to death (removed in the population) to maintain a constant population count of 50 organisms per eco_cell (1250 in the entire world).
  3. Reporting for every 10 generations includes the organism's genetic status (its chromosome) plus its location in the world (represented as (x,y,z)).
  4. Because of its large scale population count, each simulation should take about 15-20 minutes.
  5. Creation of this simulation lead to the discovery of a bug similar to Issue #14 which lead to updates inside genetic.py. (See commits: b5b500c abfd23a)