SEQanswers (
-   Bioinformatics (
-   -   BBMap Error (

Phage Hunter 01-14-2015 02:35 AM

BBMap Error
Hi guys,

When attempting to build an index or carry out any mapping with BBMap I always get the following error: Could not find or load main class Drive. I suspect this is may be purely a Java error, but I am not sure as I am new to all this.

Could any of you shed light on this or maybe suggest equivalent programs if no solution can be found?


GenoMax 01-14-2015 03:07 AM

Can you tell us what OS are you running this on and the command you are using?

Phage Hunter 01-14-2015 03:43 AM

I am running Ubuntu 14.04 with Java version 1.8.0_25. I have tried multiple commands and each produces the same error. I tried running: ./ ref=T3.fasta k=10

With that command I get the following output:

java -Djava.library.path=/media/damian/Hard Drive - Hyb/bbmap/bbmap/jni/ -ea -Xmx25537m -cp /media/damian/Hard Drive - Hyb/bbmap/bbmap/current/ align2.BBMap build=1 overwrite=true fastareadlen=500 ref=T3.fasta k=10
Error: Could not find or load main class Drive

GenoMax 01-14-2015 03:50 AM

Did you move any of the folders inside the BBMap directory after you downloaded BBMap?

Phage Hunter 01-14-2015 04:21 AM

No I did not move or edit anything. After decompressing, I simply tried to run the program immediately from the script.

Phage Hunter 01-14-2015 04:34 AM

The problem has been sorted out. It was simply because my main drive name has a space in it and the script was unable to locate the path because of it. I changed it and things are working now.

Thanks for your help.

All times are GMT -8. The time now is 07:52 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.