Skip to content

Commit

Permalink
using homsap mu
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscrsmith committed Aug 14, 2023
1 parent 2296e68 commit a60b85b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions stdpopsim/catalog/HomSap/dfes.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,10 @@ def _KyriazisDFE():
# To get 0.63 deleterious mutations per 30Mb diploid coding sequence using
# mu from catalog, we need a deleterious proportion of:
proportion_deleterious = 0.63 / (3e7 * _species.genome.mean_mutation_rate * 2)


# Next, 0.03% of deleterious are lethals:
gamma_prop = 0.8139535 * 0.997
lethal_prop = 0.8139535 * 0.003
gamma_prop = proportion_deleterious * 0.997
lethal_prop = proportion_deleterious * 0.003
neutral_prop = 1 - gamma_prop - lethal_prop

# To get 0.63 deleterious mutations per 30Mb diploid coding sequence with
Expand Down

0 comments on commit a60b85b

Please sign in to comment.