-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding DFE for Arabidopsis #1324
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1324 +/- ##
=======================================
Coverage 99.67% 99.67%
=======================================
Files 112 113 +1
Lines 3682 3697 +15
Branches 475 475
=======================================
+ Hits 3670 3685 +15
Misses 8 8
Partials 4 4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
One thing (and the reason codecov is complaining): you need also to put
in |
And: this DFE is estimated without dominance? edit: Ah, I see from your comments that it is. |
Is this right, or was it not clear from the paper? |
Yes, good - that is how you specify deleterious |
I am pretty sure this is right. In the supp mat table with the gamma parameters I used, it does not list any proportion neutral. And the main text makes it seem to me that neutral mutations were not included in most DFEs estimates. |
Doh. I must have gotten tired of waiting for the codecov to finish and I forgot to come back to this. |
What does the comment "noqa ..." mean/do? |
This tells
Means that flake8 won't produce the "imported but not used" error. The import may have desirable side effects, but flake8 doesn't know about this and just sees that the variable |
Got it! Thanks |
Awesome, thanks! I"ll merge this; could you open a QC issue for it, @chriscrsmith? |
QC issue #1344 |
Addressing #1321
Using estimated gamma shape and mean from https://doi.org/10.1038/s41467-018-05281-7. This study estimates dominance in addition to the DFE, however I think we decided to roll with the additive-only model because it is easier to implement.
Note that I plugged in [0, 1.0] for the proportions of neutral and selected loci.
Also I put a minus sign on the gamma mean which seems to be convention.