Question: trimmomatic Errors : "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1"
gravatar for mailme.ayan
4.5 years ago by
mailme.ayan10 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 • 7.1k views
ADD COMMENTlink modified 4.5 years ago by GenoMax94k • written 4.5 years ago by mailme.ayan10
gravatar for GenoMax
4.5 years ago by
United States
GenoMax94k 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 4.5 years ago • written 4.5 years ago by GenoMax94k
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: 958 users visited in the last hour