-
Notifications
You must be signed in to change notification settings - Fork 15
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
VariantQC fails with VCF including IUPAC ambiguous DNA bases #63
Comments
Output:
|
Thanks for reporting this. The failure is pretty low in HTSJDK (the library that parses/reads the VCF), but I will look into what's possible. |
Hi @bbimber , we came to the same problem. I just wondering if there is any way to avoid this error? |
@snower2010 @rspreafico Sorry it took so long to look into this. While I agree IUPAC bases would be useful, the HTSJDK API just doesnt support them. It's also not part of the VCF 4.2 spec (https://samtools.github.io/hts-specs/VCFv4.2.pdf). |
Hi there
The flu reference genome makes use of IUPAC ambiguous bases (e.g.
R
). Calling variants results in things like R -> A variants being called, due to the variant caller not supporting IUPAC ambiguous bases. These variants can be ignored, and they don't trigger any failure of the variant caller. However, VariantQC terminates with an error when it finds variants like this. Would it be possible to handle such variants so that VariantQC does not terminate?Thanks
Roberto
The text was updated successfully, but these errors were encountered: