Question: Problem installing GATK
gravatar for j.e.kelly
5 months ago by
j.e.kelly0 wrote:

Hi all,

I am currently experiencing a problem with installing the GATK. I have followed the instructions on the quick start guide but seem to have a problem with the wrapper script. I have downloaded the package and it is stored within the directory /usr/local/bin.

I have entered the command : export PATH=$PATH:/usr/local/bin/gatk- into the terminal as instructed. I have then checked if the gatk wrapper script has been added to my path with the command echo $PATH, and indeed it is. The path was displayed was the following: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/bin/gatk-

Upon trying to invoke the GATK with the command: ./gatk --help, this fails and I get the message 'No such file or directory'. I was wondering if anyone could aid in troubleshooting this? I have an the correct versions of Java and Python outlined in the requirements section.


ADD COMMENTlink modified 5 months ago by finswimmer11k • written 5 months ago by j.e.kelly0
gravatar for WouterDeCoster
5 months ago by
WouterDeCoster40k wrote:

in the $PATH environmental variable you should add the directory of the wrapper script, not the wrapper script itself.

Often it's also a better idea to create a symlink, rather than adding more and more directories to $PATH, e.g.:

ln -s /usr/local/bin/gatk- /usr/local/bin/
ADD COMMENTlink written 5 months ago by WouterDeCoster40k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 861 users visited in the last hour