VCF parse error:FILTER ' PASS' is not defined in the header
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">
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
Any chance you could share a part of the VCF with me to reproduce the problem locally?