This is a test version of Biostars. For the public version, visit https://www.biostars.org.
multithread support for gatk

The below command is meant to use bqsr with multithreading:

gatk BaseRecalibrator --num_cpu_threads_per_data_thread=8 \
-I /home/cmccabe/Desktop/fastq/NA12878_marked_duplicates.bam \
-R /home/cmccabe/Desktop/fastq/resources/ucsc.hg19.fasta \
--known-sites /home/cmccabe/Desktop/fastq/fastq/resources/dbsnp_138.b37.vcf \
--known-sites /home/cmccabe/Desktop/fastq/resources/Mills_and_1000G_gold_standard.indels.hg19.vcf \
-O /home/cmccabe/Desktop/fastq/NA12878_recal_data.table

I have also tried nct 8 and both return an unrecognized exit code, so It does not appear to be supported or more likely I am not using it correctly? Thank you :).

gatk bqsr

What version of GATK?.

no sorry forgot to mention, the version is 4.0.6.0.... thank you :).

1 answer

Update: Looks like you can't use nct with GATK 4.0. You have to use SPARK for parallelization.

Thank you very much :).

Log in to answer this question.