trimmomatic Errors : "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1"
1
1
Entering edit mode
4.8 years ago
mailme.ayan ▴ 10

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(IlluminaClippingTrimmer.java:54)
        at org.usadellab.trimmomatic.trim.TrimmerFactory.makeTrimmer(TrimmerFactory.java:32)
        at org.usadellab.trimmomatic.Trimmomatic.createTrimmers(Trimmomatic.java:59)
        at org.usadellab.trimmomatic.TrimmomaticPE.run(TrimmomaticPE.java:536)
        at org.usadellab.trimmomatic.Trimmomatic.main(Trimmomatic.java:80)

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.6k views
ADD COMMENT
4
Entering edit mode
4.8 years ago
GenoMax 100k

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.

ILLUMINACLIP:/data/apps/trimmomatic/0.36/adapters/TruSeq2-PE.fa
ADD COMMENT

Login before adding your answer.

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