This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Parallel submission of GATK GenomicsDBImport

I have been trying to submit GATK jobs for chr1 to chrY as below; but not sure why it's not working. It works individually, but when I use parallel the process doesn't do anything after creating the .tdb and json files. Just wondering if I am missing something. Can someone please help me figure out the problem. Thanks for you help in advance!

parallel '/usr/local/gatk-4.1.7.0/gatk --java-options "-Xms4G -Xmx32G -DGATK_STACKTRACE_ON_USER_EXCEPTION=true" \
 GenomicsDBImport \
--genomicsdb-workspace-path /SNPs/TEST/chr{} \
--batch-size 50 \
-L /SNPs/TEST/chr{}.output.bed \
--sample-name-map /home/mylist{}.list \
--tmp-dir=/data/tmp \
--reader-threads 10 \
--max-num-intervals-to-import-in-parallel 10' ::: {1..22} X Y
gatk

<sing> Not workiiing is not a proper eeeeror meeeeesaaaaaaaage </sing>

Not working as in unable to generate even an error message that can be posted. Likely the command syntax is the issue. Not a parallel user myself so can't help.

That's exactly what I meant. Sorry that I was not clear with my words. Actually, the process doesn't do anything after creating the .tdb and json files when I use parallel method.

Try to run the code outside of parallel on a small subset for a single chromosome to debug the process. If that works go back to parallel.

It works without parallel.

0 answers

No answers yet.

Log in to answer this question.