How To Get Picard-1.33 Working
1
1
Entering edit mode
13.5 years ago
Biomed 5.0k

I downloaded Picard-1.33 and I can't seem to get it working under a unix command line. Any help in how you should start this program with help option?

Exception in thread "main" java.lang.NoClassDefFoundError: picard-1/33/jar
Caused by: java.lang.ClassNotFoundException: picard-1.33.jar
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: picard-1.33.jar.  Program will exit.
picard • 5.4k views
ADD COMMENT
7
Entering edit mode
13.5 years ago

The file picard-1.33.jar is just a library.

Go into the directory picard-tools-1.33 and run the tool with the jar option:

java -jar NormalizeFasta.jar

If needed, set the CLASSPATH for example, under unix that would be something like

export CLASSPATH=/path/to/picard-1.33.jar:/path/to/sam-1.33.jar
ADD COMMENT
0
Entering edit mode

I need to learn more java :) It worked. Thanks

ADD REPLY

Login before adding your answer.

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