This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Trimmomatics Error: M1 Mac

Was using trimmomatcs for ERR1465930 and received an error

Multiple cores found: Using 4 threads
Exception in thread "main" java.lang.RuntimeException: Unknown trimmer:  LEADING
    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)"

I used the code

trimmomatic PE ERR1465930_2.fastq.gz ERR1465930_1.fastq.gz \ ERR1465930_1_paired.fastq.gz ERR1465930_1_unpaired.fastq.gz \ ERR1465930_2_paired.fastq.gz ERR1465930_2_unpaired.fastq.gz \ LEADING:10 TRAILING:10 SLIDINGWINDOW:5:20 MINLEN:250

What exactly was wrong?

trimmomatic bioconda terminal

Not sure if you had the \ in your actual command or you put them in while trying to format your command line. In either case they don't need to be there. Check the order of your file names.

ERR1465930_2.fastq.gz ERR1465930_1.fastq.gz

You also appear to be specifying R2 file before R1.

0 answers

No answers yet.

Log in to answer this question.