Question: trimmomatic Errors : "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1"
gravatar for mailme.ayan
20 months ago by
mailme.ayan0 wrote:

I am running the command on cluster for trimming reads as provided below:

module load trimmomatic

trimmomatic PE -trimlog At -phred33 ../data/rnaSeq/ERR754059_1.fastq.gz ../data/rnaSeq/ERR754059_2.fastq.gz ERR754059_1.paired.fastq.gz ERR754059_1.unpaired.fastq.gz ERR754059_2.{paired,unpaired}.fastq.gz ILLUMINACLIP: /data/apps/trimmomatic/0.36/adapters/TruSeq2-PE.fa:2:30:10 SLIDINGWINDOW:4:15 MINLEN:30 >& At.ouput

Unfortunately , I am getting errors printed to At.ouput file:

TrimmomaticPE: Started with arguments:
 -trimlog At -phred33 ../data/rnaSeq/ERR754059_1.fastq.gz ../data/rnaSeq/ERR754059_2.fastq.gz ERR754059_1.paired.fastq.gz  ERR754059_1.unpaired.fastq.gz ERR754059_2.paired.fastq.gz ERR754059_2.unpaired.fastq.gz ILLUMINACLIP: /data/apps/trimmomatic/0.36/adapters/TruSeq2-PE.fa:2:30:10 SLIDINGWINDOW:4:15
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
        at org.usadellab.trimmomatic.trim.IlluminaClippingTrimmer.makeIlluminaClippingTrimmer(
        at org.usadellab.trimmomatic.trim.TrimmerFactory.makeTrimmer(
        at org.usadellab.trimmomatic.Trimmomatic.createTrimmers(
        at org.usadellab.trimmomatic.Trimmomatic.main(

No, luck yet on troubleshooting. Would appreciate any help or insights..

I also tested the same command with SE option on one of the read sample ...and it didn't show errors!

rna-seq software error • 2.1k views
ADD COMMENTlink modified 20 months ago by genomax44k • written 20 months ago by mailme.ayan0
gravatar for genomax
20 months ago by
United States
genomax44k wrote:

It looks like you have a space between ILLUMINACLIP: directive and the adapter file path that follows in your command. Remove that and try again.

ADD COMMENTlink modified 20 months ago • written 20 months ago by genomax44k
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: 1953 users visited in the last hour