unknown trimmer in trimmomatic software
1
0
Entering edit mode
6.0 years ago
modarzi ▴ 170

Hi, I have Single End fastq file and it needs trimming. So, I use trimmomatic software for this purpose.based on trimmomatic tutorial I write below code for my .fastq file:

java -jar /home/ubuntu/CIRI_v2.0.6/Trimmomatic-0.36/trimmomatic-0.36.jar SE -phred64 sra_data_SRR1427482.fastq SRR1427482 LEADING=20 TRAILING=20 HEADCROP=14

but after run it in my Terminal, I see bellow error;

TrimmomaticSE: Started with arguments: -phred64 sra_data_SRR1427482.fastq SRR1427482 LEADING=20 TRAILING=20 HEADCROP=14 Automatically using 1 threads

Exception in thread "main" java.lang.RuntimeException: Unknown trimmer: LEADING=20

at org.usadellab.trimmomatic.trim.TrimmerFactory.makeTrimmer(TrimmerFactory.java:70)
at org.usadellab.trimmomatic.Trimmomatic.createTrimmers(Trimmomatic.java:59)
at org.usadellab.trimmomatic.TrimmomaticSE.run(TrimmomaticSE.java:303)
at org.usadellab.trimmomatic.Trimmomatic.main(Trimmomatic.java:85)

I run this command in my data folder. so I appreciate if any body help me. Best Regars, Mohammad

RNA-Seq • 2.8k views
ADD COMMENT
1
Entering edit mode
6.0 years ago
Tm ★ 1.1k

You have not passed the parameters properly, trimmomatic takes ":" sign and not "=" for assignment of value. Below is the example given in trimmomatic website.

java -jar trimmomatic-0.35.jar SE -phred33 input.fq.gz output.fq.gz ILLUMINACLIP:TruSeq3-SE:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:36

Even you should provide extension (.fastq) to the output file "SRR1427482".

ADD COMMENT
0
Entering edit mode

@toralmanvar , Hi, You are write.Thanks for your comment.

ADD REPLY
0
Entering edit mode

If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.
Upvote|Bookmark|Accept

ADD REPLY

Login before adding your answer.

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