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

A more compact and useful representation for unphased data #13

Merged
merged 2 commits into from
Dec 10, 2024
Merged

Conversation

dcdehaas
Copy link
Member

@dcdehaas dcdehaas commented Dec 9, 2024

For unphased data, each variant stores the number of copies that it represents (1...ploidy). E.g., for diploid data you'll have potentially two copies of each variant, one with num_copies=1 and one with num_copies=2 (homozygotes).

Included is an example that shows how to calculate ROH from this format.

For unphased data, each variant stores the number of copies that it
represents (1...ploidy). E.g., for diploid data you'll have potentially
two copies of each variant, one with num_copies=1 and one with
num_copies=2 (homozygotes).

Included is an example that shows how to calculate ROH from this
format.
@dcdehaas dcdehaas merged commit 2342527 into main Dec 10, 2024
5 checks passed
@dcdehaas dcdehaas deleted the unphased branch December 10, 2024 16:33
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