how to specify number of threads parameter in GATK Haplotpyecaller command line ??
REQUIRED for all errors and issues:
a) GATK version used: gatk4-4.4.0
b) Exact command used: gatk HaplotypeCaller -I PLLD15-09214movieccssortedrg1.bam -R Gmax_508_v4.0.fa -ERC GVCF -nt 8 -O PLLD1509214.g.vcf
c) Entire program log: A USER ERROR has occurred: '-nt' is not a valid command
Error : A USER ERROR has occurred: '-nt' is not a valid command
-
GATK 4 release does not handle threading as GATK3 releases so -nct or -nt switches are no longer applicable to HaplotypeCaller and bunch of other tools that supported them before.
Our suggestion would be to scatter your genome to multiple intervals and running them in parallel in a scatter-gather way.
Of course if you still wish to use the threading and older GATK3 you may get them from the archive
Keep in mind that these are very old releases and no longer supported.
Regards.
-
Hi Gökalp Çelik,
Thank you very much for the information.
-
Hi Nikhil,
we've been using these settings to control threading in GATK 4+ (to some extend) :
- Haplotypecaller takes the option : --native-pair-hmm-threads 4
- CNNScoreVariants : through an env variable: export OMP_NUM_THREADS=16
Please sign in to leave a comment.
3 comments