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

genoprob_to_snpprob() doesn’t work for DOF1 cross type for X chr #140

Closed
kbroman opened this issue Sep 27, 2019 · 2 comments
Closed

genoprob_to_snpprob() doesn’t work for DOF1 cross type for X chr #140

kbroman opened this issue Sep 27, 2019 · 2 comments
Labels

Comments

@kbroman
Copy link
Member

kbroman commented Sep 27, 2019

genoprob_to_snpprob() doesn’t work for DOF1 cross type for X chromosome. Currently it assumes that there are n choose 2 genotypes for females and n for males, but this is not tru for DOF1.

@kbroman kbroman added the bug label Sep 27, 2019
@kbroman
Copy link
Member Author

kbroman commented Sep 27, 2019

The easiest solution would be to just pool the female and male genotypes on the X chromosome. Females are homozyg/heterozyg and males are hemizygous, but in the end there are just 8 genotypes.

@kbroman
Copy link
Member Author

kbroman commented Sep 28, 2019

Converting the genotypes to allele dosages with genoprob_to_alleleprob() solves this problem. It doesn't do anything to the autosomes and for the X chromosome is simply place the male probabilities on top of those for females.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant