Question: BBMap Clumpify error
gravatar for Tania
7 months ago by
Tania130 wrote:

Dear Everyone

Has any one come through this error in clumpify tool from BBmap?

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 at shared.PreParser.<init>( at shared.PreParser.<init>( at clump.Clumpify.<init>( at clump.Clumpify.main(

This is my command:

~/bbmap/ in1= xx.r_1.fq.gz in2=xx.r_2.fq.gz out1= xx.clumped1.fq.gz out2 = xx.clumped2.fq.gz reorder=f

I also used groups=auto, and same error.


mark duplicates • 217 views
ADD COMMENTlink written 7 months ago by Tania130

There should be no spaces between in1= and filename and all other file options. It looks like you have spaces in some of the options in the example above.

ADD REPLYlink modified 7 months ago • written 7 months ago by GenoMax95k
gravatar for jean.elbers
7 months ago by
jean.elbers1.5k wrote:

Can you try

~/bbmap/ in1=xx.r_1.fq.gz in2=xx.r_2.fq.gz out1=xx.clumped1.fq.gz out2=xx.clumped2.fq.gz reorder=f

I am pretty sure the BBMap scripts don't like spaces next to the arguments.

Update @Genomax beat me to it.

ADD COMMENTlink modified 7 months ago • written 7 months ago by jean.elbers1.5k

Yes, its working now. Thanks thanks thanks so much :)

ADD REPLYlink written 7 months ago by Tania130
Please log in to add an answer.


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