annotate trimmomatic.xml @ 2:e7c8359dfa23 draft

Uploaded version 0.32.2 (now uses GALAXY_SLOTS).
author pjbriggs
date Wed, 22 Apr 2015 09:28:59 -0400
parents a2e6088d1165
children a7139c612c45
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
e7c8359dfa23 Uploaded version 0.32.2 (now uses GALAXY_SLOTS).
pjbriggs
parents: 1
diff changeset
1 <tool id="trimmomatic" name="Trimmomatic" version="0.32.2">
1
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
2 <description>flexible read trimming tool for Illumina NGS data</description>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
3 <command interpreter="bash">trimmomatic.sh
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
4 -mx8G
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
5 -jar \$TRIMMOMATIC_DIR/trimmomatic-0.32.jar
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
6 #if $paired_end.is_paired_end
2
e7c8359dfa23 Uploaded version 0.32.2 (now uses GALAXY_SLOTS).
pjbriggs
parents: 1
diff changeset
7 PE -threads \${GALAXY_SLOTS:-6} -phred33 $fastq_r1_in $paired_end.fastq_r2_in $fastq_out_r1_paired $fastq_out_r1_unpaired $fastq_out_r2_paired $fastq_out_r2_unpaired
1
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
8 #else
2
e7c8359dfa23 Uploaded version 0.32.2 (now uses GALAXY_SLOTS).
pjbriggs
parents: 1
diff changeset
9 SE -threads \${GALAXY_SLOTS:-6} -phred33 $fastq_in $fastq_out
1
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
10 #end if
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
11 ## ILLUMINACLIP option
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
12 #if $illuminaclip.do_illuminaclip
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
13 ILLUMINACLIP:\$TRIMMOMATIC_ADAPTERS_DIR/$illuminaclip.adapter_fasta:$illuminaclip.seed_mismatches:$illuminaclip.palindrome_clip_threshold:$illuminaclip.simple_clip_threshold
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
14 #end if
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
15 ## Other operations
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
16 #for $op in $operations
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
17 ## SLIDINGWINDOW
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
18 #if str( $op.operation.name ) == "SLIDINGWINDOW"
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
19 SLIDINGWINDOW:$op.operation.window_size:$op.operation.required_quality
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
20 #end if
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
21 ## MINLEN:36
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
22 #if str( $op.operation.name ) == "MINLEN"
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
23 MINLEN:$op.operation.minlen
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
24 #end if
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
25 #if str( $op.operation.name ) == "LEADING"
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
26 LEADING:$op.operation.leading
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
27 #end if
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
28 #if str( $op.operation.name ) == "TRAILING"
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
29 TRAILING:$op.operation.trailing
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
30 #end if
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
31 #if str( $op.operation.name ) == "CROP"
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
32 CROP:$op.operation.crop
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
33 #end if
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
34 #if str( $op.operation.name ) == "HEADCROP"
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
35 HEADCROP:$op.operation.headcrop
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
36 #end if
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
37 #end for
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
38 </command>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
39 <requirements>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
40 <requirement type="package" version="0.32">trimmomatic</requirement>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
41 </requirements>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
42 <inputs>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
43 <conditional name="paired_end">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
44 <param name="is_paired_end" type="boolean" label="Paired end data?" truevalue="yes" falsevalue="no" checked="on" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
45 <when value="no">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
46 <param name="fastq_in" type="data" format="fastqsanger" label="Input FASTQ file" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
47 </when>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
48 <when value="yes">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
49 <param name="fastq_r1_in" type="data" format="fastqsanger"
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
50 label="Input FASTQ file (R1/first of pair)" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
51 <param name="fastq_r2_in" type="data" format="fastqsanger"
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
52 label="Input FASTQ file (R2/second of pair)" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
53 </when>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
54 </conditional>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
55 <conditional name="illuminaclip">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
56 <param name="do_illuminaclip" type="boolean" label="Perform initial ILLUMINACLIP step?" help="Cut adapter and other illumina-specific sequences from the read" truevalue="yes" falsevalue="no" checked="off" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
57 <when value="yes">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
58 <param name="adapter_fasta" type="select" label="Adapter sequences to use">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
59 <option value="TruSeq2-SE.fa">TruSeq2 (single-ended, for Illumina GAII)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
60 <option value="TruSeq3-SE.fa">TruSeq3 (single-ended, for MiSeq and HiSeq)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
61 <option value="TruSeq2-PE.fa">TruSeq2 (paired-ended, for Illumina GAII)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
62 <option value="TruSeq3-PE.fa">TruSeq3 (paired-ended, for MiSeq and HiSeq)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
63 <option value="TruSeq3-PE-2.fa">TruSeq3 (additional seqs) (paired-ended, for MiSeq and HiSeq)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
64 <option value="NexteraPE-PE.fa">Nextera (paired-ended)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
65 </param>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
66 <param name="seed_mismatches" type="integer" label="Maximum mismatch count which will still allow a full match to be performed" value="2" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
67 <param name="palindrome_clip_threshold" type="integer" label="How accurate the match between the two 'adapter ligated' reads must be for PE palindrome read alignment" value="30" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
68 <param name="simple_clip_threshold" type="integer" label="How accurate the match between any adapter etc. sequence must be against a read" value="10" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
69 </when>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
70 </conditional>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
71 <repeat name="operations" title="Trimmomatic Operation" min="1">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
72 <conditional name="operation">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
73 <param name="name" type="select" label="Select Trimmomatic operation to perform">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
74 <option selected="true" value="SLIDINGWINDOW">Sliding window trimming (SLIDINGWINDOW)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
75 <option value="MINLEN">Drop reads below a specified length (MINLEN)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
76 <option value="LEADING">Cut bases off the start of a read, if below a threshold quality (LEADING)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
77 <option value="TRAILING">Cut bases off the end of a read, if below a threshold quality (TRAILING)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
78 <option value="CROP">Cut the read to a specified length (CROP)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
79 <option value="HEADCROP">Cut the specified number of bases from the start of the read (HEADCROP)</option>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
80 </param>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
81 <when value="SLIDINGWINDOW">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
82 <param name="window_size" type="integer" label="Number of bases to average across" value="4" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
83 <param name="required_quality" type="integer" label="Average quality required" value="20" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
84 </when>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
85 <when value="MINLEN">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
86 <param name="minlen" type="integer" label="Minimum length of reads to be kept" value="20" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
87 </when>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
88 <when value="LEADING">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
89 <param name="leading" type="integer" label="Minimum quality required to keep a base" value="3" help="Bases at the start of the read with quality below the threshold will be removed" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
90 </when>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
91 <when value="TRAILING">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
92 <param name="trailing" type="integer" label="Minimum quality required to keep a base" value="3" help="Bases at the end of the read with quality below the threshold will be removed" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
93 </when>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
94 <when value="CROP">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
95 <param name="crop" type="integer" label="Number of bases to keep from the start of the read" value="" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
96 </when>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
97 <when value="HEADCROP">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
98 <param name="headcrop" type="integer" label="Number of bases to remove from the start of the read" value="" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
99 </when>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
100 </conditional>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
101 </repeat>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
102 </inputs>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
103 <outputs>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
104 <data format="fastqsanger" name="fastq_out_r1_paired" label="${tool.name} on ${on_string} (R1 paired)">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
105 <filter>paired_end['is_paired_end']</filter>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
106 </data>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
107 <data format="fastqsanger" name="fastq_out_r1_unpaired" label="${tool.name} on ${on_string} (R1 unpaired)">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
108 <filter>paired_end['is_paired_end']</filter>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
109 </data>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
110 <data format="fastqsanger" name="fastq_out_r2_paired" label="${tool.name} on ${on_string} (R2 paired)">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
111 <filter>paired_end['is_paired_end']</filter>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
112 </data>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
113 <data format="fastqsanger" name="fastq_out_r2_unpaired" label="${tool.name} on ${on_string} (R2 unpaired)">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
114 <filter>paired_end['is_paired_end']</filter>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
115 </data>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
116 <data format="fastqsanger" name="fastq_out" label="${tool.name} on ${on_string}">
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
117 <filter>not paired_end['is_paired_end']</filter>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
118 </data>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
119 </outputs>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
120 <tests>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
121 <test>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
122 <!-- Single-end example -->
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
123 <param name="is_paired_end" value="no" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
124 <param name="fastq_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
125 <param name="operations_0|operation|name" value="SLIDINGWINDOW" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
126 <!--
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
127 **NB** outputs have to be specified in order that they appear in the
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
128 tool (which is the order they will be written to the history) - the
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
129 test framework seems to use the order and ignores the "name" attribute
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
130 -->
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
131 <output name="fastq_out" file="trimmomatic_se_out1.fastq" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
132 </test>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
133 <test>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
134 <!-- Paired-end example -->
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
135 <param name="is_paired_end" value="yes" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
136 <param name="fastq_r1_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
137 <param name="fastq_r2_in" value="Illumina_SG_R2.fastq" ftype="fastqsanger" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
138 <param name="operations_0|operation|name" value="SLIDINGWINDOW" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
139 <!--
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
140 **NB** outputs have to be specified in order that they appear in the
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
141 tool (which is the order they will be written to the history) - the
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
142 test framework seems to use the order and ignores the "name" attribute
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
143 -->
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
144 <output name="fastq_out_r1_paired" file="trimmomatic_pe_r1_paired_out1.fastq" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
145 <output name="fastq_out_r1_unpaired" file="trimmomatic_pe_r1_unpaired_out1.fastq" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
146 <output name="fastq_out_r2_paired" file="trimmomatic_pe_r2_paired_out1.fastq" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
147 <output name="fastq_out_r2_unpaired" file="trimmomatic_pe_r2_unpaired_out1.fastq" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
148 </test>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
149 <test>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
150 <!-- Single-end example (cropping) -->
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
151 <param name="is_paired_end" value="no" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
152 <param name="fastq_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
153 <param name="operations_0|operation|name" value="CROP" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
154 <param name="operations_0|operation|crop" value="10" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
155 <!--
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
156 **NB** outputs have to be specified in order that they appear in the
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
157 tool (which is the order they will be written to the history) - the
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
158 test framework seems to use the order and ignores the "name" attribute
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
159 -->
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
160 <output name="fastq_out" file="trimmomatic_se_out2.fastq" />
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
161 </test>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
162 </tests>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
163 <help>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
164 .. class:: infomark
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
165
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
166 **What it does**
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
167
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
168 Trimmomatic performs a variety of useful trimming tasks for illumina paired-end and
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
169 single ended data.
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
170
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
171 This tool allows the following trimming steps to be performed:
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
172
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
173 * **ILLUMINACLIP:** Cut adapter and other illumina-specific sequences from the read
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
174 * **SLIDINGWINDOW:** Perform a sliding window trimming, cutting once the average
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
175 quality within the window falls below a threshold
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
176 * **MINLEN:** Drop the read if it is below a specified length
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
177 * **LEADING:** Cut bases off the start of a read, if below a threshold quality
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
178 * **TRAILING:** Cut bases off the end of a read, if below a threshold quality
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
179 * **CROP:** Cut the read to a specified length
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
180 * **HEADCROP:** Cut the specified number of bases from the start of the read
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
181
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
182 If ILLUMINACLIP is requested then it is always performed first; subsequent options
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
183 can be mixed and matched and will be performed in the order that they have been
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
184 specified.
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
185
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
186 .. class:: warningmark
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
187
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
188 Note that trimming operation order is important.
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
189
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
190 -------------
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
191
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
192 .. class:: infomark
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
193
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
194 **Outputs**
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
195
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
196 For paired-end data a particular strength of Trimmomatic is that it retains the
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
197 pairing of reads (from R1 and R2) in the filtered output files:
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
198
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
199 * Two FASTQ files (R1-paired and R2-paired) contain one read from each pair where
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
200 both have survived filtering.
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
201 * Additionally two FASTQ files (R1-unpaired and R2-unpaired) contain reads where
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
202 one of the pair failed the filtering steps.
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
203
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
204 Retaining the same order and number of reads in the filtered output fastq files is
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
205 essential for many downstream analysis tools.
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
206
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
207 For single-end data the output is a single FASTQ file containing just the filtered
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
208 reads.
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
209
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
210 -------------
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
211
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
212 .. class:: infomark
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
213
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
214 **Credits**
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
215
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
216 This Galaxy tool has been developed within the Bioinformatics Core Facility at the
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
217 University of Manchester. It runs the Trimmomatic program which has been developed
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
218 within Bjorn Usadel's group at RWTH Aachen university.
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
219
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
220 Trimmomatic website (including documentation):
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
221
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
222 * http://www.usadellab.org/cms/index.php?page=trimmomatic
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
223
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
224 The reference for Trimmomatic is:
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
225
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
226 * Bolger, A.M., Lohse, M., &amp; Usadel, B. (2014). Trimmomatic: A flexible trimmer
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
227 for Illumina Sequence Data. Bioinformatics, btu170.
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
228
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
229 Please kindly acknowledge both this Galaxy tool and the Trimmomatic program if you
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
230 use it.
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
231 </help>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
232 <citations>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
233 <!--
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
234 See https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Ccitations.3E_tag_set
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
235 Can be either DOI or Bibtex
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
236 Use http://www.bioinformatics.org/texmed/ to convert PubMed to Bibtex
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
237 -->
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
238 <citation type="doi">10.1093/bioinformatics/btu170</citation>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
239 </citations>
a2e6088d1165 Uploaded latest version to check tool tests.
pjbriggs
parents:
diff changeset
240 </tool>