Refactor handling of virtual contigs#489
Merged
alimanfoo merged 10 commits intomalariagen:masterfrom Dec 20, 2023
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #489 +/- ##
==========================================
+ Coverage 98.42% 98.49% +0.07%
==========================================
Files 30 30
Lines 2408 2520 +112
==========================================
+ Hits 2370 2482 +112
Misses 38 38 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Towards #366, refactor handling of virtual contigs.
The main benefit here is that it allows testing using simulated data.
Also configuration of virtual contigs is more flexible, a virtual contig can be made of any number and combination of reference genome contigs.
Also here a
haplotype_sites()function is surfaced in the public API - it's required internally within G123 but moving to public API as could be generally useful.