Skip to content

Commit

Permalink
Update stdpopsim/catalog/HomSap/dfes.py
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Ralph <[email protected]>
  • Loading branch information
chriscrsmith and petrelharp authored Aug 18, 2023
1 parent f3ddaa7 commit dd5b1a8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions stdpopsim/catalog/HomSap/dfes.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,10 @@ def _KyriazisDFE():
distribution_type="g", # gamma distribution
distribution_args=[gamma_mean, gamma_shape],
)
h = 0
s = -1
lethal = stdpopsim.MutationType(
distribution_type="f", # fixed value
distribution_args=[s],
dominance_coeff=h,
distribution_args=[-1], # fitness in SLiM for homozygotes is multiiplied by 1+ s
dominance_coeff=0,
)
proportion_deleterious = 0.7 # ratio 2.31:1
lethal_prop = proportion_deleterious * 0.003 # 0.03% lethals
Expand Down

0 comments on commit dd5b1a8

Please sign in to comment.