Trimmomatic(0.33) java error [Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1]
0
0
Entering edit mode
18 months ago
ebogen • 0

Hi everyone, I am trying to use trimmomatic on a few RNAseq files but I keep getting the error below. I have tried changing the path and checked for any white spaces but I keep getting the same error.

java -jar /packages/7x/trimmomatic/0.33/trimmomatic.jar PE OBG0044-1-010_S37_L005_R1_001.fastq OBG0044-1-010_S37_L005_R2_001.fastq OBG0044-1_R1.paired.trim.fastq OBG0044-1_R1.unpaired.trim.fastq OBG0044-1_R2.paired.trim.fastq OBG0044-1_R2.unpaired.trim.fastq ILLUMINACLIP:adapter_other.fa SLIDINGWINDOW:4:30

Error

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
        at org.usadellab.trimmomatic.trim.IlluminaClippingTrimmer.makeIlluminaClippingTrimmer(IlluminaClippingTrimmer.java:53)
        at org.usadellab.trimmomatic.trim.TrimmerFactory.makeTrimmer(TrimmerFactory.java:27)
        at org.usadellab.trimmomatic.TrimmomaticPE.run(TrimmomaticPE.java:496)
        at org.usadellab.trimmomatic.Trimmomatic.main(Trimmomatic.java:35)

Adapter file
>TruSeq_Universal_Adapter
AATGATACGGCGACCACCGAGATCTACACTCTTTCCCTACACGACGCTCTTCCGATCT
>TruSeq_Adapter_Index 1-64
GATCGGAAGAGCACACGTCTGAACTCCAGTCACNNNNNNATCTCGTATGCCGTCTTCTGCTTG
trimmomatic • 922 views
ADD COMMENT
0
Entering edit mode

Is adapter_other.fa the name of this adapter file (one that you show above)? That is what you have in your command line.

ADD REPLY
0
Entering edit mode

yep, that is the one refed in the command line

ADD REPLY

Login before adding your answer.

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