annotate taxonomy_krona_chart.xml @ 9:1334cb4c6b68 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 0be1842634941540d5e313b1ad9cb5eb81fd7305"
author iuc
date Sat, 30 Nov 2019 13:05:03 -0500
parents c9f8fef1df74
children e9005d1f3cfd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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
1 <tool id="taxonomy_krona_chart" name="Krona pie chart" version="2.7.1">
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 -n '${root_name}'
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
14 -o '${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
15 ${combine_inputs}
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
16 #for $input_count, $input_dataset in enumerate( $type_of_data.input ):
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
17 '${input_dataset},${input_count}'
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
18 #end for
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
19 #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
20 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
21 -n '${root_name}'
8e2be617b437 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit d62a0a2d4d0a8ac23014f09c1958d7ca0ea4fbb6
iuc
parents: 2
diff changeset
22 -o '${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
23 ${combine_inputs}
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
24 #for $input_dataset in $type_of_data.input:
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
25 #set $identifier=re.sub('[^\w\-\s]', '_', str($input_dataset.element_identifier))
c9f8fef1df74 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 67d6ebc478c0cb5b7923de3f60f889a9b56f0856
iuc
parents: 7
diff changeset
26 '${input_dataset},${identifier}'
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
27 #end for
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
28 #end if
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
29 &&
020b3087d0b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 664ef05c64e91acc8355256d59e5c8e4f779ece9
iuc
parents: 4
diff changeset
30 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
31 ]]></command>
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
32 <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
33 <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
34 <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
35 <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
36 <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
37 </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
38 <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
39 <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
40 <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
41 <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
42 <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
43 <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
44 <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
45 <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
46 <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
47 <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
48 <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
49 <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
50 <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
51 <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
52 <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
53 <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
54 <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
55 <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
56 <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
57 <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
58 <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
59 <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
60 <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
61 <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
62 <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
63 </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
64 </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
65 <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
66 <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
67 </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
68 </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
69 <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
70 <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
71 </inputs>
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
72 <outputs>
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
73 <data format="html" name="output" label="${tool.name} on ${on_string}: HTML"/>
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
74 </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
75 <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
76 <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
77 <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
78 <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
79 <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
80 <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
81 <param name="combine_inputs" value="False"/>
6
d41b98e72c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit ab6f8d14dce18b6f249d40dc6f52b82eb51bff3d
iuc
parents: 5
diff changeset
82 <output name="output" file="krona_test1.html" ftype="html" lines_diff="102"/>
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
83 </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
84 <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
85 <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
86 <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
87 <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
88 <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
89 <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
90 <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
91 <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
92 <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
93 <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
94 <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
95 <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
96 </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
97 </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
98 </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
99 </tests>
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
100 <help>
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
101 **What it does**
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
102
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
103 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
104
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
105
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
106 ------
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
107
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
108 **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
109
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
110 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
111
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
112 -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
113 -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
114 -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
115
09552faff9c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit e4c2b31a732b57cc0210070afeaa2dfeca1e1eb4
iuc
parents: 0
diff changeset
116 -----
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
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
118 **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
119
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
120 *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
121 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
122
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
123 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
124 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
125 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
126 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
127 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
128 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
129 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
130 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
131
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
132 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
133
73486cc6170e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/taxonomy_krona_chart commit 40d8aaf782f1693a435ec17abe81e81fa157f724
iuc
parents: 6
diff changeset
134 .. _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
135
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 -----
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
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
138 **License and citation**
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
139
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
140 This Galaxy tool is Copyright © 2013-2014 `CRS4 Srl.`_ and is released under the `MIT license`_.
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
141
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
142 .. _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
143 .. _MIT license: https://opensource.org/licenses/MIT
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
144
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
145 You can use this tool only if you agree to the license terms of: `Krona`_.
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
146
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
147 .. _Krona: https://github.com/marbl/Krona/wiki
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
148 </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
149 <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
150 <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
151 <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
152 </citations>
0
bd565e1e3c5f Uploaded
crs4
parents:
diff changeset
153 </tool>