Question: Running My Own Walker On Gatk
0
gravatar for Pascal
9.2 years ago by
Pascal1.5k
Barcelona
Pascal1.5k wrote:

Hi.

I can't get my GATK walker encountered by GATK framework altough I have the compiled class under the CLASSPATH umbrella:

pmaugeri@ubuntu-bio:~/gatk$ ls $CLASSPATH
FirstWalker.class  HelloWalker.class  HelloWorld.class
pmaugeri@ubuntu-bio:~/gatk$ java -jar GenomeAnalysisTK-1.2-60-g585a45b/GenomeAnalysisTK.jar -T HelloWalker
##### ERROR ------------------------------------------------------------------------------------------
##### ERROR A USER ERROR has occurred (version 1.2-60-g585a45b): 
[...]
##### ERROR MESSAGE: Could not find walker with name: HelloWalker
##### ERROR ------------------------------------------------------------------------------------------

Is there something else to do to define my walker than what is described in Your first walker ?

I noticed for instance that CountReadsWalker is called with -T CountReads but the corresponding class is CountReadsWalker. I suspect there is a declaration or mapping to be done.

Thanks in advance for your help.

gatk • 2.4k views
ADD COMMENTlink written 9.2 years ago by Pascal1.5k

does Hello appear amongst the walker list when you run 'java -jar GenomeAnalysisTK.jar' without any other arguments

ADD REPLYlink written 9.2 years ago by Russh1.2k
3
gravatar for Pierre Lindenbaum
9.2 years ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Pierre Lindenbaum133k wrote:

you have to put the compiled walker in the classpath. So the right command would be to call:

java -cp GenomeAnalysisTK-1.2-60-g585a45b/GenomeAnalysisTK.jar:.  org.broadinstitute.sting.gatk.CommandLineGATK -T HelloWalker
ADD COMMENTlink written 9.2 years ago by Pierre Lindenbaum133k

Many thanks Pierre for your help !

Although I finally have to use "-T Hello" and not "-T HelloWalker" as stated by russH.

ADD REPLYlink written 9.2 years ago by Pascal1.5k
1
gravatar for Russh
9.2 years ago by
Russh1.2k
U. Liverpool
Russh1.2k wrote:

you are correct on the last point: you should use '... -T Hello '

ADD COMMENTlink written 9.2 years ago by Russh1.2k

Sorry, I forgot to add that I actually tried with -T Hello too and it didn't help. Thanks for your fast answer anyway. This must be something obvious that I forgot :-))

ADD REPLYlink written 9.2 years ago by Pascal1.5k

haha, whoever voted this up is being wayy too kind

ADD REPLYlink written 9.2 years ago by Russh1.2k

I voted you up too because at the end I had to use "-T Hello" so your contribution is helpful too ;-) Thanks.

ADD REPLYlink written 9.2 years ago by Pascal1.5k
Please log in to add an answer.

Help
Access

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