Error with GenomeAnalysisTK.jar finding tools
1
0
Entering edit mode
3.3 years ago
kacollier ▴ 30

I'm trying to run GATK on my machine as part of a pipeline using Phyluce. As per the instructions here (https://phyluce.readthedocs.io/en/v1.6.8/installation.html#why-conda), I downloaded GATK 3.7-0, activated a conda environment, and imported the GATK package into conda using the following code:

*conda activate phyluce-1.7.1

*gatk-register /PATH/TO/GATK-3.7/JAR/GenomeAnalysisTK.jar**

Terminal recognizes the command 'gatk -h' and provides the appropriate message. But, whenever I try to use one of the tools, eg:

gatk -T RealignerTargetCreator

...the following error crops up:

##### ERROR MESSAGE: Invalid command line: Malformed walker argument: Could not find walker with name: RealignerTargetCreator

I've tried messing with a couple of different versions of GATK, as well as different tool arguments to make sure this wasn't a one-off deprecated command, but I keep getting the same thing. I've also tried calling the jarfile directly (code below), but the result is the same.

java -jar /PATH/TO/GATK-3.7/JAR/GenomeAnalysisTK.jar \ -T RealignerTargetCreator

Has anyone else experienced this issue, or know another way to run GATK? Thanks in advance for your time.

conda GATK walker phyluce • 2.6k views
ADD COMMENT
1
Entering edit mode

what is the output of

java -jar /PATH/TO/GATK-3.7/JAR/GenomeAnalysisTK.jar  -h | grep RealignerTarget

?

ADD REPLY
0
Entering edit mode

Nothing, not even the help message.

If you remove the -h from that command though, you get error output requesting an argument for -T.

ADD REPLY
0
Entering edit mode

That is odd because I see using the launcher script.

/path_to.apps/gatk/3.7/gatk -h | grep RealignerTarget
   RealignerTargetCreator        Define intervals to target for local realignment
ADD REPLY
0
Entering edit mode

That is weird. What did you do to install the jarfile, and what version of Java are you using?

Edit: Actually, where did you find that particular distribution of gatk? It doesn't look like the same jarfile I'm trying to run, or at least the directory structure seems different.

ADD REPLY
0
Entering edit mode

I had the same error message. I fixed It by removing java and installing the correct java 8. 1.8_301 I believe is the lates java 8 version

ADD REPLY

Login before adding your answer.

Traffic: 1759 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