We've moved!
This site is now read-only. You can find our new documentation site and support forum for posting questions here.
Be sure to read our welcome blog!

About VariantFiltration (GATK3.8)

Hi !
I'm running VariantFiltration whit my 100 samples.
The order is java -XX:+UseSerialGC -jar $GATK -R $GENOME -T VariantFiltration --variant all.hp.raw.snp.vcf --filterExpression " QUAL < 30.0 || QD < 2.0 || FS > 60.0 || MQ < 40.0 || SOR > 3.0 || ReadPosRankSum < -8.0 || MQRankSum < -12.5" --filterName "filter" - missingValuesInExpressionsShouldEvaluateAsFailing --out all.snp.filter.vcf
But I got this in my error file
WARN 10:03:11,408 Interpreter - ![15,17]: ' QUAL < 30.0 || QD < 2.0 || FS > 60.0 || MQ < 40.0 || SOR > 3.0 || ReadPosRankSum < -8.0 || MQRankSum < -12.5;' undefined variable MQRankSum
or
WARN 10:03:11,408 Interpreter - ![15,17]: 'QUAL < 30.0 || QD < 2.0 || FS > 60.0 || MQ < 40.0 || SOR > 3.0;' undefined variable QD
or
WARN 10:03:11,408 Interpreter - ![15,17]: QUAL < 30.0 || QD < 2.0 || FS > 60.0 || MQ < 40.0 || SOR > 3.0 || ReadPosRankSum < -8.0 ;' undefined variable ReadPosRankSum
And my vcf file is like this
DF384206.1 298 . G A 34.58 . AC=2;AF=0.500;AN=4;BaseQRankSum=0.00;ClippingRankSum=0.00;DP=48;ExcessHet=4.7712;FS=0.000;MLEAC=2;MLEAF=0.500;MQ=16.18;MQRankSum=0.674;QD=4.32;ReadPosRankSum=0.967;SOR=0.693 GT:AD:DP:GQ:PL ./.:0,0:0:.:0,0,0 ./.:0,0:0:.:0,0,0 ./.:0,0:0:.:0,0,0 ./.:0,0:0:.:0,0,0 ./.:0,0:0:.:0,0,0
So I don't know why these variable can not be undefined.

Best Answer

Answers

Sign In or Register to comment.