Trimmomatic Error (Exception in thread "main" java)
1
0
Entering edit mode
17 months ago

I have been struggling with trimmomatic. I am getting an error which others have also got, however, I am unable to detect the error in my code. Please suggest.

This is the code I am running:

   java -jar /home/sohini/happy_bin/Trimmomatic-0.39/trimmomatic-0.39.jar PE phred33 100-15-Mat-Orl_1_sequence.txt.gz 100-15-Mat-Orl_2_sequence.txt.gz paired_100-15-Mat-Orl_1_sequence.txt.gz unpaired_100-15-Mat-Orl_1_sequence.txt.gz paired_100-15-Mat-Orl_2_sequence.txt.gz paired_100-15-Mat-Orl_2_sequence.txt.gz LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15

and the error I am receiving is as follows:

TrimmomaticPE: Started with arguments:
 phred33 100-15-Mat-Orl_1_sequence.txt.gz 100-15-Mat-Orl_2_sequence.txt.gz paired_100-15-Mat-Orl_1_sequence.txt.gz unpaired_100-15-Mat-Orl_1_sequence.txt.gz paired_100-15-Mat-Orl_2_sequence.txt.gz unpaired_100-15-Mat-Orl_2_sequence.txt.gz LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:151
Exception in thread "main" java.lang.RuntimeException: Unknown trimmer: unpaired_100-15-Mat-Orl_2_sequence.txt.gz
        at org.usadellab.trimmomatic.trim.TrimmerFactory.makeTrimmer(TrimmerFactory.java:73)
        at org.usadellab.trimmomatic.Trimmomatic.createTrimmers(Trimmomatic.java:59)
        at org.usadellab.trimmomatic.TrimmomaticPE.run(TrimmomaticPE.java:552)
        at org.usadellab.trimmomatic.Trimmomatic.main(Trimmomatic.java:80)
next-gen trimmomatic • 609 views
ADD COMMENT
2
Entering edit mode
17 months ago
GenoMax 101k

You need to have -phred33 and not bare word like you have in your command line.

ADD COMMENT
0
Entering edit mode

Thank you very much!

ADD REPLY
0
Entering edit mode

enter image description here

ADD REPLY

Login before adding your answer.

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