Unable to access error while running docker container for GATK
I am trying to use GATK via docker container, and the command to enter the container environment works fine (for gatk and other tools as well). Then, when I run the following command I would expect that gatk works fine:
Java -jar gatk
But I am getting this error:
Error: Unable to access jarfile GATK
Do you know what the problem is?
• 1,887 views
•
link
1 answer
You can run gatk directly using the executable wrapper script called gatk. This executable will invoke the jar file. Try:
./gatk --help
• 0 views
•
link
Can you clarify how you are doing the following?
command to enter the container environment works fine
• 0 views
•
link
GenoMax this is how I do it which works fine for other tools:
set +u; env - PATH="$PATH" SINGULARITYENV_TMP="$TMP" SINGULARITY_TMPDIR="$TMPDIR" SINGULARITY_CACHEDIR="/hpc/singularity_cache/" singularity shell -B /hpc:/hpc -B $TMPDIR:$TMPDIR docker://quay.io/biocontainers/gatk:3.5--6
• 0 views
•
link
Log in to answer this question.