-
Notifications
You must be signed in to change notification settings - Fork 3
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
Skips all het SNV sites because deepvariant uses Number=A for the VAF format field. #19
Comments
Hello Jake, |
Hi Luis, thank you for your response Attached are two test vcfs. They have only one identical variant. The only difference is the FORMAT VCF header line ie: Please note that the only variant in the vcfs is a bi-allelic variant, the variants I was feeding into spectre were already filtered to bi-allelic sites. Also below is the error I get when using the non-modified vcf. Using the modified version allows spectre to run to completion.
Thanks |
Hello Jake, thanks for the detailed information, I will check it out and reach back asap. Luis |
Hello and thank you for releasing this tool.
The code below (which I am assuming is there to filter multi-allelic sites) causes issues when using Deepvariant's VCFs. Deepvariant uses
Number=A
for the format VAF field which causes pysam to always parse it as a tuple, even if it is not a multi-allelic site.I was able to get spectre to run as expected by manually changing the VCF header to
Number=1
for VAFI wonder if you would be open to figuring out another way to filter multi-allelic sites. Maybe something like
Thanks
Jake
The text was updated successfully, but these errors were encountered: