Install trimmomatic on windows computer?
2
0
Entering edit mode
5.8 years ago
pms • 0

Hello, I wanted to know if trimmomatic can only be run on GNU GPL v3 or it can also be run on windows environment? I am new to bioinformatics and I have no much knowledge of basic informatics neither.... I need to trim fastq files. Thanks, PMS

sequencing • 9.7k views
ADD COMMENT
1
Entering edit mode

BBMap suite is Java based and will work on Windows. It has a program called "bbduk" that will do trimming.

That said you should really go the unix route if you can. You are bound to run into some other limitation real quick on Windows since most software for NGS data analysis runs on unix.

ADD REPLY
1
Entering edit mode

Trimmomatic is java-based as well. :P There's a good reason to not advertise using bioinformatics tools on windows, though... It saves us all a lot of pain in the long run.

ADD REPLY
0
Entering edit mode

You could install cygwin and then try running it from there. Or try virtual box. Just as a side note, GNU GPL v3 is a license, not an operating system.

ADD REPLY
0
Entering edit mode

Thank you very much! Well.. as you see ("GNU GPL is not an operating system, it is a software license - by the way, Trimmomatic in licensed under the GNU GPL v3.") my knowledge on informatics is 0.... I think I will try the virtual box. Thank you!!!

ADD REPLY
0
Entering edit mode

and in MAC, I mean IOS system (right?). Would it work?

ADD REPLY
0
Entering edit mode

It should work on macOS (not iOS so not on iPad etc). macOS is BSD-unix like operating system.

ADD REPLY
0
Entering edit mode

I could run trimmomatic with windows 10 Home +

openjdk version "1.8.0_192"

OpenJDK Runtime Environment (build 1.8.0_192-amazon-corretto-preview2-b12)

OpenJDK 64-Bit Server VM (build 25.192-b12, mixed mode)

ADD REPLY
0
Entering edit mode

If you want to skip the installation procedure, you can make a free account in Galaxy, which has Trimmomatic and several other bioinformatic tools available. It is a great start if you are new to bioinformatics.

ADD REPLY
0
Entering edit mode
ADD REPLY
0
Entering edit mode

Thank you all for your useful comments!!!! I will let you know my progresses...... :p

ADD REPLY
1
Entering edit mode

Please do not add an answer unless you're answering the top-level question. Also, please avoid emoji like the tongue-out (:p) in a professional setting.

ADD REPLY
5
Entering edit mode
5.8 years ago
h.mon 35k

Trimmomatic is a Java application, and probably can be run on windows (see, for example, this discussion at Introducing the Trimmomatic). However, you will find few (if any) help around if you encounter problems. I would advise you to use Linux, or install the Windows Subsystem for Linux, in case you are using Windows 10.

GNU GPL is not an operating system, it is a software license - by the way, Trimmomatic is licensed under the GNU GPL v3.

ADD COMMENT
0
Entering edit mode

with " ...probably can be run on windows " you mean that then the commands that I would have to write would be very different from that shown on http://www.usadellab.org/cms/index.php?page=trimmomatic This will be a challenge for me.....

Thank you for your suggestions!

ADD REPLY
0
Entering edit mode

The commands to the program would be the same, it just might be slightly different to install. However, if you use the Windows Subsystem for Linux, you can just follow the linux install instructions and get familiar with the best platform for general bioinformatics on a Windows machine.

ADD REPLY
0
Entering edit mode
4.9 years ago
sethadam30 • 0

Yes, you can use Trimmomatic in WIndows.

  1. dl and install JRE https://java.com/en/download/win10.jsp
  2. dl binary Trimmomattic v0.39 from http://www.usadellab.org/cms/?page=trimmomatic
  3. Unzip the whole Trimmomatic folder to a destination (e.g., desktop)
  4. Right click on .jar file in Trimmomatic folder, under Properties --> General change the application which opens .jar to "Java SE" Alternately, right click on the .jar and go to "open with" and select Java SE
  5. Create a new text file in the Trimmomatic folder. Rename it run.bat (ensure the extension is .bat not .txt after save).
  6. Open the run.bat file in a text editor like Notepad and change to the shell type command that you would use in Linux (e.g. java -jar trimmomatic-0.39.jar SE -phred33 input_file_name.fastq output_file_name.fastq MINLEN:50).

Note, if you drop the new file into the Trimmomatic folder no path is needed, just file names

ADD COMMENT
0
Entering edit mode

And to run Program, double click the run.bat file. You will need to change and update the run.bat file each time you have a fastq file.

ADD REPLY
2
Entering edit mode

You will need to change and update the run.bat file each time you have a fastq file

That is bad (bordering on horrible) advice. Users should run the command directly and make changes in the command they run, not edit a batch script and execute the edited batch script. You should be advising people to run

java -jar /path/to/trimmomatic.jar <options>

not hardcode a command in a batch file and edit+double click the batch file each time.

Also, this is the solution recommended by h.mon as well. Your "answer" should have been a comment on h.mon's answer as it is just a step-by-step guide to execute that answer.

ADD REPLY

Login before adding your answer.

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