This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Running Rockhopper from a command-line

Hi

I'm attempting to run the the program with a command that's in the following structure:

java -Xmx1200m -cp Rockhopper.jar Rockhopper -g genome/path 1.fastq%2.fastq,3.fastq%4.fastq 5.fastq%6.fastq,7.fastq%8.fastq

The command is written according to the program's instructions. When running the command the following error message in printed:

Error: Could not find or load main class Rockhopper

When running java -Xmx1200m -cp Rockhopper.jar Rockhopper the program's instructions are printed, so I don't understand why this error occurs.

I'd love to get some ideas on how to resolve the issue.

rockhopper java

the program's instructions are printed

what are those instruction please.

and what is the output of

jar tvf Rockhopper.jar  | grep -F Rockhopper.class

I managed to resolve the issue by passing absolute paths instead of relative ones.
Now I'm trying to solve the fact that I got multiple ptt and rnt files, because I'm working with an assembly with contigs rather than a genome.

Add an answer with your solution and accept it to provide closure to this post.

1 answer

I managed to resolve the issue by passing absolute paths instead of relative ones.

Log in to answer this question.