-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Change win.ia algorithm #181
Merged
Conversation
This file contains 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
This further addresses #179 This "works" at the moment, but tests do not pass, but since I'm going to change the logic for how chromosome boundaries are set up, I will need to most likely rewrite the tests.
This addresses #179
This addresses #179 [skip ci] The current tests will not pass.
This addresses #179 [skip ci]
This PR has been approved in #179 and will be merged. |
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.
The windows will now always start at position one on any given chromosome.
This will result in some windows at the beginning of chromosomes having a
value of
NA
if the first variant starts beyond the first window.Windows are now calculated for each chromosome independently. The previous
version first concatenated chromosomes with at least a window-sized gap
between the chromosomes, but failed to ensure that the window always started
at the beginning of the chromosome.
(see Error using win.ia function in poppr #179).
Additionally, a penalty for users who don't define repeat lengths for Bruvo's distance is included.