shred.sh error
1
0
Entering edit mode
2.1 years ago
GLR ▴ 20

Hello,

I'm trying to shred some sequences using shred.sh with the following commands:

shred.sh in=full_seq.fa out=full_seq_shred.fa length=100000000 minlength=100000000

with which I consistently get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: stream/FASTQ
    at jgi.Shred.<init>(Shred.java:60)
    at jgi.Shred.main(Shred.java:41)
Caused by: java.lang.ClassNotFoundException: stream.FASTQ
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 2 more

I'm not clear what the error means. I've tried several sizes of shred (down to 100) and supplied different sequences. I've checked paths and have redownloaded BBmap to the latest version, with the same result.

Current BBMap version in use: 38.96

Thank you as always.

bbshred bbmap • 867 views
ADD COMMENT
0
Entering edit mode
2.1 years ago
GenoMax 141k

Did you move any of the files around when you downloaded and uncompressed BBMap package? You also need to make sure that your $PATH includes the directory containing BBMap distribution.

ADD COMMENT
0
Entering edit mode

Hi Genomax. No I haven't moved any files around and BBMap is in my path and is callable. We had a huge server malfunction which meant my path was previously pointed to a corrupted BBMap distribution, but I've removed this directory, reference from my path and have refreshed the .bashrc with this new distribution.

ADD REPLY
0
Entering edit mode

So are things working now? You can easily install bbmap using conda. This will automatically take care of $PATH etc.

ADD REPLY
0
Entering edit mode

Hi Genomax, no things aren't working at the moment, still got the same error. I can try with Conda and see if that corrects the error. I'll get back to you.

ADD REPLY
0
Entering edit mode

Hi Genomax, installing via conda solved the error. I've no idea what's going wrong with just simply downloading it and putting in the path but I'm guessing it's got something to do with the all the left over corrupted paths from the server breakdown. Thanks for your help!

ADD REPLY

Login before adding your answer.

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