Mercurial > repos > iuc > metaphlan_hclust_heatmap
comparison metaphlan_hclust_heatmap.xml @ 0:f7353110d18c draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan2/ commit 345fb7ef485456ae833be5ad2d2ce4f8765652c8
author | iuc |
---|---|
date | Sat, 04 Mar 2017 12:24:23 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f7353110d18c |
---|---|
1 <tool id="metaphlan_hclust_heatmap" name="Generate heatmap" version="@WRAPPER_VERSION@.0"> | |
2 | |
3 <description>with hierarchical clustering of both samples | |
4 and microbial clades for MetaPhlAn2</description> | |
5 | |
6 <macros> | |
7 <import>metaphlan2_macros.xml</import> | |
8 </macros> | |
9 | |
10 <expand macro="requirements"/> | |
11 <expand macro="stdio"/> | |
12 | |
13 <version_command>metaphlan_hclust_heatmap.py -v</version_command> | |
14 | |
15 <command> | |
16 <![CDATA[ | |
17 metaphlan_hclust_heatmap.py | |
18 --in '$in' | |
19 | |
20 #if $output_format == "png" | |
21 --out 'output.png' | |
22 #else if $output_format == "pdf" | |
23 --out 'output.pdf' | |
24 #else if $output_format == "svg" | |
25 --out 'output.svg' | |
26 #end if | |
27 | |
28 -m '$m' | |
29 -d '$d' | |
30 -f '$f' | |
31 | |
32 #if $x | |
33 -x '$x' | |
34 #end if | |
35 #if $y | |
36 -y '$y' | |
37 #end if | |
38 --minv '$minv' | |
39 #if $maxv | |
40 --maxv $maxv | |
41 #end if | |
42 --tax_lev '$tax_lev' | |
43 --perc '$perc' | |
44 #if $top | |
45 --top '$top' | |
46 #end if | |
47 --sdend_h '$sdend_h' | |
48 --fdend_w '$fdend_w' | |
49 --cm_h '$cm_h' | |
50 --font_size '$font_size' | |
51 --clust_line_w '$clust_line_w' | |
52 -c '$c' | |
53 ]]> | |
54 </command> | |
55 | |
56 <inputs> | |
57 <param argument="--in" type="data" format="tabular,txt" label="Input file of microbial relative abundances" help="This file is typically obtained with merge_metaphlan_tables"/> | |
58 <param name="output_format" type="select" label="Format for the output image"> | |
59 <option value="png" selected="true">PNG</option> | |
60 <option value="pdf">PDF</option> | |
61 <option value="svg">SVG</option> | |
62 </param> | |
63 <param argument="-m" type="select" label="Hierarchical clustering method"> | |
64 <option value="average" selected="true">Average</option> | |
65 <option value="centroid">Centroid</option> | |
66 <option value="complete">Complete</option> | |
67 <option value="median">Median</option> | |
68 <option value="single">Single</option> | |
69 <option value="ward">Ward</option> | |
70 <option value="weighted">Weighted</option> | |
71 </param> | |
72 <param argument="-d" type="select" label="Distance function for samples"> | |
73 <option value="braycurtis" selected="true">braycurtis</option> | |
74 <option value="canberra">canberra</option> | |
75 <option value="chebyshev">chebyshev</option> | |
76 <option value="cityblock">cityblock</option> | |
77 <option value="correlation">correlation</option> | |
78 <option value="cosine">cosine</option> | |
79 <option value="dice">dice</option> | |
80 <option value="euclidean">euclidean</option> | |
81 <option value="hamming">hamming</option> | |
82 <option value="jaccard">jaccard</option> | |
83 <option value="kulsinski">kulsinski</option> | |
84 <option value="mahalanobis">mahalanobis</option> | |
85 <option value="matching">matching</option> | |
86 <option value="minkowski">minkowski</option> | |
87 <option value="rogerstanimoto">rogerstanimoto</option> | |
88 <option value="russellrao">russellrao</option> | |
89 <option value="seuclidean">seuclidean</option> | |
90 <option value="sokalmichener">sokalmichener</option> | |
91 <option value="sokalsneath">sokalsneath</option> | |
92 <option value="sqeuclidean">sqeuclidean</option> | |
93 <option value="wminkowski">wminkowski</option> | |
94 <option value="ward">ward</option> | |
95 <option value="yule">yule</option> | |
96 </param> | |
97 <param argument="-f" type="select" label="Distance function for microbes"> | |
98 <option value="braycurtis">braycurtis</option> | |
99 <option value="canberra">canberra</option> | |
100 <option value="chebyshev">chebyshev</option> | |
101 <option value="cityblock">cityblock</option> | |
102 <option value="correlation" selected="true">correlation</option> | |
103 <option value="cosine">cosine</option> | |
104 <option value="dice">dice</option> | |
105 <option value="euclidean">euclidean</option> | |
106 <option value="hamming">hamming</option> | |
107 <option value="jaccard">jaccard</option> | |
108 <option value="kulsinski">kulsinski</option> | |
109 <option value="mahalanobis">mahalanobis</option> | |
110 <option value="matching">matching</option> | |
111 <option value="minkowski">minkowski</option> | |
112 <option value="rogerstanimoto">rogerstanimoto</option> | |
113 <option value="russellrao">russellrao</option> | |
114 <option value="seuclidean">seuclidean</option> | |
115 <option value="sokalmichener">sokalmichener</option> | |
116 <option value="sokalsneath">sokalsneath</option> | |
117 <option value="sqeuclidean">sqeuclidean</option> | |
118 <option value="wminkowski">wminkowski</option> | |
119 <option value="ward">ward</option> | |
120 <option value="yule">yule</option> | |
121 </param> | |
122 <param argument="-x" type="integer" optional="True" label="Width of heatmap cells" help="Automatically set, this option should not be necessary unless for very large heatmaps"/> | |
123 <param argument="-y" type="integer" optional="True" label="Height of heatmap cells" help="Automatically set, this option should not be necessary unless for very large heatmaps"/> | |
124 <param argument="--minv" type="float" value="0" label="Minimum value to display" help="Values around 0.001 are also reasonable"/> | |
125 <param argument="--maxv" type="float" optional="True" label="Maximum value to display" help="Default is maximum value present, can be set e.g. to 100 to display the full scale"/> | |
126 <param argument="--tax_lev" type="select" label="Taxonomic level to display"> | |
127 <option value="a">All taxonomic levels</option> | |
128 <option value="k">Kingdoms (Bacteria and Archaea) only</option> | |
129 <option value="p">Phyla only</option> | |
130 <option value="c">Classes only</option> | |
131 <option value="o">Orders only</option> | |
132 <option value="f">Families only</option> | |
133 <option value="g">Genera only</option> | |
134 <option value="s" selected="true">Species only</option> | |
135 </param> | |
136 <param argument="--perc" type="integer" value="90" label="Percentile to be used for ordering the microbes"/> | |
137 <param argument="--top" type="integer" optional="True" label="Number of most abundant microbes to display"/> | |
138 <param argument="--sdend_h" type="float" value="0.1" label="Height of the sample dendrogram"/> | |
139 <param argument="--fdend_w" type="float" value="0.1" label="Width of the sample dendrogram"/> | |
140 <param argument="--cm_h" type="float" value="0.03" label="Height of the colormap"/> | |
141 <param argument="--font_size" type="integer" value="7" label="Label font sizes"/> | |
142 <param argument="--clust_line_w" type="float" value="" label="Line width for the dendrograms"/> | |
143 <param argument="-c" type="select" label="Taxonomic level to display"> | |
144 <option value="autumn">autumn</option> | |
145 <option value="bbcyr">bbcyr</option> | |
146 <option value="bbcry">bbcry</option> | |
147 <option value="binary">binary</option> | |
148 <option value="Blues">Blues</option> | |
149 <option value="bone">bone</option> | |
150 <option value="BrBG">BrBG</option> | |
151 <option value="brg">brg</option> | |
152 <option value="BuGn">BuGn</option> | |
153 <option value="BuPu">BuPu</option> | |
154 <option value="bwr">bwr</option> | |
155 <option value="cool">cool</option> | |
156 <option value="copper">copper</option> | |
157 <option value="gist_earth">gist_earth</option> | |
158 <option value="gist_ncar">gist_ncar</option> | |
159 <option value="gist_rainbow">gist_rainbow</option> | |
160 <option value="gist_stern">gist_stern</option> | |
161 <option value="GnBu">GnBu</option> | |
162 <option value="gray">gray</option> | |
163 <option value="Greys">Greys</option> | |
164 <option value="hot">hot</option> | |
165 <option value="hsv">hsv</option> | |
166 <option value="jet" selected="true">jet</option> | |
167 <option value="OrRd">OrRd</option> | |
168 <option value="Oranges">Oranges</option> | |
169 <option value="PRGn">PRGn</option> | |
170 <option value="pink">pink</option> | |
171 <option value="PiYG">PiYG</option> | |
172 <option value="PuBu">PuBu</option> | |
173 <option value="PuBuGn">PuBuGn</option> | |
174 <option value="PuOr">PuOr</option> | |
175 <option value="PuRd">PuRd</option> | |
176 <option value="Purples">Purples</option> | |
177 <option value="RdBu">RdBu</option> | |
178 <option value="RdGy">RdGy</option> | |
179 <option value="RdPu">RdPu</option> | |
180 <option value="RdYlBu">RdYlBu</option> | |
181 <option value="RdYlGn">RdYlGn</option> | |
182 <option value="Reds">Reds</option> | |
183 <option value="seismic">seismic</option> | |
184 <option value="spectral">spectral</option> | |
185 <option value="Spectral">Spectral</option> | |
186 <option value="spring">spring</option> | |
187 <option value="summer">summer</option> | |
188 <option value="terrain">terrain</option> | |
189 <option value="winter">winter</option> | |
190 <option value="YlGn">YlGn</option> | |
191 <option value="YlGnBu">YlGnBu</option> | |
192 <option value="YlOrBr">YlOrBr</option> | |
193 <option value="YlOrRd">YlOrRd</option> | |
194 </param> | |
195 </inputs> | |
196 | |
197 <outputs> | |
198 <data format="pdf" name="out_pdf" from_work_dir="output.pdf" label="${tool.name} on ${on_string}"> | |
199 <filter>output_format == "pdf"</filter> | |
200 </data> | |
201 <data format="png" name="out_png" from_work_dir="output.png" label="${tool.name} on ${on_string}"> | |
202 <filter>output_format == "png"</filter> | |
203 </data> | |
204 <data format="svg" name="out_svg" from_work_dir="output.svg" label="${tool.name} on ${on_string}"> | |
205 <filter>output_format == "svg"</filter> | |
206 </data> | |
207 </outputs> | |
208 | |
209 <tests> | |
210 <test> | |
211 <param name="in" value="merged_community_profile.tabular"/> | |
212 <param name="output_format" value="png"/> | |
213 <param name="m" value="average"/> | |
214 <param name="d" value="braycurtis"/> | |
215 <param name="f" value="correlation"/> | |
216 <param name="minv" value="0"/> | |
217 <param name="tax_lev" value="a"/> | |
218 <param name="perc" value="90"/> | |
219 <param name="sdend_h" value="0.1"/> | |
220 <param name="fdend_w" value="0.1"/> | |
221 <param name="cm_h" value="0.03"/> | |
222 <param name="font_size" value="7"/> | |
223 <param name="clust_line_w" value="1"/> | |
224 <param name="c" value="jet"/> | |
225 <output name="out_png" file="heatmap.png" ftype="png" compare="sim_size"/> | |
226 </test> | |
227 <test> | |
228 <param name="in" value="merged_community_profile.tabular"/> | |
229 <param name="output_format" value="pdf"/> | |
230 <param name="m" value="ward"/> | |
231 <param name="d" value="euclidean"/> | |
232 <param name="f" value="euclidean"/> | |
233 <param name="minv" value="0"/> | |
234 <param name="tax_lev" value="a"/> | |
235 <param name="perc" value="90"/> | |
236 <param name="sdend_h" value="0.1"/> | |
237 <param name="fdend_w" value="0.1"/> | |
238 <param name="cm_h" value="0.03"/> | |
239 <param name="font_size" value="7"/> | |
240 <param name="clust_line_w" value="1"/> | |
241 <param name="c" value="pink"/> | |
242 <output name="out_pdf" file="heatmap.pdf" compare="sim_size"/> | |
243 </test> | |
244 <test> | |
245 <param name="in" value="merged_community_profile.tabular"/> | |
246 <param name="output_format" value="svg"/> | |
247 <param name="m" value="complete"/> | |
248 <param name="d" value="hamming"/> | |
249 <param name="f" value="matching"/> | |
250 <param name="minv" value="0"/> | |
251 <param name="tax_lev" value="a"/> | |
252 <param name="perc" value="90"/> | |
253 <param name="sdend_h" value="0.1"/> | |
254 <param name="fdend_w" value="0.1"/> | |
255 <param name="cm_h" value="0.03"/> | |
256 <param name="font_size" value="7"/> | |
257 <param name="clust_line_w" value="1"/> | |
258 <param name="c" value="pink"/> | |
259 <output name="out_svg" file="heatmap.svg" ftype="svg" compare="sim_size"/> | |
260 </test> | |
261 </tests> | |
262 | |
263 <help><![CDATA[ | |
264 | |
265 **What it does** | |
266 | |
267 MetaPhlAn is a computational tool to profile the structure and the composition of microbial communities (Bacteria, Archaea, Eukaryotes and Viruses) from metagenomic shotgun sequencing data with species level resolution. For more information, check the `user manual <https://bitbucket.org/biobakery/metaphlan2/>`_. | |
268 | |
269 This tool generates heatmaps with hierarchical clustering of both samples | |
270 and microbial clades. The script can also subsample the number of clades to | |
271 display based on the their nth percentile abundance value in each sample | |
272 | |
273 ]]></help> | |
274 | |
275 <expand macro="citations"/> | |
276 </tool> |