Unable to access error while running docker container for GATK
1
0
Entering edit mode
2.5 years ago
Sara ▴ 260

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?

gatk docker • 1.2k views
ADD COMMENT
2
Entering edit mode
2.5 years ago
iraun 6.2k

You can run gatk directly using the executable wrapper script called gatk. This executable will invoke the jar file. Try:

./gatk --help
ADD COMMENT
0
Entering edit mode

iraun if that was possible I would do it. I have to use container due to the limitations I have on the hpc.

ADD REPLY
0
Entering edit mode

Can you clarify how you are doing the following?

command to enter the container environment works fine

ADD REPLY
0
Entering edit mode

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
ADD REPLY

Login before adding your answer.

Traffic: 2734 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6