-
Notifications
You must be signed in to change notification settings - Fork 92
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
Demographic model recombination rate #1591
Demographic model recombination rate #1591
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1591 +/- ##
=======================================
Coverage 99.81% 99.81%
=======================================
Files 130 130
Lines 4354 4376 +22
Branches 597 603 +6
=======================================
+ Hits 4346 4368 +22
Misses 3 3
Partials 5 5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Sorry for not noticing this so far, @gregorgorjanc , and thanks for getting this in! Having a look now. |
Dang, this is a big one, @gregorgorjanc! I had a careful read through and only saw a few very minor fixes. Also of note here - clarifying terminology around "genetic map" and "recombination map"; where now it's said that "genetic map" = crossovers, while "recombination map" = crossovers and optionally GC events also. |
Looks like the only thing that isn't covered by tests is in the CLI? So, just needs something to |
So, this looks good to go, once that CLI test thing is figured out - are you able to do that, @gregorgorjanc? |
@petrelharp thanks for the review. I accepted all your suggested edits. Will look into tests. |
assert not (citation.doi in out) | ||
assert not (citation.author in err) | ||
assert not (citation.doi in err) | ||
assert not (citation.author in log_output) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In figuring out how this works, I discovered we weren't doing what we wanted in this test.
We should be hitting that test for reals now! |
Okay: pre-commit is failing, you updated the
So, I'm going to keep the changes to pre-commit; merge this; and deal with pre-commit and the failing macOS CI in a different PR. |
… model Clarifying minimal no of samples Document the assembly_name and accession Document genetic_map attribute in Contig class Clarifying genetic map and recombination map Add an option to set recombination rate in demographic model Update BosTau/demographic_models.py: HolsteinFriesian_1M13 individual
8c788ec
to
feee774
Compare
@petrelharp thanks for the help here - yeah, I had to tinker with pre-commit as part of testing ..., which made a mess. Sorry. Thanks for the review and merging this in! |
Here is implementation for #1225.
I get almost all tests passing on my end:
np.NINF
to-np.inf
(new numpy)TestRegisterQCDFE.test_register_qc
seems to have deep recursion, but that is not due to my changes (I think)