Error with GenomeAnalysisTK.jar finding tools
0
0
Entering edit mode
11 weeks ago
kacollier • 0

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 • 435 views
1
Entering edit mode

what is the output of

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


?

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.

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

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.