Difference between revisions of "HPC:Trimmomatic"
From HPC wiki
(Created page with "=== Trimmomatic === Trimmomatic is a tool for trimming Illumina FASTQ data and removing adapters. It performs a variety of useful trimming tasks for illumina paired-end and si...") |
|||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
[asrini@node107 ~]$ module load Trimmomatic-0.32 | [asrini@node107 ~]$ module load Trimmomatic-0.32 | ||
+ | <pre> | ||
− | [asrini@node107 ~]$ | + | The above module load command sets the $TRIM_JAR environment variable. |
+ | <pre> | ||
+ | [asrini@node107 ~]$ echo $TRIM_JAR | ||
+ | /opt/software/Trimmomatic/0.32/trimmomatic-0.32.jar | ||
+ | </pre> | ||
+ | |||
+ | This environment variable can be used by passing it directly to the java command: | ||
+ | <pre> | ||
+ | [asrini@node107 ~]$ java -jar $TRIM_JAR | ||
Usage: | Usage: | ||
PE [-threads <threads>] [-phred33|-phred64] [-trimlog <trimLogFile>] [-basein <inputBase> | <inputFile1> <inputFile2>] [-baseout <outputBase> | <outputFile1P> <outputFile1U> <outputFile2P> <outputFile2U>] <trimmer1>... | PE [-threads <threads>] [-phred33|-phred64] [-trimlog <trimLogFile>] [-basein <inputBase> | <inputFile1> <inputFile2>] [-baseout <outputBase> | <outputFile1P> <outputFile1U> <outputFile2P> <outputFile2U>] <trimmer1>... | ||
or: | or: | ||
SE [-threads <threads>] [-phred33|-phred64] [-trimlog <trimLogFile>] <inputFile> <outputFile> <trimmer1>... | SE [-threads <threads>] [-phred33|-phred64] [-trimlog <trimLogFile>] <inputFile> <outputFile> <trimmer1>... | ||
− | |||
</pre> | </pre> | ||
Revision as of 15:35, 10 August 2016
Trimmomatic
Trimmomatic is a tool for trimming Illumina FASTQ data and removing adapters. It performs a variety of useful trimming tasks for illumina paired-end and single ended data. The selection of trimming steps and their associated parameters are supplied on the command line. Trimmomatic version 0.32 is installed across all HPC nodes and is made available via a module file.
[asrini@node107 ~]$ module load Trimmomatic-0.32 <pre> The above module load command sets the $TRIM_JAR environment variable. <pre> [asrini@node107 ~]$ echo $TRIM_JAR /opt/software/Trimmomatic/0.32/trimmomatic-0.32.jar
This environment variable can be used by passing it directly to the java command:
[asrini@node107 ~]$ java -jar $TRIM_JAR Usage: PE [-threads <threads>] [-phred33|-phred64] [-trimlog <trimLogFile>] [-basein <inputBase> | <inputFile1> <inputFile2>] [-baseout <outputBase> | <outputFile1P> <outputFile1U> <outputFile2P> <outputFile2U>] <trimmer1>... or: SE [-threads <threads>] [-phred33|-phred64] [-trimlog <trimLogFile>] <inputFile> <outputFile> <trimmer1>...