Mercurial > repos > davidmurphy > codonlogo
annotate Codonlogo.xml @ 9:f3462128e87c
Minor alterations to the galaxy interface with some better examples and error messages added.
author | davidmurphy |
---|---|
date | Mon, 30 Jan 2012 08:17:57 -0500 |
parents | 5149eb3a89c2 |
children | 20716450be87 |
rev | line source |
---|---|
4 | 1 <tool id="codonlogo" name="Codon Logo" version="3"> |
2 <description>generator for fasta (eg Clustal alignments)</description> | |
9
f3462128e87c
Minor alterations to the galaxy interface with some better examples and error messages added.
davidmurphy
parents:
8
diff
changeset
|
3 <command interpreter="python -W ignore::DeprecationWarning"> |
8 | 4 codonlogo -F $outformat -s $size -f $input -o $output -t "$logoname" -m $frame -n $stacks -X $showxaxis --show-yaxis $showyaxis --errorbars $errorbars -G $strict --fineprint "$fineprint" --stack-width $stackwidth --stack-height $stackheight --box $box --resolution $resolution --scale-width $scalewidth |
4 | 5 |
6 #if str($ylabel) != '' | |
8 | 7 -x "$xlabel" |
4 | 8 #end if |
9 | |
10 #if str( $ylabel) != '' | |
8 | 11 -y "$ylabel" |
4 | 12 #end if |
8 | 13 |
14 #if str($range.mode) == 'part' | |
4 | 15 -l "$range.seqstart" -u "$range.seqend" |
16 #end if | |
8 | 17 #if str($comp.mode) == 'equiprobable' |
4 | 18 --composition 'equiprobable' |
19 #end if | |
8 | 20 #if str($comp.mode) == 'none' |
4 | 21 --composition 'none' |
22 #end if | |
8 | 23 #if str($comp.mode) == 'file' |
4 | 24 -R $compfile |
25 #end if | |
8 | 26 #if str($comp.mode) == 'Escherichiacoli' |
9
f3462128e87c
Minor alterations to the galaxy interface with some better examples and error messages added.
davidmurphy
parents:
8
diff
changeset
|
27 --comp escherichiacoli |
8 | 28 #end if |
29 #if str($comp.mode) == 'Saccharomycescerevisiae' | |
9
f3462128e87c
Minor alterations to the galaxy interface with some better examples and error messages added.
davidmurphy
parents:
8
diff
changeset
|
30 --comp saccharomycescerevisiae |
8 | 31 #end if |
32 #if str($comp.mode) == 'Homosapiens' | |
9
f3462128e87c
Minor alterations to the galaxy interface with some better examples and error messages added.
davidmurphy
parents:
8
diff
changeset
|
33 --comp homosapiens |
8 | 34 #end if |
4 | 35 |
36 #if $colours.colour == 'part' | |
37 | |
38 #if str( $colours.colorAAA) != '' | |
39 -C $colours.colorAAA AAA "" | |
40 #end if | |
41 | |
42 #if str( $colours.colorAAC) != '' | |
43 -C $colours.colorAAC AAC "" | |
44 #end if | |
45 | |
46 #if str( $colours.colorAAG) != '' | |
47 -C $colours.colorAAG AAG "" | |
48 #end if | |
49 | |
50 #if str( $colours.colorAAU) != '' | |
51 -C $colours.colorAAU AAU "" | |
52 -C $colours.colorAAU AAT "" | |
53 #end if | |
54 | |
55 #if str( $colours.colorACA) != '' | |
56 -C $colours.colorACA ACA "" | |
57 #end if | |
58 | |
59 #if str( $colours.colorACC) != '' | |
60 -C $colours.colorACC ACC "" | |
61 #end if | |
62 | |
63 #if str( $colours.colorACG) != '' | |
64 -C $colours.colorACG ACG "" | |
65 #end if | |
66 | |
67 #if str( $colours.colorACU) != '' | |
68 -C $colours.colorACU ACU "" | |
69 -C $colours.colorACU ACT "" | |
70 #end if | |
71 | |
72 #if str( $colours.colorAGA) != '' | |
73 -C $colours.colorAGA AGA "" | |
74 #end if | |
75 | |
76 #if str( $colours.colorAGC) != '' | |
77 -C $colours.colorAGC AGC "" | |
78 #end if | |
79 | |
80 #if str( $colours.colorAGG) != '' | |
81 -C $colours.colorAGG AGG "" | |
82 #end if | |
83 | |
84 #if str( $colours.colorAGU) != '' | |
85 -C $colours.colorAGU AGU "" | |
86 -C $colours.colorAGU AGT "" | |
87 #end if | |
88 | |
89 #if str( $colours.colorAUA) != '' | |
90 -C $colours.colorAUA AUA "" | |
91 -C $colours.colorAUA ATA "" | |
92 #end if | |
93 | |
94 #if str( $colours.colorAUC) != '' | |
95 -C $colours.colorAUC AUC "" | |
96 -C $colours.colorAUC ATC "" | |
97 #end if | |
98 | |
99 #if str( $colours.colorAUG) != '' | |
100 -C $colours.colorAUG AUG "" | |
101 -C $colours.colorAUG ATG "" | |
102 #end if | |
103 | |
104 #if str( $colours.colorAUU) != '' | |
105 -C $colours.colorAUU AUU "" | |
106 -C $colours.colorAUU ATT "" | |
107 #end if | |
108 | |
109 #if str( $colours.colorCAA) != '' | |
110 -C $colours.colorCAA CAA "" | |
111 #end if | |
112 | |
113 #if str( $colours.colorCAC) != '' | |
114 -C $colours.colorCAC CAC "" | |
115 #end if | |
116 | |
117 #if str( $colours.colorCAG) != '' | |
118 -C $colours.colorCAG CAG "" | |
119 #end if | |
120 | |
121 #if str( $colours.colorCAU) != '' | |
122 -C $colours.colorCAU CAU "" | |
123 -C $colours.colorCAU CAT "" | |
124 #end if | |
125 | |
126 #if str( $colours.colorCCA) != '' | |
127 -C $colours.colorCCA CCA "" | |
128 #end if | |
129 | |
130 #if str( $colours.colorCCC) != '' | |
131 -C $colours.colorCCC CCC "" | |
132 #end if | |
133 | |
134 #if str( $colours.colorCCG) != '' | |
135 -C $colours.colorCCG CCG "" | |
136 #end if | |
137 | |
138 #if str( $colours.colorCCU) != '' | |
139 -C $colours.colorCCU CCU "" | |
140 -C $colours.colorCCU CCT "" | |
141 #end if | |
142 | |
143 #if str( $colours.colorCGA) != '' | |
144 -C $colours.colorCGA CGA "" | |
145 #end if | |
146 | |
147 #if str( $colours.colorCGC) != '' | |
148 -C $colours.colorCGC CGC "" | |
149 #end if | |
150 | |
151 #if str( $colours.colorCGG) != '' | |
152 -C $colours.colorCGG CGG "" | |
153 #end if | |
154 | |
155 #if str( $colours.colorCGU) != '' | |
156 -C $colours.colorCGU CGU "" | |
157 -C $colours.colorCGU CGT "" | |
158 #end if | |
159 | |
160 #if str( $colours.colorCUA) != '' | |
161 -C $colours.colorCUA CUA "" | |
162 -C $colours.colorCUA CTA "" | |
163 #end if | |
164 | |
165 #if str( $colours.colorCUC) != '' | |
166 -C $colours.colorCUC CUC "" | |
167 -C $colours.colorCUC CTC "" | |
168 #end if | |
169 | |
170 #if str( $colours.colorCUG) != '' | |
171 -C $colours.colorCUG CUG "" | |
172 -C $colours.colorCUG CTG "" | |
173 #end if | |
174 | |
175 #if str( $colours.colorCUU) != '' | |
176 -C $colours.colorCUU CUU "" | |
177 -C $colours.colorCUU CTT "" | |
178 #end if | |
179 | |
180 #if str( $colours.colorGAA) != '' | |
181 -C $colours.colorGAA GAA "" | |
182 #end if | |
183 | |
184 #if str( $colours.colorGAC) != '' | |
185 -C $colours.colorGAC GAC "" | |
186 #end if | |
187 | |
188 #if str( $colours.colorGAG) != '' | |
189 -C $colours.colorGAG GAG "" | |
190 #end if | |
191 | |
192 #if str( $colours.colorGAU) != '' | |
193 -C $colours.colorGAU GAU "" | |
194 -C $colours.colorGAU GAT "" | |
195 #end if | |
196 | |
197 #if str( $colours.colorGCA) != '' | |
198 -C $colours.colorGCA GCA "" | |
199 #end if | |
200 | |
201 #if str( $colours.colorGCC) != '' | |
202 -C $colours.colorGCC GCC "" | |
203 #end if | |
204 | |
205 #if str( $colours.colorGCG) != '' | |
206 -C $colours.colorGCG GCG "" | |
207 #end if | |
208 | |
209 #if str( $colours.colorGCU) != '' | |
210 -C $colours.colorGCU GCU "" | |
211 -C $colours.colorGCU GCT "" | |
212 #end if | |
213 | |
214 #if str( $colours.colorGGA) != '' | |
215 -C $colours.colorGGA GGA "" | |
216 #end if | |
217 | |
218 #if str( $colours.colorGGC) != '' | |
219 -C $colours.colorGGC GGC "" | |
220 #end if | |
221 | |
222 #if str( $colours.colorGGG) != '' | |
223 -C $colours.colorGGG GGG "" | |
224 #end if | |
225 | |
226 #if str( $colours.colorGGU) != '' | |
227 -C $colours.colorGGU GGU "" | |
228 -C $colours.colorGGU GGT "" | |
229 #end if | |
230 | |
231 #if str( $colours.colorGUA) != '' | |
232 -C $colours.colorGUA GUA "" | |
233 -C $colours.colorGUA GTA "" | |
234 #end if | |
235 | |
236 #if str( $colours.colorGUC) != '' | |
237 -C $colours.colorGUC GUC "" | |
238 -C $colours.colorGUC GTC "" | |
239 #end if | |
240 | |
241 #if str( $colours.colorGUG) != '' | |
242 -C $colours.colorGUG GUG "" | |
243 -C $colours.colorGUG GTG "" | |
244 #end if | |
245 | |
246 #if str( $colours.colorGUU) != '' | |
247 -C $colours.colorGUU GUU "" | |
248 -C $colours.colorGUU GTT "" | |
249 #end if | |
250 | |
251 #if str( $colours.colorUAA) != '' | |
252 -C $colours.colorUAA UAA "" | |
253 -C $colours.colorUAA TAA "" | |
254 #end if | |
255 | |
256 #if str( $colours.colorUAC) != '' | |
257 -C $colours.colorUAC UAC "" | |
258 -C $colours.colorUAC TAC "" | |
259 #end if | |
260 | |
261 #if str( $colours.colorUAG) != '' | |
262 -C $colours.colorUAG UAG "" | |
263 -C $colours.colorUAG TAG "" | |
264 #end if | |
265 | |
266 #if str( $colours.colorUAU) != '' | |
267 -C $colours.colorUAU UAU "" | |
268 -C $colours.colorUAU TAT "" | |
269 #end if | |
270 | |
271 #if str( $colours.colorUCA) != '' | |
272 -C $colours.colorUCA UCA "" | |
273 -C $colours.colorUCA TCA "" | |
274 #end if | |
275 | |
276 #if str( $colours.colorUCC) != '' | |
277 -C $colours.colorUCC UCC "" | |
278 -C $colours.colorUCC TCC "" | |
279 #end if | |
280 | |
281 #if str( $colours.colorUCG) != '' | |
282 -C $colours.colorUCG UCG "" | |
283 -C $colours.colorUCG TCG "" | |
284 #end if | |
285 | |
286 #if str( $colours.colorUCU) != '' | |
287 -C $colours.colorUCU UCU "" | |
288 -C $colours.colorUCU TCT "" | |
289 #end if | |
290 | |
291 #if str( $colours.colorUGA) != '' | |
292 -C $colours.colorUGA UGA "" | |
293 -C $colours.colorUGA TGA "" | |
294 #end if | |
295 | |
296 #if str( $colours.colorUGC) != '' | |
297 -C $colours.colorUGC UGC "" | |
298 -C $colours.colorUGC TGC "" | |
299 #end if | |
300 | |
301 #if str( $colours.colorUGG) != '' | |
302 -C $colours.colorUGG UGG "" | |
303 -C $colours.colorUGG TGG "" | |
304 #end if | |
305 | |
306 #if str( $colours.colorUGU) != '' | |
307 -C $colours.colorUGU UGU "" | |
308 -C $colours.colorUGU TGT "" | |
309 #end if | |
310 | |
311 #if str( $colours.colorUUA) != '' | |
312 -C $colours.colorUUA UUA "" | |
313 -C $colours.colorUUA TTA "" | |
314 #end if | |
315 | |
316 #if str( $colours.colorUUC) != '' | |
317 -C $colours.colorUUC UUC "" | |
318 -C $colours.colorUUC TTC "" | |
319 #end if | |
320 | |
321 #if str( $colours.colorUUG) != '' | |
322 -C $colours.colorUUG UUG "" | |
323 -C $colours.colorUUG TTG "" | |
324 #end if | |
325 | |
326 #if str( $colours.colorUUU) != '' | |
327 -C $colours.colorUUU UUU "" | |
328 -C $colours.colorUUU TTT "" | |
329 #end if | |
330 #end if | |
331 | |
332 </command> | |
333 <inputs> | |
334 <page> | |
8 | 335 <param format="text" name="input" type="data" label="Input file.(must be an aligned fasta file of sequences the same length, recommended to use sequences aligned by codon)" /> |
4 | 336 |
337 <param name="logoname" label="Title for output Sequence Logo" type="text" size="50" value="" /> | |
338 | |
339 <param name="outformat" type="select" label="Output format for image (or text report)" > | |
340 <option value="png" selected="True">PNG screen quality</option> | |
341 <option value="png_print">High quality printable PNG</option> | |
342 <option value="pdf">PDF</option> | |
343 <option value="jpeg">JPG</option> | |
344 <option value="eps">EPS</option> | |
345 <option value="txt">Text (shows the detailed calculations for each position - no image)</option> | |
346 </param> | |
8 | 347 <param name="resolution" size="5" type="integer" value="96" label="Bitmap resolution in dots per inch (DPI).For high quality printable PNG this should be set to 600" /> |
348 | |
4 | 349 <param name="frame" type="select" label="Frame to view the alignment. If reverse complement is selected then codonlogo will read from the last symbol in the sequences backwards and replace each base with it's complement." > |
350 <option value="0" selected="True">0</option> | |
351 <option value="1">+1</option> | |
8 | 352 <option value="2">+2</option> |
4 | 353 <option value="3">reverse complement 0</option> |
354 <option value="4">reverse complement +1</option> | |
8 | 355 <option value="5">reverse complement +2</option> |
4 | 356 </param> |
357 <param name="stacks" size="5" type="integer" value="20" label="Number of stacks per line, default 20" /> | |
358 <param name="showxaxis" type="select" display="radio" label="Display sequence numbers along x-axis?" > | |
359 <option value="True" selected="True">Yes</option> | |
360 <option value="False">No</option> | |
361 </param> | |
362 <param name="xlabel" label="X-axis label" type="text" size="50" value="" /> | |
363 <param name="ylabel" label="Y-axis label" type="text" size="50" value="" /> | |
364 | |
8 | 365 <param name="fineprint" label="The fine print." type="text" size="50" value="CodonLogo 1.1" /> |
366 | |
367 <param name="stackwidth" size="5" type="float" value="40.0" label="Width of a logo stack" /> | |
4 | 368 |
8 | 369 <param name="stackheight" size="5" type="integer" value="100" label="height of a logo stack" /> |
370 <param name="box" type="select" display="radio" label="Draw boxes around symbols?" > | |
371 <option value="True" >Yes</option> | |
372 <option value="False" selected="True">No</option> | |
373 </param> | |
4 | 374 <param name="showyaxis" type="select" display="radio" label="Display entropy scale along y-axis?" > |
375 <option value="True" selected="True">Yes</option> | |
376 <option value="False">No</option> | |
377 </param> | |
378 <param name="errorbars" type="select" display="radio" label="Display error bars?" > | |
379 <option value="True" selected="True">Yes</option> | |
380 <option value="False">No</option> | |
381 </param> | |
8 | 382 <param name="scalewidth" type="select" display="radio" label="Scale the visible stack width by the fraction of symbols in the column?" > |
383 <option value="True" selected="True">Yes</option> | |
384 <option value="False">No</option> | |
385 </param> | |
386 <param name="strict" type="select" display="radio" label="Allow gaps which are not in groups of 3/ allow codons with ambiguous nucleotides." > | |
387 <option value="False" selected="True">Yes</option> | |
388 <option value="True" >No</option> | |
389 </param> | |
4 | 390 <conditional name="range"> |
391 <param name="mode" type="select" label="Include entire sequence (default) or specify a subsequence range to use"> | |
392 <option value="complete" selected="true">complete sequence</option> | |
393 <option value="part">Only use a part of the sequence</option> | |
394 </param> | |
395 <when value="complete"> | |
396 </when> | |
397 <when value="part"> | |
8 | 398 <param name="seqstart" size="5" type="integer" value="1" help="WARNING: Specifying codon numbers outside the sequence lengths will cause unpredictable but bad consequences!" |
399 label="Index_start (eg 1=first codon) of the start of the sequence range to include in the logo"> | |
4 | 400 </param> |
8 | 401 <param name="seqend" size="5" type="integer" value="99999" label="Index_end (eg 75=75th codon) of the end of the sequence range to include in the logo" > |
4 | 402 </param> |
403 </when> | |
404 </conditional> | |
405 <conditional name="comp"> | |
406 <param name="mode" type="select" label="Select expected composition: 'equiprobable', 'none' (no small sample correction), or supply a file"> | |
9
f3462128e87c
Minor alterations to the galaxy interface with some better examples and error messages added.
davidmurphy
parents:
8
diff
changeset
|
407 <option value="none" >No small sample correction</option> |
f3462128e87c
Minor alterations to the galaxy interface with some better examples and error messages added.
davidmurphy
parents:
8
diff
changeset
|
408 <option value="equiprobable" >Equiprobable</option> |
f3462128e87c
Minor alterations to the galaxy interface with some better examples and error messages added.
davidmurphy
parents:
8
diff
changeset
|
409 <option value="Homosapiens" >Human</option> |
f3462128e87c
Minor alterations to the galaxy interface with some better examples and error messages added.
davidmurphy
parents:
8
diff
changeset
|
410 <option value="Yeast" >Saccharomycescerevisiae</option> |
f3462128e87c
Minor alterations to the galaxy interface with some better examples and error messages added.
davidmurphy
parents:
8
diff
changeset
|
411 <option value="E.Coli" >Escherichiacoli</option> |
f3462128e87c
Minor alterations to the galaxy interface with some better examples and error messages added.
davidmurphy
parents:
8
diff
changeset
|
412 <option value="From File">from file</option> |
4 | 413 |
414 </param> | |
415 <when value="auto"> | |
416 </when> | |
417 <when value="equiprobable"> | |
418 </when> | |
419 <when value="none"> | |
420 </when> | |
421 <when value="file"> | |
422 <param format="txt" name="compfile" type="data" label="File containing the expected composition of the sequence. expected: a file with 64 codons followed by their probability. it must have 64 lines and each line must have a codon followed by a space followed by a weigt." /> | |
423 </when> | |
424 | |
425 </conditional> | |
426 <conditional name="colours"> | |
427 <param name="colour" type="select" label="Choose colours?(it is not required to set values for all of them. Colors can be specified using CSS2 syntax. e.g. 'red', '#FF0000', etc. )"> | |
428 <option value="no" selected="true">Default colours</option> | |
429 <option value="part">Set your own.</option> | |
430 </param> | |
431 <when value="no"> | |
432 </when> | |
433 <when value="part"> | |
434 | |
435 <param name="colorAAA" size="10" type="text" value="" label="AAA" /> | |
436 <param name="colorAAC" size="10" type="text" value="" label="AAC" /> | |
437 <param name="colorAAG" size="10" type="text" value="" label="AAG" /> | |
438 <param name="colorAAU" size="10" type="text" value="" label="AAU" /> | |
439 <param name="colorACA" size="10" type="text" value="" label="ACA" /> | |
440 <param name="colorACC" size="10" type="text" value="" label="ACC" /> | |
441 <param name="colorACG" size="10" type="text" value="" label="ACG" /> | |
442 <param name="colorACU" size="10" type="text" value="" label="ACU" /> | |
443 <param name="colorAGA" size="10" type="text" value="" label="AGA" /> | |
444 <param name="colorAGC" size="10" type="text" value="" label="AGC" /> | |
445 <param name="colorAGG" size="10" type="text" value="" label="AGG" /> | |
446 <param name="colorAGU" size="10" type="text" value="" label="AGU" /> | |
447 <param name="colorAUA" size="10" type="text" value="" label="AUA" /> | |
448 <param name="colorAUC" size="10" type="text" value="" label="AUC" /> | |
449 <param name="colorAUG" size="10" type="text" value="" label="AUG" /> | |
450 <param name="colorAUU" size="10" type="text" value="" label="AUU" /> | |
451 <param name="colorCAA" size="10" type="text" value="" label="CAA" /> | |
452 <param name="colorCAC" size="10" type="text" value="" label="CAC" /> | |
453 <param name="colorCAG" size="10" type="text" value="" label="CAG" /> | |
454 <param name="colorCAU" size="10" type="text" value="" label="CAU" /> | |
455 <param name="colorCCA" size="10" type="text" value="" label="CCA" /> | |
456 <param name="colorCCC" size="10" type="text" value="" label="CCC" /> | |
457 <param name="colorCCG" size="10" type="text" value="" label="CCG" /> | |
458 <param name="colorCCU" size="10" type="text" value="" label="CCU" /> | |
459 <param name="colorCGA" size="10" type="text" value="" label="CGA" /> | |
460 <param name="colorCGC" size="10" type="text" value="" label="CGC" /> | |
461 <param name="colorCGG" size="10" type="text" value="" label="CGG" /> | |
462 <param name="colorCGU" size="10" type="text" value="" label="CGU" /> | |
463 <param name="colorCUA" size="10" type="text" value="" label="CUA" /> | |
464 <param name="colorCUC" size="10" type="text" value="" label="CUC" /> | |
465 <param name="colorCUG" size="10" type="text" value="" label="CUG" /> | |
466 <param name="colorCUU" size="10" type="text" value="" label="CUU" /> | |
467 <param name="colorGAA" size="10" type="text" value="" label="GAA" /> | |
468 <param name="colorGAC" size="10" type="text" value="" label="GAC" /> | |
469 <param name="colorGAG" size="10" type="text" value="" label="GAG" /> | |
470 <param name="colorGAU" size="10" type="text" value="" label="GAU" /> | |
471 <param name="colorGCA" size="10" type="text" value="" label="GCA" /> | |
472 <param name="colorGCC" size="10" type="text" value="" label="GCC" /> | |
473 <param name="colorGCG" size="10" type="text" value="" label="GCG" /> | |
474 <param name="colorGCU" size="10" type="text" value="" label="GCU" /> | |
475 <param name="colorGGA" size="10" type="text" value="" label="GGA" /> | |
476 <param name="colorGGC" size="10" type="text" value="" label="GGC" /> | |
477 <param name="colorGGG" size="10" type="text" value="" label="GGG" /> | |
478 <param name="colorGGU" size="10" type="text" value="" label="GGU" /> | |
479 <param name="colorGUA" size="10" type="text" value="" label="GUA" /> | |
480 <param name="colorGUC" size="10" type="text" value="" label="GUC" /> | |
481 <param name="colorGUG" size="10" type="text" value="" label="GUG" /> | |
482 <param name="colorGUU" size="10" type="text" value="" label="GUU" /> | |
483 <param name="colorUAA" size="10" type="text" value="" label="UAA" /> | |
484 <param name="colorUAC" size="10" type="text" value="" label="UAC" /> | |
485 <param name="colorUAG" size="10" type="text" value="" label="UAG" /> | |
486 <param name="colorUAU" size="10" type="text" value="" label="UAU" /> | |
487 <param name="colorUCA" size="10" type="text" value="" label="UCA" /> | |
488 <param name="colorUCC" size="10" type="text" value="" label="UCC" /> | |
489 <param name="colorUCG" size="10" type="text" value="" label="UCG" /> | |
490 <param name="colorUCU" size="10" type="text" value="" label="UCU" /> | |
491 <param name="colorUGA" size="10" type="text" value="" label="UGA" /> | |
492 <param name="colorUGC" size="10" type="text" value="" label="UGC" /> | |
493 <param name="colorUGG" size="10" type="text" value="" label="UGG" /> | |
494 <param name="colorUGU" size="10" type="text" value="" label="UGU" /> | |
495 <param name="colorUUA" size="10" type="text" value="" label="UUA" /> | |
496 <param name="colorUUC" size="10" type="text" value="" label="UUC" /> | |
497 <param name="colorUUG" size="10" type="text" value="" label="UUG" /> | |
498 <param name="colorUUU" size="10" type="text" value="" label="UUU" /> | |
499 | |
500 | |
501 | |
502 </when> | |
503 | |
504 </conditional> | |
505 <param name="size" type="select" label="Output CodonLogo size" > | |
506 <option value="large" selected="True">Large</option> | |
507 <option value="medium">Medium</option> | |
508 <option value="small">Small</option> | |
509 </param> | |
510 | |
511 </page> | |
512 </inputs> | |
513 <outputs> | |
514 <data format="pdf" name="output" label="${logoname}_output.${outformat}"> | |
515 <change_format> | |
516 <when input="outformat" value="png_print" format="png" /> | |
517 <when input="outformat" value="png" format="png" /> | |
518 <when input="outformat" value="jpeg" format="jpg" /> | |
519 <when input="outformat" value="eps" format="eps" /> | |
520 <when input="outformat" value="txt" format="txt" /> | |
521 </change_format> | |
522 </data> | |
523 </outputs> | |
524 <help> | |
525 | |
526 **Note** | |
527 | |
528 This tool uses CodonLogo in Galaxy to generate a sequence logo from a provided alignment. | |
529 The input file must be an alignment in your current history. | |
530 The tool will attempt to read a provided file and if it is unable to it will generate an error. | |
531 | |
532 A typical output looks like this | |
533 | |
534 .. image:: ./static/images/CodonLogoExample.png | |
535 | |
536 ---- | |
537 | |
538 **Warning about input files** | |
539 | |
540 The program used by this tool will fail if your alignment files are not all the same length. | |
541 | |
542 Fasta alignments from ClustalW Galaxy tool will work but many other fasta files may cause this tool to produce an error and fail - please do not file | |
543 a Galaxy bug report - this is a feature of the tool and a problem with your source data - not a tool error - please make certain all your fasta | |
544 sequences are the same length! | |
545 | |
546 Files must first be converted to fasta format in order to be used with this tool. | |
547 | |
548 ---- | |
549 | |
550 The default colour scheme is based on associated amino acid types: | |
551 | |
552 Polar positive | |
553 H, K, R -Light Blue | |
554 | |
555 Polar negative | |
556 D, E -Red | |
557 | |
558 Polar neutral | |
559 S, T, N, Q -Green | |
560 | |
561 Non-polar aliphatic | |
562 A, V, L, I, M -Blue | |
563 | |
564 Non-polar aromatic | |
565 F, W, Y -Magenta | |
566 P, G -Brown | |
567 C -Yellow | |
568 | |
569 Stop codons -Black | |
570 | |
571 | |
572 **Attribution** | |
573 | |
574 | |
575 This Galaxy wrapper was modified for CodonLogo by David Murphy and is based on the wrapper written by Ross Lazarus for the rgenetics project and the source code is licensed under the LGPL_ | |
576 | |
577 .. _Weblogo3: http://weblogo.berkeley.edu/ | |
578 .. _LGPL: http://www.gnu.org/copyleft/lesser.html | |
579 .. _CodonLogo: http://recode.ucc.ie/CodonLogo | |
580 | |
581 </help> | |
582 | |
583 </tool> | |
584 | |
585 |