Question: Problem installing GATK
gravatar for j.e.kelly
7 days 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 7 days ago by finswimmer9.9k • written 7 days ago by j.e.kelly0
gravatar for WouterDeCoster
7 days ago by
WouterDeCoster36k 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 7 days ago by WouterDeCoster36k
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: 2049 users visited in the last hour