Trimmomatic
1
0
Entering edit mode
15 months ago

Hi everyone,

I have one problem with my code, but I couldn't understand what is it. Anyone can say what is wrong with me code, please.

Thank you so much.

java -jar /truba/home/sbuyukkilic/trimmomatic/Trimmomatic-0.39/trimmomatic-0.39.jar PE /truba/home/sbuyukkilic/fastqc_tool/sehriban SRR11192680_1.fastq.gz SRR11192680_2.fastq.gz SRR11192680_1_trimmed.fastq SRR11192680_1_unpaired.fastq SRR11192680_2_trimmed.fastq SRR11192680_2_unpaired.fastq ILLUMINACLIP:TruSeq3-PE.fa:2:30:10:2:True LEADING:3 TRAILING:3 MINLEN:36
Trimmomatic RNA-seq • 1.1k views
ADD COMMENT
2
Entering edit mode

I have one problem with my code

see https://meta.stackexchange.com/questions/147616

ADD REPLY
0
Entering edit mode
-bash-4.2$ java -jar /truba/home/sbuyukkilic/trimmomatic/Trimmomatic-0.39/trimmomatic-0.39.jar PE /truba/home/sbuyukkilic/fastqc_tool/sehriban SRR11192680_1.fastq.gz SRR11192680_2.fastq.gz SRR11192680_1_trimmed.fastq SRR11192680_1_unpaired.fastq SRR11192680_2_trimmed.fastq SRR11192680_2_unpaired.fastq ILLUMINACLIP:TruSeq3-PE.fa:2:30:10:2:True LEADING:3 TRAILING:3 MINLEN:36
TrimmomaticPE: Started with arguments:
 /truba/home/sbuyukkilic/fastqc_tool/sehriban SRR11192680_1.fastq.gz SRR11192680_2.fastq.gz SRR11192680_1_trimmed.fastq SRR11192680_1_unpaired.fastq SRR11192680_2_trimmed.fastq SRR11192680_2_unpaired.fastq ILLUMINACLIP:TruSeq3-PE.fa:2:30:10:2:True LEADING:3 TRAILING:3 MINLEN:36
Exception in thread "main" java.lang.RuntimeException: Unknown trimmer: SRR11192680_2_unpaired.fastq
ADD REPLY
0
Entering edit mode

it's giving error like that

ADD REPLY
3
Entering edit mode
15 months ago

Mind that it complains that SRR11192680_2_unpaired.fastq is an unknown trimmer. Evidently, it interprets your filename as a different parameter.

The software expects a fixed number of input and output files to work on. Your path /truba/home/sbuyukkilic/fastqc_tool/sehriban is interpreted as input_forward.fq.gz. Thus, you have a misalignment within your parameters.

ADD COMMENT
3
Entering edit mode

As Matthias says, there is an extra parameter. Maybe you meant:

cd /truba/home/sbuyukkilic/fastqc_tool/sehriban
java -jar /truba/home/sbuyukkilic/trimmomatic/Trimmomatic-0.39/trimmomatic-0.39.jar PE  SRR11192680_1.fastq.gz SRR11192680_2.fastq.gz SRR11192680_1_trimmed.fastq SRR11192680_1_unpaired.fastq SRR11192680_2_trimmed.fastq SRR11192680_2_unpaired.fastq ILLUMINACLIP:TruSeq3-PE.fa:2:30:10:2:True LEADING:3 TRAILING:3 MINLEN:36

Btw. I find it clearer to use the parameters -basein and -baseout instead of the 6 file names, but that's just my preference.

ADD REPLY
0
Entering edit mode

thank you so much, Problem solved. It was about path, I was running Trimmomatic in the folder. In this situation no need to path.

ADD REPLY

Login before adding your answer.

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