Entering edit mode
3.2 years ago
Xiaoyun
▴
10
Hi all:
I'm trying to trim some read data but i'm getting an error message. This is my input
java -jar /home/yun/Downloads/Trimmomatic-0.39/trimmomatic-0.39.jar PE -threads 2 -phred33 ly1_1.fq ly1_2.fq \ly1_paired_1.trim.fq.gz ly1_unpaired_1.trim.fq.gz ly1_paired_2.trim.fq.gz ly1_unpaired_2.trim.fq,gz \ HEADCROP:9
This is my error:
TrimmomaticPE: Started with arguments:
-threads 2 -phred33 ly1_1.fq ly1_2.fq ly1_paired_1.trim.fq.gz ly1_unpaired_1.trim.fq.gz ly1_paired_2.trim.fq.gz ly1_unpaired_2.trim.fq,gz HEADCROP:9
Exception in thread "main" java.lang.RuntimeException: Unknown trimmer: HEADCROP
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)
Any help would be appreciated.
You have a comma in the last file name. Remove that and try again.
It didn't work.
Can you try (use your own file names in correct spots)
Thanks a lot! I think I have done it well.
I think maybe there is something wrong in output file name.
You need to provide a
basename
which in this case should be justsampleFiltered
.