bcftools icon indicating copy to clipboard operation
bcftools copied to clipboard

VCF parse error:FILTER ' PASS' is not defined in the header

Open wzp99 opened this issue 3 years ago • 1 comments

Dear all, I 'm compressing vcf with the following code: bcftools view white_yakXcow.FI.vcf -Oz -o white_yakXcow.FI.vcf.gz The input white_yakXcow.FI.vcf is like ##fileformat=VCFv4.2 ##FILTER=<ID=PASS,Description="All filters passed"> ##ALT=<ID=NON_REF,Description="Represents any possible alternative allele at this location"> ##FILTER=<ID=LowQual,Description="Low quality"> ##FILTER=<ID=SnpCluster,Description="SNPs found in clusters"> ##FILTER=<ID=filtered,Description="QD < 2.0 || FS > 60.0 || MQ < 40.0 || MQRankSum < -12.5 || ReadPosRankSum < -8.0 || SOR > ### 3.0"> image image image and I got the error [W::vcf_parse] FILTER ' PASS' is not defined in the header [E::vcf_parse] Could not add dummy header for FILTER ' PASS' Error: VCF parse error

wzp99 avatar Jul 27 '22 08:07 wzp99

Any chance you could share a part of the VCF with me to reproduce the problem locally?

pd3 avatar Aug 12 '22 13:08 pd3