annotate krona_text.xml @ 1:d6435b34b96b draft

Uploaded
author saskia-hiltemann
date Thu, 08 Oct 2015 11:26:05 -0400
parents ebbb18d665fd
children ec5bddcdff47
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
1 <tool id="krona-text" name="Visualize with Krona" version="1">
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
2
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
3 <description>Visualise any hierarchical data</description>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
4
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
5 <requirements>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
6 <requirement type="package" version="2.6">krona-tools</requirement>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
7 </requirements>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
8
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
9 <!-- the command to run when user hits execute. Run our Rscript and pass the parameter to it -->
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
10 <command interpreter="bash">
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
11 runKrona.sh $inputfile $isMothur $outputfile
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
12
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
13
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
14 </command>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
15
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
16
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
17 <inputs>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
18 <!-- parameter examples, see https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax for descriptions -->
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
19
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
20 <!-- file from history -->
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
21 <param name="inputfile" type="data" label="Select input file" help="Choose input file from history. Format: count - Hierarchy (tab separated)"/>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
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?"/>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
23
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
24
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
25 </inputs>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
26
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
27
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
28 <outputs>
1
d6435b34b96b Uploaded
saskia-hiltemann
parents: 0
diff changeset
29 <data format="html" name="outputfile" from_work_dir="text.krona.html" label="Krona on ${on_string}: HTML"/>
0
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
30 </outputs>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
31
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
32 <help>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
33 Input file must be a tab-delimited file with first column being a count, rest the hierarchy, for example::
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
34
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
35 2 Fats Saturated fat
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
36 3 Fats Unsaturated fat Monounsaturated fat
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
37 3 Fats Unsaturated fat Polyunsaturated fat
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
38 13 Carbohydrates Sugars
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
39 4 Carbohydrates Dietary fiber
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
40 21 Carbohydrates
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
41 5 Protein
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
42 4
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
43
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
44 Would yield the following graph: http://krona.sourceforge.net/examples/text.krona.html
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
45
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
46
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
47
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
48 </help>
ebbb18d665fd Uploaded
saskia-hiltemann
parents:
diff changeset
49 </tool>