ability to handle sex chromosomes #79
Labels
enhancement
New feature or request
high priority
todo
This issue will be addressed in a future update
Is your feature request related to a problem? Please describe.
The problem is that pixy seems unable to handle sex chromosomes. For example, the X chromosome is homogametic and thus haploid in males. VCF files in which genotypes have been properly called and coded for the X will have haploid genotype calls for males and diploid calls for females. Such VCF inputs are not currently recognized by pixy. Likewise, the Y chromosome cannot be handled because it is haploid.
Describe the solution you'd like
The ability to calculate Fst, pi, and dxy for sex chromosomes containing a mixture of males and females. Currently the only work around I am aware of is to incorrectly calculate diploid genotypes for both males and females on the X and males on the Y which then results in incorrectly calculated Fst, pi, and dxy (though probably not biased in any way).
The text was updated successfully, but these errors were encountered: