0
|
1 <tool id="krona-text" name="Visualize with Krona" version="1">
|
|
2
|
|
3 <description>Visualise any hierarchical data</description>
|
|
4
|
|
5 <requirements>
|
|
6 <requirement type="package" version="2.6">krona-tools</requirement>
|
|
7 </requirements>
|
|
8
|
|
9 <!-- the command to run when user hits execute. Run our Rscript and pass the parameter to it -->
|
|
10 <command interpreter="bash">
|
|
11 runKrona.sh $inputfile $isMothur $outputfile
|
|
12
|
|
13
|
|
14 </command>
|
|
15
|
|
16
|
|
17 <inputs>
|
|
18 <!-- parameter examples, see https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax for descriptions -->
|
|
19
|
|
20 <!-- file from history -->
|
|
21 <param name="inputfile" type="data" label="Select input file" help="Choose input file from history. Format: count - Hierarchy (tab separated)"/>
|
|
22 <param name="isMothur" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="is this output from MOTHUR?" help="e.g. taxonomy file generated from Classify.seqs?"/>
|
|
23
|
|
24
|
|
25 </inputs>
|
|
26
|
|
27
|
|
28 <outputs>
|
1
|
29 <data format="html" name="outputfile" from_work_dir="text.krona.html" label="Krona on ${on_string}: HTML"/>
|
0
|
30 </outputs>
|
|
31
|
|
32 <help>
|
|
33 Input file must be a tab-delimited file with first column being a count, rest the hierarchy, for example::
|
|
34
|
|
35 2 Fats Saturated fat
|
|
36 3 Fats Unsaturated fat Monounsaturated fat
|
|
37 3 Fats Unsaturated fat Polyunsaturated fat
|
|
38 13 Carbohydrates Sugars
|
|
39 4 Carbohydrates Dietary fiber
|
|
40 21 Carbohydrates
|
|
41 5 Protein
|
|
42 4
|
|
43
|
|
44 Would yield the following graph: http://krona.sourceforge.net/examples/text.krona.html
|
|
45
|
|
46
|
|
47
|
|
48 </help>
|
|
49 </tool> |