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?
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.
I agree with michael that you are executing in the wrong directory - you can use
which trimmomatic
to find the directory where it is installed. As michael also stated, I would use Conda/Bioconda to install it so you can call the program from anywhere using the wrapper.