Unable to access error while running docker container for GATK
1
0
Entering edit mode
11 weeks ago
Sara ▴ 200

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 • 275 views
ADD COMMENT
2
Entering edit mode
11 weeks ago
iraun ★ 4.5k

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: 1870 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