annotate flexbar.xml @ 37:497da23fee84 draft

Uploaded
author jtilman
date Sun, 01 Jul 2018 06:45:19 -0400
parents 4e47e1caf21a
children ae7d2b47ad07
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
1
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
2 <!-- Flexbar tool definition for Galaxy, version 3.4.2 -->
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
3 <!-- Author: Johannes Roehr -->
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
4
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
5
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
6 <tool id="flexbar" name="Flexbar" version="3.4.2">
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
7
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
8 <description>- flexible barcode and adapter removal</description>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
9
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
10 <requirements>
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
11 <requirement type="package" version="3.4.0">flexbar</requirement>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
12 </requirements>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
13
31
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
14 <version_command>flexbar --versions</version_command>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
15
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
16 <command detect_errors="aggressive">
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
17
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
18 <![CDATA[
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
19
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
20 #if $reads.mode == "se":
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
21 ln -s '$reads.rs' '$rsout'_input.'$reads.rs.extension' &&
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
22 #elif $reads.mode == "pe":
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
23 ln -s '$reads.r1' '$r1out'_input.'$reads.r1.extension' &&
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
24 ln -s '$reads.r2' '$r2out'_input.'$reads.r2.extension' &&
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
25 #else:
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
26 ln -s '$reads.rc.forward' '$rcout.forward'_input.'$reads.rc.forward.extension' &&
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
27 ln -s '$reads.rc.reverse' '$rcout.reverse'_input.'$reads.rc.reverse.extension' &&
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
28 #end if
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
29
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
30 '$__tool_directory__/flexbar.pl' flexbar
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
31
23
0ef7736004bb Use of galaxy variable to control number of threads.
jtilman
parents: 22
diff changeset
32 --threads \${GALAXY_SLOTS:-1}
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
33
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
34 #if $reads.mode == "se":
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
35 --reads '$rsout'_input.'$reads.rs.extension'
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
36 #elif $reads.mode == "pe":
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
37 --reads '$r1out'_input.'$reads.r1.extension'
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
38 --reads2 '$r2out'_input.'$reads.r2.extension'
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
39 #else:
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
40 --reads '$rcout.forward'_input.'$reads.rc.forward.extension'
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
41 --reads2 '$rcout.reverse'_input.'$reads.rc.reverse.extension'
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
42 #end if
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
43
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
44 --max-uncalled $maxUncalled
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
45 --min-read-length $minReadLen
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
46
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
47 #if $trimEnds.select == "on":
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
48 --pre-trim-left $trimEnds.trimLeft
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
49 --pre-trim-right $trimEnds.trimRight
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
50 #end if
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
51
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
52
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
53 #if $cTrimQual.select != "off":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
54 #if $reads.mode == "se":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
55 #if $reads.rs.ext == "fastqsanger":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
56 --qtrim-format sanger
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
57 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
58 #if $reads.rs.ext == "fastqsolexa":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
59 --qtrim-format solexa
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
60 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
61 #if $reads.rs.ext == "fastqillumina":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
62 --qtrim-format i1.3
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
63 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
64 #elif $reads.mode == "pe":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
65 #if $reads.r1.ext == "fastqsanger":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
66 --qtrim-format sanger
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
67 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
68 #if $reads.r1.ext == "fastqsolexa":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
69 --qtrim-format solexa
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
70 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
71 #if $reads.r1.ext == "fastqillumina":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
72 --qtrim-format i1.3
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
73 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
74 #else:
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
75 #if $reads.rc.forward.ext == "fastqsanger":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
76 --qtrim-format sanger
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
77 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
78 #if $reads.rc.forward.ext == "fastqsolexa":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
79 --qtrim-format solexa
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
80 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
81 #if $reads.rc.forward.ext == "fastqillumina":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
82 --qtrim-format i1.3
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
83 #end if
31
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
84 #end if
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
85 #end if
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
86
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
87 #if $cTrimQual.select == "tail":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
88 --qtrim TAIL
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
89 --qtrim-threshold $cTrimQual.trimQualTail
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
90 $cTrimQual.trimQualPostTail
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
91 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
92 #if $cTrimQual.select == "win":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
93 --qtrim WIN
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
94 --qtrim-threshold $cTrimQual.trimQualWin
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
95 --qtrim-win-size $cTrimQual.trimQualWinSize
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
96 $cTrimQual.trimQualPostWin
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
97 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
98 #if $cTrimQual.select == "bwa":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
99 --qtrim BWA
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
100 --qtrim-threshold $cTrimQual.trimQualBWA
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
101 $cTrimQual.trimQualPostBWA
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
102 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
103
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
104
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
105 #if $cAdapters.select == "on":
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
106
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
107 #if $cAdapters.ccAdapters.select == "file":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
108 --adapters '$cAdapters.ccAdapters.adapterFile'
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
109 #end if
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
110 #if $cAdapters.ccAdapters.select == "files":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
111 --adapters '$cAdapters.ccAdapters.adapterFile1'
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
112 --adapters2 '$cAdapters.ccAdapters.adapterFile2'
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
113 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
114 #if $cAdapters.ccAdapters.select == "preset":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
115 --adapter-preset '$cAdapters.ccAdapters.adapterPreset'
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
116 #end if
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
117 #if $cAdapters.ccAdapters.select == "seq":
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
118 --adapter-seq $cAdapters.ccAdapters.adapterSeq
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
119 #end if
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
120
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
121 --adapter-trim-end $cAdapters.aTrimEnd
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
122 --adapter-min-overlap $cAdapters.aMinOverlap
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
123 --adapter-error-rate $cAdapters.aThresh
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
124
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
125 #if $cAdapters.cPairOverlap.select == "on":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
126 --adapter-pair-overlap $cAdapters.cPairOverlap.aPairOverlap
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
127 --adapter-min-poverlap $cAdapters.cPairOverlap.aMinPoverlap
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
128 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
129
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
130 #if $cAdapters.aAdvanced.caTailLen.select == "yes":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
131 --adapter-tail-length $cAdapters.aAdvanced.caTailLen.aTailLen
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
132 #end if
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
133
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
134 #if $cAdapters.aAdvanced.cRevComp.select == "on":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
135 --adapter-revcomp ON
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
136 #if $cAdapters.aAdvanced.cRevComp.aRevCompEnd != "off":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
137 --adapter-revcomp-end $cAdapters.aAdvanced.cRevComp.aRevCompEnd
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
138 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
139 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
140 #if $cAdapters.aAdvanced.cRevComp.select == "only":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
141 --adapter-revcomp ONLY
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
142 #end if
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
143
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
144 $cAdapters.aAdvanced.aReadSet
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
145
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
146 --adapter-cycles $cAdapters.aAdvanced.aCycles
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
147
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
148 #if $cAdapters.aAdvanced.caAlignScores.select == "yes":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
149 --adapter-match $cAdapters.aAdvanced.caAlignScores.aMatch
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
150 --adapter-mismatch $cAdapters.aAdvanced.caAlignScores.aMismatch
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
151 --adapter-gap $cAdapters.aAdvanced.caAlignScores.aGap
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
152 #end if
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
153 #end if
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
154
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
155
36
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
156 #if $hTrim.select == "on":
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
157 #if $hTrim.hTrimLeft != "":
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
158 --htrim-left $hTrim.hTrimLeft
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
159 #end if
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
160 #if $hTrim.hTrimRight != "":
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
161 --htrim-right $hTrim.hTrimRight
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
162 #end if
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
163
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
164 --htrim-min-length $hTrim.hMinLength
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
165 --htrim-error-rate $hTrim.hErrorRate
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
166
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
167 #if $hTrim.hAdvanced.hMinLength2 != "":
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
168 --htrim-min-length2 $hTrim.hAdvanced.hMinLength2
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
169 #end if
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
170 #if $hTrim.hAdvanced.hMaxLength != "":
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
171 --htrim-max-length $hTrim.hAdvanced.hMaxLength
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
172 #end if
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
173
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
174 $hTrim.hAdvanced.hMaxFirst
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
175 $hTrim.hAdvanced.hTrimAdapter
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
176 #end if
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
177
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
178
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
179 #if $cTrimLen.select == "on":
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
180 --post-trim-length $cTrimLen.trimLen
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
181 #end if
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
182
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
183 #if $cAddOptions.select == "show":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
184 $cAddOptions.logLevel
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
185 $cAddOptions.numTags
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
186 $cAddOptions.remTags
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
187 $cAddOptions.rndTags
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
188 $cAddOptions.singleReadsP
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
189
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
190 #if $cAddOptions.cReadBundle.select == "show":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
191 --bundle $cAddOptions.cReadBundle.bundle
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
192
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
193 #if $cAddOptions.cReadBundle.bundles != "":
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
194 --bundles $cAddOptions.cReadBundle.bundles
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
195 #end if
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
196 #end if
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
197 #end if
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
198
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
199
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
200 #if $reads.mode == "se":
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
201 --output-reads '$rsout'.'$reads.rs.extension'
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
202 #elif $reads.mode == "pe":
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
203 --output-reads '$r1out'.'$reads.r1.extension'
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
204 --output-reads2 '$r2out'.'$reads.r2.extension'
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
205 #else:
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
206 --output-reads '$rcout.forward'.'$reads.rc.forward.extension'
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
207 --output-reads2 '$rcout.reverse'.'$reads.rc.reverse.extension'
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
208 #end if
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
209
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
210 --output-log '$outlog'
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
211
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
212 ]]>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
213 </command>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
214
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
215
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
216 <inputs>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
217
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
218 <conditional name="reads">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
219 <param name="mode" type="select" label="Sequencing reads">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
220 <option value="se">Single read file</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
221 <option value="pe" selected="true">Paired read files</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
222 <option value="pc">Paired read collection</option>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
223 </param>
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
224 <when value="se">
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
225 <param name="rs" type="data" format="fastqsanger,fastqsolexa,fastqillumina,fastqsanger.gz,fastqsolexa.gz,fastqillumina.gz" label="Fastq read file"/>
20
83e3813084f2 Adjustment of when tags.
jtilman
parents: 19
diff changeset
226 </when>
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
227 <when value="pe">
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
228 <param name="r1" type="data" format="fastqsanger,fastqsolexa,fastqillumina,fastqsanger.gz,fastqsolexa.gz,fastqillumina.gz" label="Fastq read file 1"/>
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
229 <param name="r2" type="data" format="fastqsanger,fastqsolexa,fastqillumina,fastqsanger.gz,fastqsolexa.gz,fastqillumina.gz" label="Fastq read file 2"/>
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
230 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
231 <when value="pc">
37
497da23fee84 Uploaded
jtilman
parents: 36
diff changeset
232 <param name="rc" format="fastqsanger,fastqsolexa,fastqillumina,fastqsanger.gz,fastqsolexa.gz,fastqillumina.gz" type="data_collection" collection_type="paired" label="Fastq pair collection"/>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
233 </when>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
234 </conditional>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
235
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
236 <param name="maxUncalled" size="4" type="integer" value="0" label="1) Maximum uncalled bases"/>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
237
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
238 <conditional name="trimEnds">
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
239 <param name="select" type="select" label="2) Trimming of read ends">
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
240 <option value="off" selected="true">Off</option>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
241 <option value="on">On</option>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
242 </param>
20
83e3813084f2 Adjustment of when tags.
jtilman
parents: 19
diff changeset
243 <when value="off">
83e3813084f2 Adjustment of when tags.
jtilman
parents: 19
diff changeset
244 </when>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
245 <when value="on">
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
246 <param name="trimLeft" size="4" type="integer" value="0" label="Left"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
247 <param name="trimRight" size="4" type="integer" value="0" label="Right" help="trims specified number of bases at ends"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
248 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
249 </conditional>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
250
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
251 <conditional name="cTrimQual">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
252 <param name="select" type="select" label="3) Quality-based trimming">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
253 <option value="off" selected="true">Off</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
254 <option value="tail">Tail</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
255 <option value="win">Window</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
256 <option value="bwa">BWA</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
257 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
258 <when value="off">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
259 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
260 <when value="tail">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
261 <param name="trimQualTail" size="4" type="integer" value="20" label="Quality threshold" help="trim right end until specified quality or higher"/>
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
262
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
263 <param name="trimQualPostTail" type="select" label="After adapter removal">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
264 <option value="" selected="true">No</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
265 <option value="--qtrim-post-removal">Yes</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
266 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
267 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
268 <when value="win">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
269 <param name="trimQualWin" size="4" type="integer" value="20" label="Quality threshold"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
270 <param name="trimQualWinSize" size="4" type="integer" value="5" label="Window length" help="sliding window average quality approach from left end"/>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
271
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
272 <param name="trimQualPostWin" type="select" label="After adapter removal">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
273 <option value="" selected="true">No</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
274 <option value="--qtrim-post-removal">Yes</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
275 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
276 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
277 <when value="bwa">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
278 <param name="trimQualBWA" size="4" type="integer" value="20" label="Quality threshold" help="trimming approach used by BWA"/>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
279
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
280 <param name="trimQualPostBWA" type="select" label="After adapter removal">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
281 <option value="" selected="true">No</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
282 <option value="--qtrim-post-removal">Yes</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
283 </param>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
284 </when>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
285 </conditional>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
286
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
287
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
288 <conditional name="cAdapters">
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
289 <param name="select" type="select" label="4) Adapter removal">
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
290 <option value="off" selected="true">Off</option>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
291 <option value="on">On</option>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
292 </param>
20
83e3813084f2 Adjustment of when tags.
jtilman
parents: 19
diff changeset
293 <when value="off">
83e3813084f2 Adjustment of when tags.
jtilman
parents: 19
diff changeset
294 </when>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
295 <when value="on">
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
296 <conditional name="ccAdapters">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
297 <param name="select" type="select" label="Adapter source">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
298 <option value="file" selected="true">Adapter file</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
299 <option value="files">Two adapter files</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
300 <option value="preset">Illumina preset</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
301 <option value="seq">Single sequence</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
302 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
303 <when value="file">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
304 <param format="fasta" name="adapterFile" type="data" label="Fasta adapter file"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
305 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
306 <when value="files">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
307 <param format="fasta" name="adapterFile1" type="data" label="Fasta adapter file for reads 1"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
308 <param format="fasta" name="adapterFile2" type="data" label="Fasta adapter file for reads 2"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
309 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
310 <when value="preset">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
311 <param name="adapterPreset" type="select" label="Adapter preset">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
312 <option value="TruSeq" selected="true">TruSeq LT and HT-based kits</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
313 <option value="SmallRNA">TruSeq Small RNA</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
314 <option value="Methyl">TruSeq DNA Methylation and ScriptSeq</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
315 <option value="Ribo">TruSeq Ribo Profile</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
316 <option value="Nextera">Nextera, AmpliSeq, and TruSight</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
317 <option value="NexteraMP">Nextera Mate Pair</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
318 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
319 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
320 <when value="seq">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
321 <param name="adapterSeq" size="40" label="Adapter sequence" type="text" value=""/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
322 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
323 </conditional>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
324
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
325 <param name="aMinOverlap" size="4" type="integer" value="3" label="Minimum overlap"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
326 <param name="aThresh" size="4" type="float" value="0.1" label="Error rate" help="allowed fraction of mismatches and indels"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
327
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
328 <param name="aTrimEnd" type="select" label="Trim-end mode">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
329 <option value="RIGHT" selected="true">Right</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
330 <option value="LEFT">Left</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
331 <option value="RTAIL">Right tail</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
332 <option value="LTAIL">Left tail</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
333 <option value="ANY">Any</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
334 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
335
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
336 <conditional name="cPairOverlap">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
337 <param name="select" type="select" label="Pair overlap detection">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
338 <option value="off" selected="true">Off</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
339 <option value="on">On</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
340 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
341 <when value="off">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
342 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
343 <when value="on">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
344 <param name="aPairOverlap" type="select" label="Detection mode">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
345 <option value="ON" selected="true">Standard</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
346 <option value="SHORT">Trim short</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
347 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
348 <param name="aMinPoverlap" size="4" type="integer" value="40" label="Minimum pair overlap"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
349 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
350 </conditional>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
351
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
352 <section name="aAdvanced" title="Advanced options" expanded="false">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
353
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
354 <conditional name="caTailLen">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
355 <param name="select" type="select" label="Change tail length">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
356 <option value="no" selected="true">No</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
357 <option value="yes">Yes</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
358 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
359 <when value="no">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
360 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
361 <when value="yes">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
362 <param name="aTailLen" size="4" type="integer" value="" label="Tail length"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
363 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
364 </conditional>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
365
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
366 <conditional name="cRevComp">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
367 <param name="select" type="select" label="Reverse complements of adapters">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
368 <option value="off" selected="true">Off</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
369 <option value="on">On</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
370 <option value="only">Only</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
371 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
372 <when value="off">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
373 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
374 <when value="on">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
375 <param name="aRevCompEnd" type="select" label="Different trim-end for reverse complements">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
376 <option value="off" selected="true">Off</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
377 <option value="RIGHT">Right</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
378 <option value="LEFT">Left</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
379 <option value="RTAIL">Right tail</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
380 <option value="LTAIL">Left tail</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
381 <option value="ANY">Any</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
382 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
383 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
384 </conditional>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
385
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
386
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
387 <param name="aReadSet" type="select" label="Removal for single read set">
36
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
388 <option value="" selected="true">Off</option>
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
389 <option value="--adapter-read-set 1">1st</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
390 <option value="--adapter-read-set 2">2nd</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
391 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
392
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
393 <param name="aCycles" size="4" type="integer" value="1" label="Number of removal cycles"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
394
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
395 <conditional name="caAlignScores">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
396 <param name="select" type="select" label="Modify alignment scores">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
397 <option value="no" selected="true">No</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
398 <option value="yes">Yes</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
399 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
400 <when value="no">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
401 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
402 <when value="yes">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
403 <param name="aMatch" size="3" type="integer" value="1" label="Match"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
404 <param name="aMismatch" size="3" type="integer" value="-1" label="Mismatch"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
405 <param name="aGap" size="3" type="integer" value="-6" label="Gap"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
406 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
407 </conditional>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
408 </section>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
409 </when>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
410 </conditional>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
411
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
412
36
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
413 <conditional name="hTrim">
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
414 <param name="select" type="select" label="5) Trimming of homopolymers">
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
415 <option value="off" selected="true">Off</option>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
416 <option value="on">On</option>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
417 </param>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
418 <when value="off">
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
419 </when>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
420 <when value="on">
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
421 <param name="hTrimLeft" size="4" label="Trim homopolymers on left end" type="text" value="" optional="true"/>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
422 <param name="hTrimRight" size="4" label="Trim homopolymers on right end" type="text" value="" optional="true" help="for example AT"/>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
423
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
424 <param name="hMinLength" size="4" type="integer" value="3" label="Minimum length"/>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
425 <param name="hErrorRate" size="4" type="float" value="0.1" label="Error rate"/>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
426
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
427 <section name="hAdvanced" title="Advanced options" expanded="false">
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
428
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
429 <param name="hMaxLength" size="4" type="integer" value="" label="Maximum length" optional="true"/>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
430
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
431 <param name="hMaxFirst" type="select" label="Maximum length only for first one">
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
432 <option value="" selected="true">Off</option>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
433 <option value="--htrim-max-first">On</option>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
434 </param>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
435
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
436 <param name="hMinLength2" size="4" type="integer" value="" label="Minimum length after first one" optional="true"/>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
437
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
438 <param name="hTrimAdapter" type="select" label="Only in case of adapter on same side">
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
439 <option value="" selected="true">Off</option>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
440 <option value="--htrim-adapter">On</option>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
441 </param>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
442 </section>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
443 </when>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
444 </conditional>
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
445
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
446
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
447 <conditional name="cTrimLen">
36
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
448 <param name="select" type="select" label="6) Trimming to length">
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
449 <option value="off" selected="true">Off</option>
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
450 <option value="on">On</option>
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
451 </param>
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
452 <when value="off">
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
453 </when>
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
454 <when value="on">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
455 <param name="trimLen" size="4" type="integer" value="" label="Length" help="trim reads to certain length from right"/>
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
456 </when>
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
457 </conditional>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
458
36
4e47e1caf21a Uploaded
jtilman
parents: 34
diff changeset
459 <param name="minReadLen" size="4" type="integer" value="20" label="7) Minimum read length"/>
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
460
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
461 <conditional name="cAddOptions">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
462 <param name="select" type="select" label="Additional options">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
463 <option value="hide" selected="true">Hide</option>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
464 <option value="show">Show</option>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
465 </param>
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
466 <when value="hide">
20
83e3813084f2 Adjustment of when tags.
jtilman
parents: 19
diff changeset
467 </when>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
468 <when value="show">
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
469 <param name="logLevel" type="select" label="Alignment logging">
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
470 <option value="" selected="true">Off</option>
31
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
471 <option value="--align-log ALL">All</option>
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
472 <option value="--align-log MOD">Modified</option>
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
473 <option value="--align-log TAB">Tabular</option>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
474 </param>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
475
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
476 <param name="numTags" type="select" label="Number tags">
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
477 <option value="" selected="true">Off</option>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
478 <option value="--number-tags">On</option>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
479 </param>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
480
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
481 <param name="remTags" type="select" label="Removal tags">
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
482 <option value="" selected="true">Off</option>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
483 <option value="--removal-tags">On</option>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
484 </param>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
485
31
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
486 <param name="rndTags" type="select" label="UMI tags">
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
487 <option value="" selected="true">Off</option>
31
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
488 <option value="--umi-tags">On</option>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
489 </param>
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
490
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
491 <param name="singleReadsP" type="select" label="Single reads as paired">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
492 <option value="" selected="true">Off</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
493 <option value="--single-reads-paired">On</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
494 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
495
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
496 <conditional name="cReadBundle">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
497 <param name="select" type="select" label="Read bundle options">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
498 <option value="hide" selected="true">Hide</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
499 <option value="show">Show</option>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
500 </param>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
501 <when value="hide">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
502 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
503 <when value="show">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
504 <param name="bundle" size="4" type="integer" value="256" label="Number of paired reads per bundle"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
505 <param name="bundles" size="4" type="integer" value="" optional="true" label="Only certain number of bundles for testing"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
506 </when>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
507 </conditional>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
508 </when>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
509 </conditional>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
510
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
511 </inputs>
23
0ef7736004bb Use of galaxy variable to control number of threads.
jtilman
parents: 22
diff changeset
512
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
513 <outputs>
34
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
514 <data name="outlog" format="txt" label="Flexbar log for ${on_string}"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
515
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
516 <data name="rsout" label="Flexbar on ${reads.rs.name}" format_source="rs">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
517 <filter>reads['mode'] == 'se'</filter>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
518 </data>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
519
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
520 <data name="r1out" label="Flexbar on ${reads.r1.name}" format_source="r1">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
521 <filter>reads['mode'] == "pe"</filter>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
522 </data>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
523 <data name="r2out" label="Flexbar on ${reads.r2.name}" format_source="r2">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
524 <filter>reads['mode'] == "pe"</filter>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
525 </data>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
526
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
527 <collection name="rcout" type="paired" label="Flexbar on ${on_string}">
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
528 <filter>reads['mode'] == "pc"</filter>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
529 <data name="forward" label="Flexbar on ${reads.rc.forward.name}" format_source="rc['forward']"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
530 <data name="reverse" label="Flexbar on ${reads.rc.reverse.name}" format_source="rc['reverse']"/>
4a095317caca Uploaded
jtilman
parents: 31
diff changeset
531 </collection>
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
532 </outputs>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
533
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
534 <help>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
535
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
536 **Description**
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
537
31
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
538 The program Flexbar preprocesses high-throughput sequencing data efficiently. It demultiplexes barcoded runs and removes adapter sequences. Moreover, trimming and filtering features are provided. Flexbar increases read mapping rates and improves genome as well as transcriptome assemblies. Unique molecular identifiers can be extracted in a flexible way. The program supports sequencing data in fastq format, e.g. from the Illumina platform. Flexbar is available on the project_ page.
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
539
24
2720f5e37286 Uploaded
jtilman
parents: 23
diff changeset
540 .. _project: https://github.com/seqan/flexbar
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
541
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
542 ------
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
543
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
544 **Trim-end modes**
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
545
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
546 **Any:** longer side of read remains after overlap removal
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
547
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
548 **Left:** right side remains after removal, align before or at read end
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
549
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
550 **Right:** left part remains after removal, align after or at read start
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
551
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
552 **Left tail:** consider first n bases of reads in alignment
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
553
22
12e4b3bb38c6 Adjusted tool definition to Flexbar release 2.4
jtilman
parents: 21
diff changeset
554 **Right tail:** use only last n bases, see tail-length options
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
555
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
556 ------
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
557
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
558 **Documentation**
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
559
31
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
560 Further documentation is available on the `manual`__ page and via the command line help screen.
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
561
24
2720f5e37286 Uploaded
jtilman
parents: 23
diff changeset
562 .. __: https://github.com/seqan/flexbar/wiki
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
563
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
564 ------
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
565
31
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
566 **References**
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
567
31
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
568 Johannes T. Roehr, Christoph Dieterich, Knut Reinert:
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
569 Flexbar 3.0 – SIMD and multicore parallelization. Bioinformatics 2017.
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
570
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
571 Matthias Dodt, Johannes T. Roehr, Rina Ahmed, Christoph Dieterich:
d43903772a88 Uploaded
jtilman
parents: 30
diff changeset
572 Flexbar – flexible barcode and adapter processing for next-generation sequencing platforms. Biology 2012.
19
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
573
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
574 </help>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
575
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
576 </tool>
621fa3daa2a1 Updated tool definition for Flexbar 2.33 release
jtilman
parents:
diff changeset
577