annotate taxonomy_krona_chart.xml @ 10:e9005d1f3cfd draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
author iuc
date Fri, 18 Dec 2020 16:16:12 +0000
parents 1334cb4c6b68
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
1 <tool id="taxonomy_krona_chart" name="Krona pie chart" version="2.7.1+galaxy0">
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
2 <description>from taxonomic profile</description>
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
3 <requirements>
9
1334cb4c6b68 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 0be1842634941540d5e313b1ad9cb5eb81fd7305"
iuc
parents: 8
diff changeset
4 <requirement type="package" version="2.7.1">krona</requirement>
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
5 </requirements>
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
6 <version_command>ktImportText | sed -n 's/.*\(KronaTools [[:digit:].]\{1,\}\).*/\1/p'</version_command>
5
020b3087d0b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 664ef05c64e91acc8355256d59e5c8e4f779ece9
iuc
parents: 4
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
8
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
8 #import re
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
9
4
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
10 #if $type_of_data.input[0].is_of_type('taxonomy'):
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
11 ktImportGalaxy
4
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
12 -d '${type_of_data.max_rank}'
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
13 #else:
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
14 ktImportText
4
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
15 #end if
10
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
16
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
17 -n '${root_name}'
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
18 -o '${output}'
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
19 ${combine_inputs}
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
20 #for $input_dataset in $type_of_data.input:
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
21 #set $identifier=re.sub('[^\w\-\s]', '_', str($input_dataset.element_identifier))
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
22 '${input_dataset},${identifier}'
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
23 #end for
5
020b3087d0b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 664ef05c64e91acc8355256d59e5c8e4f779ece9
iuc
parents: 4
diff changeset
24 &&
020b3087d0b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 664ef05c64e91acc8355256d59e5c8e4f779ece9
iuc
parents: 4
diff changeset
25 if [ -d '${output}.files' ] ; then mkdir '${output.extra_files_path}' && mv '${output}.files' '${output.extra_files_path}' ; fi
4
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
26 ]]></command>
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
27 <inputs>
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
28 <conditional name="type_of_data">
7
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
29 <param name="type_of_data_selector" type="select" label="What is the type of your input data" help="Choose between Galaxy Taxonomy and generic table format (e.g. from MetaPhlAn or mothur)">
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
30 <option value="taxonomy" selected="True">Taxonomy</option>
7
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
31 <option value="text">Tabular</option>
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
32 </param>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
33 <when value="taxonomy">
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
34 <param name="input" type="data" format="taxonomy" multiple="True" label="Input file" help="Select a taxonomy dataset" />
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
35 <param name="max_rank" type="select" label="show ranks from root to" help="-d; Show all level from root up to this point">
4
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
36 <option value="8">Class</option>
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
37 <option value="0">Show entire tree</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
38 <option value="1">Superkingdom</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
39 <option value="2">Kingdom</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
40 <option value="3">Subkingdom</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
41 <option value="4">Superphylum</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
42 <option value="5">Phylum</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
43 <option value="6">Subphylum</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
44 <option value="7">Superclass</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
45 <option value="9">Subclass</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
46 <option value="10">Superorder</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
47 <option value="11">Order</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
48 <option value="12">Suborder</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
49 <option value="13">Superfamily</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
50 <option value="14">Family</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
51 <option value="15">Subfamily</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
52 <option value="16">Tribe</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
53 <option value="17">Subtribe</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
54 <option value="18">Genus</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
55 <option value="19">Subgenus</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
56 <option value="20">Species</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
57 <option value="21">Subspecies</option>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
58 </param>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
59 </when>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
60 <when value="text">
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
61 <param name="input" type="data" format="tabular" multiple="True" label="Input file" help="Select a MetaPhlAn dataset" />
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
62 </when>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
63 </conditional>
2
50f204c82159 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 70d4a2d1563e834d8394dce8017a1f0b7ad74f23
iuc
parents: 1
diff changeset
64 <param name="root_name" type="text" value="Root" label="Provide a name for the basal rank" help="-n; Otherwise it will simply be called &quot;Root&quot;"/>
4
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
65 <param name="combine_inputs" type="boolean" truevalue="-c" falsevalue="" checked="False" label="Combine data from multiple datasets?" help="-c; Combine data from each dataset, rather than creating separate datasets within the chart"/>
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
66 </inputs>
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
67 <outputs>
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
68 <data format="html" name="output" label="${tool.name} on ${on_string}: HTML"/>
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
69 </outputs>
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
70 <tests>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
71 <test>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
72 <param name="type_of_data_selector" value="taxonomy"/>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
73 <param name="input" value="taxonomy_data.tax" ftype="taxonomy" />
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
74 <param name="max_rank" value="Genus"/>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
75 <param name="root_name" value="Root"/>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
76 <param name="combine_inputs" value="False"/>
10
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
77 <output name="output" ftype="html">
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
78 <assert_contents>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
79 <has_text text="KRONA"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
80 <has_text text="taxonomy_data"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
81 <has_text text="Eukaryota"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
82 <has_text text="Chordata"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
83 <has_text text="Rodentia"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
84 </assert_contents>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
85 </output>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
86 </test>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
87 <test>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
88 <param name="type_of_data_selector" value="taxonomy"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
89 <param name="input" value="taxonomy_data.tax,tax2.tax" ftype="taxonomy" />
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
90 <param name="max_rank" value="Genus"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
91 <param name="root_name" value="Root"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
92 <param name="combine_inputs" value="False"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
93 <output name="output" ftype="html">
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
94 <assert_contents>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
95 <has_text text="KRONA"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
96 <has_text text="taxonomy_data"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
97 <has_text text="tax2"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
98 <has_text text="Proteobacteria"/>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
99 </assert_contents>
e9005d1f3cfd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 46ae76d42d29ce02cf05b6ab735e0c305a86f9cd"
iuc
parents: 9
diff changeset
100 </output>
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
101 </test>
8
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
102 <test><!-- test with tabular inputs and multiple datasets -->
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
103 <param name="type_of_data_selector" value="text"/>
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
104 <param name="input" value="pampa-small.tsv,anguil-small.tsv" ftype="tabular" />
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
105 <param name="max_rank" value="Genus"/>
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
106 <param name="root_name" value="Root"/>
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
107 <param name="combine_inputs" value="False"/>
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
108 <output name="output" ftype="html">
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
109 <assert_contents>
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
110 <has_text text="KRONA"/>
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
111 <has_text text="pampa-small"/>
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
112 <has_text text="anguil-small"/>
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
113 <has_text text="Proteobacteria"/>
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
114 </assert_contents>
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
115 </output>
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
116 </test>
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
117 </tests>
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
118 <help>
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
119 **What it does**
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
120
4
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
121 This tool renders results of a metagenomic profiling as a zoomable pie chart using Krona_.
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
122
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
123
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
124 ------
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
125
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
126 **Krona options**
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
127
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
128 The Galaxy version supports the following options::
4
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
129
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
130 -n Name of the highest level.
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
131 -c Combine data from each file, rather than creating separate datasets within the chart.
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
132 -d Maximum depth of wedges to include in the chart.
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
133
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
134 -----
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
135
7
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
136 **Input format**
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
137
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
138 *Tabular* input format should be a tab-delimited file with the first column containing a count
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
139 and the remaining columns describing the hierarchy. For example::
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
140
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
141 2 Fats Saturated fat
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
142 3 Fats Unsaturated fat Monounsaturated fat
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
143 3 Fats Unsaturated fat Polyunsaturated fat
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
144 13 Carbohydrates Sugars
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
145 4 Carbohydrates Dietary fiber
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
146 21 Carbohydrates
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
147 5 Protein
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
148 4
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
149
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
150 which would yield this `Krona plot`_.
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
151
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
152 .. _Krona plot: https://marbl.github.io/Krona/examples/xml.krona.html
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
153
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
154 -----
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
155
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
156 **License and citation**
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
157
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
158 This Galaxy tool is Copyright © 2013-2014 `CRS4 Srl.`_ and is released under the `MIT license`_.
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
159
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
160 .. _CRS4 Srl.: http://www.crs4.it/
4
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
161 .. _MIT license: https://opensource.org/licenses/MIT
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
162
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
163 You can use this tool only if you agree to the license terms of: `Krona`_.
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
164
4
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
165 .. _Krona: https://github.com/marbl/Krona/wiki
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
166 </help>
1
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
167 <citations>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
168 <citation type="doi">10.1186/1471-2105-12-385</citation>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
169 <citation type="doi">10.1093/bioinformatics/btu135</citation>
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
170 </citations>
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
171 </tool>