Closed eldariont closed 4 years ago
Sure I'll have a look at it next week!
Hey @eldariont,
please check out the current master, build and run SViper again and tell me if it works with the new commit
I include the info SEQ field in case it does not appear in the header. I always include the FAIL filter tags, since I assume nobody else uses them.
This actually caught a tiny bug also! FILTER1 and 4 where ambiguous so now there are also FAIL6 and 7 although they should seldom occur since they refer to an unknown reference name of the variant. (see this commit as a reference)
Thanks for working on this. There remains one small problem that bcftools still complains about. The spec requires the ID of a meta-information field to not be surrounded by quotation marks.
So it needs to be
output_vcf << "##FILTER=<ID=FAIL1,Description=\"No long reads in variant region.\">" << std::endl;
instead of
output_vcf << "##FILTER=<ID=\"FAIL1\",Description=\"No long reads in variant region.\">" << std::endl;
.
:roll_eyes: :roll_eyes: fine. thanks for the info!
Yes, it's annoying. I can also create a PR if you prefer.
sure why not, thanks! :)
Fixed by #7
Hi Svenja,
bcftools is complaining about missing VCF header lines in SViper's VCF output:
Could you maybe add these?
Cheers David