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
Alleles not equal on tsinfer verify, v 0.2.0 #490
Comments
Ah, it looks like these are monomorphic sites, right? Perhaps we forgot to test how those are handled in |
ugh, yep. Monomorphic sites. I am sorry that I missed that. |
No problem, we should handle this anyway. |
Here's a quick test case that current fails:
Giving:
|
The new msprime mutation model is also not guaranteed to give the non-ancestral alleles in the same order as input. I'm working on a fix. Edit - here's an example:
Currently giving:
|
@stsmall - if you have a moment could you check that the latest GitHub version of tsinfer now works with your files with the monomorphic sites? |
Hi,
I am working with the tsinfer version 0.2.0. When running verify, I get an error about alleles not being equal. I checked that all my sites have only 2 alleles and that the ancestral allele matches either the REF or ALT. I also removed all singletons, not sure if this was advised or not. I used this script (https://github.com/stsmall/Kiribina_Folonzo/blob/debug/vcf2tsinfer.py) which was a modification of the one in the tutorial. tsinfer ran to completion without error.
thanks for the help!
@stsmall
The text was updated successfully, but these errors were encountered: