Closed apastore closed 6 years ago
Hi, Thanks for reporting! I ran your example, and you are correct that it is strange that this fails. I figured out the underlying cause now. While the vcf-validator did not find anything wrong with the query VCF (I will have to look closer at this), a tool that PCGR is using downstream (vcfanno) complained about a particular line among your VCF header lines:
vcfanno.go:115: found 26 sources from 12 files
vcfanno.go:156: error parsing VCF query file /workdir/output/pcgc_fail_PASS.pcgr_ready.vep.vcf.gz: FILTER error: ##FILTER=<ID=common_variant,Description="">. [line: 4]
And this error was not sufficiently taken care of during processing (the program continued to run, but without any variants).
Quick solution: remove the FILTER line the header section of your VCF, or try adding a Description(?)
I need to work on a more robust solution to handle this, making sure that either that the vcf-validator and vcfanno have similar requirements for the query VCF
thanks, Sigve
@brentp, Do you know why vcfanno (believe this error came with 0.3.0) disapproves the encoding in the VCF above (i.e. a Description with no text in the header line for the FILTER column)? Can you point me to the VCF validation vcfanno is relying upon? regards, Sigve
thanks.
Just made a quick fix. @apastore I can verify that it will now parse your bam. If you care to replace your existing vcfanno binary with the one attached, you can proceed past this error. I'll make a new release of vcfanno this week. vcfanno_linux64.gz
Great! Thanks a lot for the rapid response and fix. Will install the new version later this week.
new release: https://github.com/brentp/vcfanno/releases/tag/v0.3.1 thanks for reporting.
Hi Sigven, I have a set of Vcf file where pcgr complaints that no variant has a Filter == PASS. do you have any idea what is going on? I have tried in both tumor-only and paired mode, as well the stable and the devel versions.
Thanks a lot!
python ~/pcgr/pcgr.py --input_vcf pcgc_fail_PASS.vcf.gz ~/pcgr/ pcgc_fail_PASS grch37 ./pcgr.toml pcgc_fail_PASS
[pcgc_fail_PASS.vcf.gz](https://github.com/sigven/pcgr/files/2503951/pcgc_fail_PASS.vcf.gz