BBMap Clumpify error
1
0
Entering edit mode
4.5 years ago
Tania ▴ 180

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>(PreParser.java:71) at shared.PreParser.<init>(PreParser.java:26) at clump.Clumpify.<init>(Clumpify.java:51) at clump.Clumpify.main(Clumpify.java:37)

This is my command:

~/bbmap/clumpify.sh 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.

Thanks

mark duplicates • 1.6k views
ADD COMMENT
1
Entering edit mode

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 REPLY
2
Entering edit mode
4.5 years ago
jean.elbers ★ 1.7k

Can you try

~/bbmap/clumpify.sh 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 COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

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