Repository navigation
Ibd avl tree - #1659
Merged
Merged
Ibd avl tree#1659
Conversation
Member
|
This is awesome! |
Merged
jeromekelleher
force-pushed
the
ibd_avl_tree
branch
from
September 6, 2021 17:32
25adbf0 to
9118ddd
Compare
Member
Author
jeromekelleher
force-pushed
the
ibd_avl_tree
branch
from
September 6, 2021 17:43
9118ddd to
8e5db0f
Compare
Codecov Report
@@ Coverage Diff @@
## main #1659 +/- ##
==========================================
+ Coverage 93.66% 93.68% +0.01%
==========================================
Files 27 27
Lines 23511 23482 -29
Branches 1084 1084
==========================================
- Hits 22022 21999 -23
+ Misses 1455 1449 -6
Partials 34 34
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
benjeffery
approved these changes
Sep 7, 2021
benjeffery
left a comment
Member
There was a problem hiding this comment.
LGTM, one question about future proofing.
This preserves the current semantics where we compute for a specific set of sample pairs.
jeromekelleher
force-pushed
the
ibd_avl_tree
branch
from
September 7, 2021 13:27
8e5db0f to
834772f
Compare
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.
This converts the IBD result object to use an AVL tree internally for storage instead of a lookup matrix. We're not changing the semantics of the object yet so that we can store segments for arbitrary sample pairs, this is just the minimal changes required to change the backend.
I'll follow up with more PRs for how we can change the semantics later, probably good to get this squared away first so that we can keep the diffs smaller.
Stacked on #1655 and #1637