Question: Trimmomatic error: Unknown trimmer: unpaired.fastq.gz
0
gravatar for stardust
12 months ago by
stardust0
stardust0 wrote:

I have very similar error as many of you encountered before when trimming using Trimmomatic v 0.38. I am following the examples from the book "Bioinformatics A Practical Handbook of Next Generation Sequencing ad its applications" - Chapter 6 Denovo Assembly of a Genome

  1. First i need to trim the two fastq files s_6_1.fastq.gz and s_6_2.fastq.gz

I am running the following command in the folder where the 2 input fastq files and Illumina adapter files are.

java -jar /home/ivan/Desktop/BioTools/Trimmomatic/Trimmomatic-0.38/trimmomatic-0.38.jar PE s_6_1.fastq.gz s_6_2.fastq.gz s_6_1_paired.fastq.gz s_6_1_unpaired.fastq.gz s_6_2_paired.fastq.gz s_6_2_ unpaired.fastq.gz ILLUMINACLIP:TruSeq2-PE.fa:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:30 MINLEN:30

TrimmomaticPE: Started with arguments:
 s_6_1.fastq.gz s_6_2.fastq.gz s_6_1_paired.fastq.gz s_6_1_unpaired.fastq.gz s_6_2_paired.fastq.gz s_6_2_ unpaired.fastq.gz ILLUMINACLIP:TruSeq2-PE.fa:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:30 MINLEN:30

Multiple cores found: Using 4 threads

Exception in thread "main" java.lang.RuntimeException: **Unknown trimmer:** unpaired.fastq.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)

Not sure what is wrong here as in previous chapter when running same command (with different input files) and same Illumina adapter files, programme runs with no errors.

Apreciate any inputs or suggestions

assembly • 635 views
ADD COMMENTlink modified 12 months ago by finswimmer12k • written 12 months ago by stardust0

Hello stardust ,

Please use the formatting bar (especially the code option) to present your post better. I've done it for you this time.
code_formatting

Thank you!

ADD REPLYlink written 12 months ago by finswimmer12k

thank you will do next time :-)

ADD REPLYlink written 12 months ago by stardust0
1
gravatar for finswimmer
12 months ago by
finswimmer12k
Germany
finswimmer12k wrote:

Hello stardust ,

there is a white space in your last filename s_6_2_ unpaired.fastq.gz. Remove it and it should work.

fin swimmer

ADD COMMENTlink written 12 months ago by finswimmer12k

Thank you fin swimmer, you made my day, I was looking for gaps too, but somehow missed that one. :-)

ADD REPLYlink written 12 months ago by stardust0

enter image description here

ADD REPLYlink written 12 months ago by lakhujanivijay4.5k
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: 967 users visited in the last hour