Question: Trimmomatic Error (Exception in thread "main" java)
0
gravatar for sohinibanerjee.rs
5 weeks ago by
United States
sohinibanerjee.rs0 wrote:

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 • 98 views
ADD COMMENTlink modified 5 weeks ago by genomax76k • written 5 weeks ago by sohinibanerjee.rs0
2
gravatar for genomax
5 weeks ago by
genomax76k
United States
genomax76k wrote:

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

ADD COMMENTlink modified 5 weeks ago • written 5 weeks ago by genomax76k

Thank you very much!

ADD REPLYlink written 5 weeks ago by sohinibanerjee.rs0

enter image description here

ADD REPLYlink written 5 weeks ago by ATpoint28k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1345 users visited in the last hour