Hello everybody,
This could be the stupidest reason, but I have not found any mention about it on Internet. When I try to run filtering raw variants through GATK like:
srun GenomeAnalysisTK -T SelectVariants -R reference.fa -V raw_variants.vcf --filterExpression "QD < 2.0 || FS > 60.0 || MQ < 40.0 || MQRankSum < -12.5 || ReadPosRankSum < -8.0" --filterName "my_snp_filter" -o filtered_variants.vcf
console gives me:
-sh: 2.0: No such file or directory
-sh: FS: command not found
-sh: 40.0: No such file or directory
-sh: -12.5: No such file or directory
-sh: -8.0" --filterName "my_snp_filter" -o filtered_variants.vcf
Obliviously, it counts > and < as redirection in terminal but I have no clue why. Could you help me, please?
Thanks in advance
linux
snp
gatk