See the Trimmomatic project pageopen in new window. To use Trimmomatic, you’ll use the module tool.

You can see what versions are available by using:

[me@login01 ~]$ module avail trimmomatic

------------------------------ /opt/modulefiles -------------------------------
   trimmomatic/0.39

Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching
any of the "keys".

To load a specific version, you would use:

[me@login01 ~]$ module load trimmomatic/0.39

while the "trimmomatic" wildcard will load the default version, trimmomatic-0.39 in this case.

You should now be able to run Trimmomatic commands:

[me@login01 ~]$ java -jar /export/trimmomatic/0.39/bin/trimmomatic-0.39.jar -version
0.39