Thanks for advices. I tried java -jar trimmomatic-0.39.jar, but gives: Unable to access jarfile trimmomatic-0.39.jar
Unfortunately, I have to use trimmomatic for my project. So what else I can do with this error?
Hello I'am super new in Bioinformatics and I'm trying to do trimming in RNA-Seq data on Ubuntu. -I'm using Windows-
I downloaded Trimmomatic, and check by:
ls Trimmomatic-0.39
Results;
LICENSE adapters trimmomatic-0.39.ja
But when I run this:
trimmomatic PE -phred33 SRS3773142_1.fastq SRS3773142_2.fastq \ SRS3773142_1_paired.fastq.gz SRS3773142_1_unpaired.fastq.gz \ SRS3773142_2_paired.fastq.gz SRS3773142_2_unpaired.fastq.gz \ ILLUMINACLIP:adapters.fa:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:36
It gives error:
trimmomatic: command not found
Can you help me?
Trimmomatic is a java program, so you have to invoke it like java -jar trimmomatic-0.39.jar if you didn't install the wrapper script in your PATH. You need to study the basics of the Unix command line (irrespective of using WSL in Windows or native Linux) before you proceed, otherwise, proper analysis of complex bioinformatics data will not be possible. A few further recommendations:
Thanks for advices. I tried java -jar trimmomatic-0.39.jar, but gives: Unable to access jarfile trimmomatic-0.39.jar
Unfortunately, I have to use trimmomatic for my project. So what else I can do with this error?
I guess you are issuing the command in the wrong directory. You should spend some time on Linux/Unix basics first. Tasks like changing directories, finding executables, and defining the PATH are very essential tasks that everyone has to master before doing bioinformatics (at least those who want to work on the command line). Without the basics, you cannot perform any of your analyses successfully.
Log in to answer this question.