Skip to content
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
merged 15 commits into from
May 2, 2018
Merged

Change win.ia algorithm #181

merged 15 commits into from
May 2, 2018

Conversation

zkamvar
Copy link
Member

@zkamvar zkamvar commented May 1, 2018

  1. 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.

  2. 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.

@zkamvar
Copy link
Member Author

zkamvar commented May 2, 2018

This PR has been approved in #179 and will be merged.

@zkamvar zkamvar merged commit f2a83e9 into master May 2, 2018
@zkamvar zkamvar deleted the positiion branch May 6, 2018 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant