Entering edit mode
                    6.6 years ago
        felipead66
        
    
        ▴
    
    120
    When I run
./gatk VariantFiltration -R genome.fasta -V vcf_file.vcf -o outfit_vcf.vcf --filter-expression "QD <2.0" --filter-name "qdthres"
I get a warning:
undefined variable QD
The same happens when I use MQ, FS, MQRankSum
head -n 30 vcf_file.vcf?It cannot be the 30th lines of the VCF: there is no
##INFO, no##FORMATetc.Currently facing the same problem tried GATK4 and GATK3.8: both produce the "undefined variable" for my filters. I found this forum (https://gatkforums.broadinstitute.org/gatk/discussion/2334/undefined-variable-variantfiltration) but still don't get an idea of how to deal with the problem. BTW my vcf file contains ##INFO rows in the beginning.