annotate trimmomatic.xml @ 5:f80107cdc406 draft

Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
author pjbriggs
date Fri, 16 Dec 2016 11:31:55 -0500
parents 14d05f2d511d
children 141bba0e9a77
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
f80107cdc406 Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents: 4
diff changeset
1 <tool id="trimmomatic" name="Trimmomatic" version="0.36.1">
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
2 <description>flexible read trimming tool for Illumina NGS data</description>
5
f80107cdc406 Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents: 4
diff changeset
3 <macros>
f80107cdc406 Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents: 4
diff changeset
4 <import>trimmomatic_macros.xml</import>
f80107cdc406 Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents: 4
diff changeset
5 </macros>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
6 <requirements>
4
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
7 <requirement type="package" version="0.36">trimmomatic</requirement>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
8 </requirements>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
9 <stdio>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
10 <exit_code range="1:" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
11 </stdio>
5
f80107cdc406 Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents: 4
diff changeset
12 <command><![CDATA[
f80107cdc406 Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents: 4
diff changeset
13 @CONDA_TRIMMOMATIC_JAR_PATH@ &&
f80107cdc406 Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents: 4
diff changeset
14 @CONDA_TRIMMOMATIC_ADAPTERS_PATH@ &&
f80107cdc406 Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents: 4
diff changeset
15 java -mx8G -jar \$TRIMMOMATIC_JAR_PATH/trimmomatic.jar
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
16 #if $paired_end.is_paired_end
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
17 PE -threads \${GALAXY_SLOTS:-6} -phred33
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
18 #set $paired_input_type = $paired_end.paired_input_type_conditional.paired_input_type
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
19 #if $paired_input_type == "pair_of_files"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
20 "${paired_end.paired_input_type_conditional.fastq_r1_in}"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
21 "${paired_end.paired_input_type_conditional.fastq_r2_in}"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
22 "${fastq_out_r1_paired}" "${fastq_out_r1_unpaired}"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
23 "${fastq_out_r2_paired}" "${fastq_out_r2_unpaired}"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
24 #else
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
25 "${paired_end.paired_input_type_conditional.fastq_pair.forward}"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
26 "${paired_end.paired_input_type_conditional.fastq_pair.reverse}"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
27 "${fastq_out_paired.forward}" "${fastq_out_unpaired.forward}"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
28 "${fastq_out_paired.reverse}" "${fastq_out_unpaired.reverse}"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
29 #end if
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
30 #else
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
31 SE -threads \${GALAXY_SLOTS:-6} -phred33 "$fastq_in" "$fastq_out"
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
32 #end if
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
33 ## ILLUMINACLIP option
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
34 #if $illuminaclip.do_illuminaclip
5
f80107cdc406 Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents: 4
diff changeset
35 ILLUMINACLIP:\$TRIMMOMATIC_ADAPTERS_PATH/$illuminaclip.adapter_fasta:$illuminaclip.seed_mismatches:$illuminaclip.palindrome_clip_threshold:$illuminaclip.simple_clip_threshold
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
36 #end if
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
37 ## Other operations
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
38 #for $op in $operations
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
39 ## SLIDINGWINDOW
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
40 #if str( $op.operation.name ) == "SLIDINGWINDOW"
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
41 SLIDINGWINDOW:$op.operation.window_size:$op.operation.required_quality
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
42 #end if
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
43 ## MINLEN:36
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
44 #if str( $op.operation.name ) == "MINLEN"
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
45 MINLEN:$op.operation.minlen
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
46 #end if
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
47 #if str( $op.operation.name ) == "LEADING"
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
48 LEADING:$op.operation.leading
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
49 #end if
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
50 #if str( $op.operation.name ) == "TRAILING"
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
51 TRAILING:$op.operation.trailing
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
52 #end if
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
53 #if str( $op.operation.name ) == "CROP"
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
54 CROP:$op.operation.crop
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
55 #end if
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
56 #if str( $op.operation.name ) == "HEADCROP"
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
57 HEADCROP:$op.operation.headcrop
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
58 #end if
4
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
59 #if str( $op.operation.name ) == "AVGQUAL"
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
60 AVGQUAL:$op.operation.avgqual
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
61 #end if
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
62 #if str( $op.operation.name ) == "MAXINFO"
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
63 MAXINFO:$op.operation.target_length:$op.operation.strictness
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
64 #end if
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
65 #end for
5
f80107cdc406 Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents: 4
diff changeset
66 2>&1 | tee trimmomatic.log &&
f80107cdc406 Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents: 4
diff changeset
67 if [ -z "\$(tail -1 trimmomatic.log | grep "Completed successfully")" ]; then echo "Trimmomatic did not finish successfully" >&2 ; exit 1 ; fi
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
68 ]]></command>
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
69 <inputs>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
70 <conditional name="paired_end">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
71 <param name="is_paired_end" type="boolean" label="Paired end data?" truevalue="yes" falsevalue="no" checked="on" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
72 <when value="no">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
73 <param name="fastq_in" type="data" format="fastqsanger" label="Input FASTQ file" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
74 </when>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
75 <when value="yes">
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
76 <conditional name="paired_input_type_conditional">
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
77 <param name="paired_input_type" type="select" label="Input Type">
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
78 <option value="pair_of_files" selected="true">Pair of datasets</option>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
79 <option value="collection">Dataset collection pair</option>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
80 </param>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
81 <when value="pair_of_files">
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
82 <param name="fastq_r1_in" type="data" format="fastqsanger"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
83 label="Input FASTQ file (R1/first of pair)" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
84 <param name="fastq_r2_in" type="data" format="fastqsanger"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
85 label="Input FASTQ file (R2/second of pair)" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
86 </when>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
87 <when value="collection">
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
88 <param name="fastq_pair" format="fastqsanger" type="data_collection"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
89 collection_type="paired"
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
90 label="Select FASTQ dataset collection with R1/R2 pair" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
91 </when>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
92 </conditional>
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
93 </when>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
94 </conditional>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
95 <conditional name="illuminaclip">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
96 <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" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
97 <when value="yes">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
98 <param name="adapter_fasta" type="select" label="Adapter sequences to use">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
99 <option value="TruSeq2-SE.fa">TruSeq2 (single-ended, for Illumina GAII)</option>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
100 <option value="TruSeq3-SE.fa">TruSeq3 (single-ended, for MiSeq and HiSeq)</option>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
101 <option value="TruSeq2-PE.fa">TruSeq2 (paired-ended, for Illumina GAII)</option>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
102 <option value="TruSeq3-PE.fa">TruSeq3 (paired-ended, for MiSeq and HiSeq)</option>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
103 <option value="TruSeq3-PE-2.fa">TruSeq3 (additional seqs) (paired-ended, for MiSeq and HiSeq)</option>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
104 <option value="NexteraPE-PE.fa">Nextera (paired-ended)</option>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
105 </param>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
106 <param name="seed_mismatches" type="integer" label="Maximum mismatch count which will still allow a full match to be performed" value="2" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
107 <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" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
108 <param name="simple_clip_threshold" type="integer" label="How accurate the match between any adapter etc. sequence must be against a read" value="10" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
109 </when>
4
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
110 <when value="no" /> <!-- empty clause to satisfy planemo lint -->
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
111 </conditional>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
112 <repeat name="operations" title="Trimmomatic Operation" min="1">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
113 <conditional name="operation">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
114 <param name="name" type="select" label="Select Trimmomatic operation to perform">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
115 <option selected="true" value="SLIDINGWINDOW">Sliding window trimming (SLIDINGWINDOW)</option>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
116 <option value="MINLEN">Drop reads below a specified length (MINLEN)</option>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
117 <option value="LEADING">Cut bases off the start of a read, if below a threshold quality (LEADING)</option>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
118 <option value="TRAILING">Cut bases off the end of a read, if below a threshold quality (TRAILING)</option>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
119 <option value="CROP">Cut the read to a specified length (CROP)</option>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
120 <option value="HEADCROP">Cut the specified number of bases from the start of the read (HEADCROP)</option>
4
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
121 <option value="AVGQUAL">Drop reads with average quality lower than a specified level (AVGQUAL)</option>
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
122 <option value="MAXINFO">Trim reads adaptively, balancing read length and error rate to maximise the value of each read (MAXINFO)</option>
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
123 </param>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
124 <when value="SLIDINGWINDOW">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
125 <param name="window_size" type="integer" label="Number of bases to average across" value="4" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
126 <param name="required_quality" type="integer" label="Average quality required" value="20" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
127 </when>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
128 <when value="MINLEN">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
129 <param name="minlen" type="integer" label="Minimum length of reads to be kept" value="20" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
130 </when>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
131 <when value="LEADING">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
132 <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" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
133 </when>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
134 <when value="TRAILING">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
135 <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" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
136 </when>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
137 <when value="CROP">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
138 <param name="crop" type="integer" label="Number of bases to keep from the start of the read" value="" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
139 </when>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
140 <when value="HEADCROP">
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
141 <param name="headcrop" type="integer" label="Number of bases to remove from the start of the read" value="" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
142 </when>
4
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
143 <when value="AVGQUAL">
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
144 <param name="avgqual" type="integer" label="Minimum average quality required to keep a read" value="" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
145 </when>
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
146 <when value="MAXINFO">
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
147 <param name="target_length" type="integer" label="Target read length" value="" help="The read length which is likely to allow the location of the read within the target sequence to be determined." />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
148 <param name="strictness" type="float" label="Strictness" value="" help="Set between zero and one - specifies the balance between preserving read length versus removal of incorrect bases; low values (&lt;0.2) favours longer reads, high values (&gt;0.8) favours read correctness." />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
149 </when>
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
150 </conditional>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
151 </repeat>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
152 </inputs>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
153 <outputs>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
154 <data format="fastqsanger" name="fastq_out_r1_paired" label="${tool.name} on ${paired_end.paired_input_type_conditional.fastq_r1_in.name} (R1 paired)">
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
155 <filter>paired_end['is_paired_end']</filter>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
156 <filter>paired_end['paired_input_type_conditional']['paired_input_type'] == "pair_of_files"</filter>
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
157 </data>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
158 <data format="fastqsanger" name="fastq_out_r2_paired" label="${tool.name} on ${paired_end.paired_input_type_conditional.fastq_r2_in.name} (R2 paired)">
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
159 <filter>paired_end['is_paired_end']</filter>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
160 <filter>paired_end['paired_input_type_conditional']['paired_input_type'] == "pair_of_files"</filter>
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
161 </data>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
162 <data format="fastqsanger" name="fastq_out_r1_unpaired" label="${tool.name} on ${paired_end.paired_input_type_conditional.fastq_r1_in.name} (R1 unpaired)">
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
163 <filter>paired_end['is_paired_end']</filter>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
164 <filter>paired_end['paired_input_type_conditional']['paired_input_type'] == "pair_of_files"</filter>
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
165 </data>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
166 <data format="fastqsanger" name="fastq_out_r2_unpaired" label="${tool.name} on ${paired_end.paired_input_type_conditional.fastq_r2_in.name} (R2 unpaired)">
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
167 <filter>paired_end['is_paired_end']</filter>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
168 <filter>paired_end['paired_input_type_conditional']['paired_input_type'] == "pair_of_files"</filter>
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
169 </data>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
170 <data format="fastqsanger" name="fastq_out" label="${tool.name} on ${paired_end.fastq_in.name}">
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
171 <filter>not paired_end['is_paired_end']</filter>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
172 </data>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
173 <collection name="fastq_out_paired" type="paired" label="${tool.name} on ${paired_end.paired_input_type_conditional.fastq_pair.name}: paired">
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
174 <data name="forward" format="fastqsanger" label="${tool.name} on ${paired_end.paired_input_type_conditional.fastq_pair.forward.name} (R1 paired)" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
175 <data name="reverse" format="fastqsanger" label="${tool.name} on ${paired_end.paired_input_type_conditional.fastq_pair.reverse.name} (R2 paired)" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
176 <filter>paired_end['is_paired_end']</filter>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
177 <filter>paired_end['paired_input_type_conditional']['paired_input_type'] == "collection"</filter>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
178 </collection>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
179 <collection name="fastq_out_unpaired" type="paired" label="${tool.name} on ${paired_end.paired_input_type_conditional.fastq_pair.name}: unpaired">
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
180 <data name="forward" format="fastqsanger" label="${tool.name} on ${paired_end.paired_input_type_conditional.fastq_pair.forward.name} (R1 unpaired)" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
181 <data name="reverse" format="fastqsanger" label="${tool.name} on ${paired_end.paired_input_type_conditional.fastq_pair.reverse.name} (R2 unpaired)" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
182 <filter>paired_end['is_paired_end']</filter>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
183 <filter>paired_end['paired_input_type_conditional']['paired_input_type'] == "collection"</filter>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
184 </collection>
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
185 </outputs>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
186 <tests>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
187 <test>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
188 <!-- Single-end example -->
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
189 <param name="is_paired_end" value="no" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
190 <param name="fastq_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
191 <param name="operations_0|operation|name" value="SLIDINGWINDOW" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
192 <!--
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
193 **NB** outputs have to be specified in order that they appear in the
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
194 tool (which is the order they will be written to the history) - the
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
195 test framework seems to use the order and ignores the "name" attribute
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
196 -->
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
197 <output name="fastq_out" file="trimmomatic_se_out1.fastq" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
198 </test>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
199 <test>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
200 <!-- Paired-end example -->
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
201 <param name="is_paired_end" value="yes" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
202 <param name="fastq_r1_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
203 <param name="fastq_r2_in" value="Illumina_SG_R2.fastq" ftype="fastqsanger" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
204 <param name="operations_0|operation|name" value="SLIDINGWINDOW" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
205 <!--
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
206 **NB** outputs have to be specified in order that they appear in the
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
207 tool (which is the order they will be written to the history) - the
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
208 test framework seems to use the order and ignores the "name" attribute
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
209 -->
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
210 <output name="fastq_out_r1_paired" file="trimmomatic_pe_r1_paired_out1.fastq" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
211 <output name="fastq_out_r1_unpaired" file="trimmomatic_pe_r1_unpaired_out1.fastq" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
212 <output name="fastq_out_r2_paired" file="trimmomatic_pe_r2_paired_out1.fastq" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
213 <output name="fastq_out_r2_unpaired" file="trimmomatic_pe_r2_unpaired_out1.fastq" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
214 </test>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
215 <test>
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
216 <!-- Single-end example (cropping) -->
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
217 <param name="is_paired_end" value="no" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
218 <param name="fastq_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
219 <param name="operations_0|operation|name" value="CROP" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
220 <param name="operations_0|operation|crop" value="10" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
221 <!--
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
222 **NB** outputs have to be specified in order that they appear in the
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
223 tool (which is the order they will be written to the history) - the
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
224 test framework seems to use the order and ignores the "name" attribute
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
225 -->
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
226 <output name="fastq_out" file="trimmomatic_se_out2.fastq" />
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
227 </test>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
228 <test>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
229 <!-- Paired-end with dataset collection -->
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
230 <param name="is_paired_end" value="yes" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
231 <param name="paired_input_type" value="collection" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
232 <param name="fastq_pair">
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
233 <collection type="paired">
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
234 <element name="forward" value="Illumina_SG_R1.fastq" ftype="fastqsanger" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
235 <element name="reverse" value="Illumina_SG_R2.fastq" ftype="fastqsanger"/>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
236 </collection>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
237 </param>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
238 <param name="operations_0|operation|name" value="SLIDINGWINDOW" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
239 <output_collection name="fastq_out_paired" type="paired">
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
240 <element name="forward" file="trimmomatic_pe_r1_paired_out1.fastq" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
241 <element name="reverse" file="trimmomatic_pe_r2_paired_out1.fastq" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
242 </output_collection>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
243 <output_collection name="fastq_out_unpaired" type="paired">
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
244 <element name="forward" file="trimmomatic_pe_r1_unpaired_out1.fastq" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
245 <element name="reverse" file="trimmomatic_pe_r2_unpaired_out1.fastq" />
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
246 </output_collection>
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
247 </test>
4
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
248 <test>
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
249 <!-- Single-end using AVGQUAL -->
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
250 <param name="is_paired_end" value="no" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
251 <param name="fastq_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
252 <param name="operations_0|operation|name" value="AVGQUAL" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
253 <param name="operations_0|operation|avgqual" value="30" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
254 <output name="fastq_out" file="trimmomatic_avgqual.fastq" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
255 </test>
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
256 <test>
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
257 <!-- Single-end using MAXINFO -->
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
258 <param name="is_paired_end" value="no" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
259 <param name="fastq_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
260 <param name="operations_0|operation|name" value="MAXINFO" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
261 <param name="operations_0|operation|target_length" value="75" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
262 <param name="operations_0|operation|strictness" value="0.8" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
263 <output name="fastq_out" file="trimmomatic_maxinfo.fastq" />
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
264 </test>
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
265 </tests>
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
266 <help><![CDATA[
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
267 .. class:: infomark
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
268
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
269 **What it does**
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
270
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
271 Trimmomatic performs a variety of useful trimming tasks for illumina paired-end and
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
272 single ended data.
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
273
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
274 This tool allows the following trimming steps to be performed:
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
275
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
276 * **ILLUMINACLIP:** Cut adapter and other illumina-specific sequences from the read
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
277 * **SLIDINGWINDOW:** Perform a sliding window trimming, cutting once the average
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
278 quality within the window falls below a threshold
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
279 * **MINLEN:** Drop the read if it is below a specified length
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
280 * **LEADING:** Cut bases off the start of a read, if below a threshold quality
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
281 * **TRAILING:** Cut bases off the end of a read, if below a threshold quality
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
282 * **CROP:** Cut the read to a specified length
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
283 * **HEADCROP:** Cut the specified number of bases from the start of the read
4
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
284 * **AVGQUAL:** Drop the read if the average quality is below a specified value
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
285 * **MAXINFO:** Trim reads adaptively, balancing read length and error rate to
14d05f2d511d Version that supports Trimmomatic 0.36.
pjbriggs
parents: 3
diff changeset
286 maximise the value of each read
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
287
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
288 If ILLUMINACLIP is requested then it is always performed first; subsequent options
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
289 can be mixed and matched and will be performed in the order that they have been
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
290 specified.
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
291
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
292 .. class:: warningmark
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
293
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
294 Note that trimming operation order is important.
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
295
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
296 -------------
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
297
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
298 .. class:: infomark
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
299
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
300 **Inputs**
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
301
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
302 For single-end data this Trimmomatic tool accepts a single FASTQ file; for
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
303 paired-end data it will accept either two FASTQ files (R1 and R2), or a
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
304 dataset collection containing the R1/R2 FASTQ pair.
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
305
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
306 .. class:: infomark
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
307
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
308 **Outputs**
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
309
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
310 For paired-end data a particular strength of Trimmomatic is that it retains the
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
311 pairing of reads (from R1 and R2) in the filtered output files:
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
312
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
313 * Two FASTQ files (R1-paired and R2-paired) contain one read from each pair where
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
314 both have survived filtering.
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
315 * Additionally two FASTQ files (R1-unpaired and R2-unpaired) contain reads where
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
316 one of the pair failed the filtering steps.
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
317
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
318 .. class:: warningmark
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
319
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
320 If the input consists of a dataset collection with the R1/R2 FASTQ pair then
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
321 the outputs will also inclue two dataset collections: one for the 'paired'
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
322 outputs and one for the 'unpaired' (as described above)
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
323
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
324 Retaining the same order and number of reads in the filtered output fastq files is
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
325 essential for many downstream analysis tools.
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
326
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
327 For single-end data the output is a single FASTQ file containing just the filtered
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
328 reads.
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
329
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
330 -------------
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
331
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
332 .. class:: infomark
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
333
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
334 **Credits**
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
335
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
336 This Galaxy tool has been developed within the Bioinformatics Core Facility at the
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
337 University of Manchester. It runs the Trimmomatic program which has been developed
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
338 within Bjorn Usadel's group at RWTH Aachen university.
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
339
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
340 Trimmomatic website (including documentation):
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
341
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
342 * http://www.usadellab.org/cms/index.php?page=trimmomatic
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
343
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
344 The reference for Trimmomatic is:
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
345
1
2bd7cdbb6228 Add README and citation tags.
pjbriggs
parents: 0
diff changeset
346 * Bolger, A.M., Lohse, M., &amp; Usadel, B. (2014). Trimmomatic: A flexible trimmer
2bd7cdbb6228 Add README and citation tags.
pjbriggs
parents: 0
diff changeset
347 for Illumina Sequence Data. Bioinformatics, btu170.
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
348
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
349 Please kindly acknowledge both this Galaxy tool and the Trimmomatic program if you
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
350 use it.
3
f8a9a5eaca8a Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents: 2
diff changeset
351 ]]></help>
1
2bd7cdbb6228 Add README and citation tags.
pjbriggs
parents: 0
diff changeset
352 <citations>
2bd7cdbb6228 Add README and citation tags.
pjbriggs
parents: 0
diff changeset
353 <!--
2bd7cdbb6228 Add README and citation tags.
pjbriggs
parents: 0
diff changeset
354 See https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Ccitations.3E_tag_set
2bd7cdbb6228 Add README and citation tags.
pjbriggs
parents: 0
diff changeset
355 Can be either DOI or Bibtex
2bd7cdbb6228 Add README and citation tags.
pjbriggs
parents: 0
diff changeset
356 Use http://www.bioinformatics.org/texmed/ to convert PubMed to Bibtex
2bd7cdbb6228 Add README and citation tags.
pjbriggs
parents: 0
diff changeset
357 -->
2bd7cdbb6228 Add README and citation tags.
pjbriggs
parents: 0
diff changeset
358 <citation type="doi">10.1093/bioinformatics/btu170</citation>
2bd7cdbb6228 Add README and citation tags.
pjbriggs
parents: 0
diff changeset
359 </citations>
0
3358c3d30143 Uploaded initial version.
pjbriggs
parents:
diff changeset
360 </tool>