comparison qiime2__sample_classifier__heatmap.xml @ 0:9d749a1b0f69 draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__sample_classifier commit 9023cfd83495a517fbcbb6f91d5b01a6f1afcda1
author q2d2
date Mon, 29 Aug 2022 20:26:20 +0000
parents
children c8a9c7b66934
comparison
equal deleted inserted replaced
-1:000000000000 0:9d749a1b0f69
1 <?xml version='1.0' encoding='utf-8'?>
2 <!--
3 Copyright (c) 2022, QIIME 2 development team.
4
5 Distributed under the terms of the Modified BSD License. (SPDX: BSD-3-Clause)
6 -->
7 <!--
8 This tool was automatically generated by:
9 q2galaxy (version: 2022.8.1)
10 for:
11 qiime2 (version: 2022.8.1)
12 -->
13 <tool name="qiime2 sample-classifier heatmap" id="qiime2__sample_classifier__heatmap" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
14 <description>Generate heatmap of important features.</description>
15 <requirements>
16 <container type="docker">quay.io/qiime2/core:2022.8</container>
17 </requirements>
18 <version_command>q2galaxy version sample_classifier</version_command>
19 <command detect_errors="aggressive">q2galaxy run sample_classifier heatmap '$inputs'</command>
20 <configfiles>
21 <inputs name="inputs" data_style="paths"/>
22 </configfiles>
23 <inputs>
24 <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency]" help="[required] Feature table containing all features that should be used for target prediction.">
25 <options options_filter_attribute="metadata.semantic_type">
26 <filter type="add_value" value="FeatureTable[Frequency]"/>
27 </options>
28 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]']</validator>
29 </param>
30 <param name="importance" type="data" format="qza" label="importance: FeatureData[Importance]" help="[required] Feature importances.">
31 <options options_filter_attribute="metadata.semantic_type">
32 <filter type="add_value" value="FeatureData[Importance]"/>
33 </options>
34 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureData[Importance]']</validator>
35 </param>
36 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
37 <conditional name="sample_metadata">
38 <param name="type" type="select" label="sample_metadata: MetadataColumn[Categorical]" help="[optional] Sample metadata column to use for sample labeling or grouping.">
39 <option value="none" selected="true">None (default)</option>
40 <option value="tsv">Metadata from TSV</option>
41 <option value="qza">Metadata from Artifact</option>
42 </param>
43 <when value="none"/>
44 <when value="tsv">
45 <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/>
46 <param name="column" type="data_column" label="Column Name" data_ref="source" use_header_names="true">
47 <validator type="expression" message="The first column cannot be selected (they are IDs).">value != "1"</validator>
48 </param>
49 </when>
50 <when value="qza">
51 <param name="source" type="data" format="qza" label="Metadata Source"/>
52 <param name="column" type="text" label="Column Name">
53 <validator type="empty_field"/>
54 </param>
55 </when>
56 </conditional>
57 <conditional name="feature_metadata">
58 <param name="type" type="select" label="feature_metadata: MetadataColumn[Categorical]" help="[optional] Feature metadata (e.g., taxonomy) to use for labeling features in the heatmap.">
59 <option value="none" selected="true">None (default)</option>
60 <option value="tsv">Metadata from TSV</option>
61 <option value="qza">Metadata from Artifact</option>
62 </param>
63 <when value="none"/>
64 <when value="tsv">
65 <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/>
66 <param name="column" type="data_column" label="Column Name" data_ref="source" use_header_names="true">
67 <validator type="expression" message="The first column cannot be selected (they are IDs).">value != "1"</validator>
68 </param>
69 </when>
70 <when value="qza">
71 <param name="source" type="data" format="qza" label="Metadata Source"/>
72 <param name="column" type="text" label="Column Name">
73 <validator type="empty_field"/>
74 </param>
75 </when>
76 </conditional>
77 <param name="feature_count" type="integer" min="0" value="50" label="feature_count: Int % Range(0, None)" help="[default: 50] Filter feature table to include top N most important features. Set to zero to include all features."/>
78 <param name="importance_threshold" type="float" min="0" value="0" label="importance_threshold: Float % Range(0, None)" help="[default: 0] Filter feature table to exclude any features with an importance score less than this threshold. Set to zero to include all features."/>
79 <param name="group_samples" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="group_samples: Bool" help="[default: No] Group samples by sample metadata."/>
80 <param name="normalize" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" checked="true" label="normalize: Bool" help="[default: Yes] Normalize the feature table by adding a psuedocount of 1 and then taking the log10 of the table."/>
81 <param name="missing_samples" type="select" label="missing_samples: Str % Choices('error', 'ignore')" display="radio">
82 <option value="error">error</option>
83 <option value="ignore" selected="true">ignore</option>
84 </param>
85 <param name="metric" type="select" label="metric: Str % Choices('braycurtis', 'canberra', 'chebyshev', 'cityblock', 'correlation', 'cosine', 'dice', 'euclidean', 'hamming', 'jaccard', 'kulsinski', 'mahalanobis', 'matching', 'minkowski', 'rogerstanimoto', 'russellrao', 'seuclidean', 'sokalmichener', 'sokalsneath', 'sqeuclidean', 'yule')">
86 <option value="braycurtis" selected="true">braycurtis</option>
87 <option value="canberra">canberra</option>
88 <option value="chebyshev">chebyshev</option>
89 <option value="cityblock">cityblock</option>
90 <option value="correlation">correlation</option>
91 <option value="cosine">cosine</option>
92 <option value="dice">dice</option>
93 <option value="euclidean">euclidean</option>
94 <option value="hamming">hamming</option>
95 <option value="jaccard">jaccard</option>
96 <option value="kulsinski">kulsinski</option>
97 <option value="mahalanobis">mahalanobis</option>
98 <option value="matching">matching</option>
99 <option value="minkowski">minkowski</option>
100 <option value="rogerstanimoto">rogerstanimoto</option>
101 <option value="russellrao">russellrao</option>
102 <option value="seuclidean">seuclidean</option>
103 <option value="sokalmichener">sokalmichener</option>
104 <option value="sokalsneath">sokalsneath</option>
105 <option value="sqeuclidean">sqeuclidean</option>
106 <option value="yule">yule</option>
107 </param>
108 <param name="method" type="select" label="method: Str % Choices('average', 'centroid', 'complete', 'median', 'single', 'ward', 'weighted')">
109 <option value="average" selected="true">average</option>
110 <option value="centroid">centroid</option>
111 <option value="complete">complete</option>
112 <option value="median">median</option>
113 <option value="single">single</option>
114 <option value="ward">ward</option>
115 <option value="weighted">weighted</option>
116 </param>
117 <param name="cluster" type="select" label="cluster: Str % Choices('both', 'features', 'none', 'samples')" display="radio">
118 <option value="both">both</option>
119 <option value="features" selected="true">features</option>
120 <option value="none">none</option>
121 <option value="samples">samples</option>
122 </param>
123 <param name="color_scheme" type="select" label="color_scheme: Str % Choices('Accent', 'Accent_r', 'Blues', 'Blues_r', 'BrBG', 'BrBG_r', 'BuGn', 'BuGn_r', 'BuPu', 'BuPu_r', 'CMRmap', 'CMRmap_r', 'Dark2', 'Dark2_r', 'GnBu', 'GnBu_r', 'Greens', 'Greens_r', 'Greys', 'Greys_r', 'OrRd', 'OrRd_r', 'Oranges', 'Oranges_r', 'PRGn', 'PRGn_r', 'Paired', 'Paired_r', 'Pastel1', 'Pastel1_r', 'Pastel2', 'Pastel2_r', 'PiYG', 'PiYG_r', 'PuBu', 'PuBuGn', 'PuBuGn_r', 'PuBu_r', 'PuOr', 'PuOr_r', 'PuRd', 'PuRd_r', 'Purples', 'Purples_r', 'RdBu', 'RdBu_r', 'RdGy', 'RdGy_r', 'RdPu', 'RdPu_r', 'RdYlBu', 'RdYlBu_r', 'RdYlGn', 'RdYlGn_r', 'Reds', 'Reds_r', 'Set1', 'Set1_r', 'Set2', 'Set2_r', 'Set3', 'Set3_r', 'Spectral', 'Spectral_r', 'Vega10', 'Vega10_r', 'Vega20', 'Vega20_r', 'Vega20b', 'Vega20b_r', 'Vega20c', 'Vega20c_r', 'Wistia', 'Wistia_r', 'YlGn', 'YlGnBu', 'YlGnBu_r', 'YlGn_r', 'YlOrBr', 'YlOrBr_r', 'YlOrRd', 'YlOrRd_r', 'afmhot', 'afmhot_r', 'autumn', 'autumn_r', 'binary', 'binary_r', 'bone', 'bone_r', 'brg', 'brg_r', 'bwr', 'bwr_r', 'cividis', 'cividis_r', 'cool', 'cool_r', 'coolwarm', 'coolwarm_r', 'copper', 'copper_r', 'cubehelix', 'cubehelix_r', 'flag', 'flag_r', 'gist_earth', 'gist_earth_r', 'gist_gray', 'gist_gray_r', 'gist_heat', 'gist_heat_r', 'gist_ncar', 'gist_ncar_r', 'gist_rainbow', 'gist_rainbow_r', 'gist_stern', 'gist_stern_r', 'gist_yarg', 'gist_yarg_r', 'gnuplot', 'gnuplot2', 'gnuplot2_r', 'gnuplot_r', 'gray', 'gray_r', 'hot', 'hot_r', 'hsv', 'hsv_r', 'icefire', 'icefire_r', 'inferno', 'inferno_r', 'jet', 'jet_r', 'magma', 'magma_r', 'mako', 'mako_r', 'nipy_spectral', 'nipy_spectral_r', 'ocean', 'ocean_r', 'pink', 'pink_r', 'plasma', 'plasma_r', 'prism', 'prism_r', 'rainbow', 'rainbow_r', 'rocket', 'rocket_r', 'seismic', 'seismic_r', 'spectral', 'spectral_r', 'spring', 'spring_r', 'summer', 'summer_r', 'tab10', 'tab10_r', 'tab20', 'tab20_r', 'tab20b', 'tab20b_r', 'tab20c', 'tab20c_r', 'terrain', 'terrain_r', 'viridis', 'viridis_r', 'vlag', 'vlag_r', 'winter', 'winter_r')">
124 <option value="Accent">Accent</option>
125 <option value="Accent_r">Accent_r</option>
126 <option value="Blues">Blues</option>
127 <option value="Blues_r">Blues_r</option>
128 <option value="BrBG">BrBG</option>
129 <option value="BrBG_r">BrBG_r</option>
130 <option value="BuGn">BuGn</option>
131 <option value="BuGn_r">BuGn_r</option>
132 <option value="BuPu">BuPu</option>
133 <option value="BuPu_r">BuPu_r</option>
134 <option value="CMRmap">CMRmap</option>
135 <option value="CMRmap_r">CMRmap_r</option>
136 <option value="Dark2">Dark2</option>
137 <option value="Dark2_r">Dark2_r</option>
138 <option value="GnBu">GnBu</option>
139 <option value="GnBu_r">GnBu_r</option>
140 <option value="Greens">Greens</option>
141 <option value="Greens_r">Greens_r</option>
142 <option value="Greys">Greys</option>
143 <option value="Greys_r">Greys_r</option>
144 <option value="OrRd">OrRd</option>
145 <option value="OrRd_r">OrRd_r</option>
146 <option value="Oranges">Oranges</option>
147 <option value="Oranges_r">Oranges_r</option>
148 <option value="PRGn">PRGn</option>
149 <option value="PRGn_r">PRGn_r</option>
150 <option value="Paired">Paired</option>
151 <option value="Paired_r">Paired_r</option>
152 <option value="Pastel1">Pastel1</option>
153 <option value="Pastel1_r">Pastel1_r</option>
154 <option value="Pastel2">Pastel2</option>
155 <option value="Pastel2_r">Pastel2_r</option>
156 <option value="PiYG">PiYG</option>
157 <option value="PiYG_r">PiYG_r</option>
158 <option value="PuBu">PuBu</option>
159 <option value="PuBuGn">PuBuGn</option>
160 <option value="PuBuGn_r">PuBuGn_r</option>
161 <option value="PuBu_r">PuBu_r</option>
162 <option value="PuOr">PuOr</option>
163 <option value="PuOr_r">PuOr_r</option>
164 <option value="PuRd">PuRd</option>
165 <option value="PuRd_r">PuRd_r</option>
166 <option value="Purples">Purples</option>
167 <option value="Purples_r">Purples_r</option>
168 <option value="RdBu">RdBu</option>
169 <option value="RdBu_r">RdBu_r</option>
170 <option value="RdGy">RdGy</option>
171 <option value="RdGy_r">RdGy_r</option>
172 <option value="RdPu">RdPu</option>
173 <option value="RdPu_r">RdPu_r</option>
174 <option value="RdYlBu">RdYlBu</option>
175 <option value="RdYlBu_r">RdYlBu_r</option>
176 <option value="RdYlGn">RdYlGn</option>
177 <option value="RdYlGn_r">RdYlGn_r</option>
178 <option value="Reds">Reds</option>
179 <option value="Reds_r">Reds_r</option>
180 <option value="Set1">Set1</option>
181 <option value="Set1_r">Set1_r</option>
182 <option value="Set2">Set2</option>
183 <option value="Set2_r">Set2_r</option>
184 <option value="Set3">Set3</option>
185 <option value="Set3_r">Set3_r</option>
186 <option value="Spectral">Spectral</option>
187 <option value="Spectral_r">Spectral_r</option>
188 <option value="Vega10">Vega10</option>
189 <option value="Vega10_r">Vega10_r</option>
190 <option value="Vega20">Vega20</option>
191 <option value="Vega20_r">Vega20_r</option>
192 <option value="Vega20b">Vega20b</option>
193 <option value="Vega20b_r">Vega20b_r</option>
194 <option value="Vega20c">Vega20c</option>
195 <option value="Vega20c_r">Vega20c_r</option>
196 <option value="Wistia">Wistia</option>
197 <option value="Wistia_r">Wistia_r</option>
198 <option value="YlGn">YlGn</option>
199 <option value="YlGnBu">YlGnBu</option>
200 <option value="YlGnBu_r">YlGnBu_r</option>
201 <option value="YlGn_r">YlGn_r</option>
202 <option value="YlOrBr">YlOrBr</option>
203 <option value="YlOrBr_r">YlOrBr_r</option>
204 <option value="YlOrRd">YlOrRd</option>
205 <option value="YlOrRd_r">YlOrRd_r</option>
206 <option value="afmhot">afmhot</option>
207 <option value="afmhot_r">afmhot_r</option>
208 <option value="autumn">autumn</option>
209 <option value="autumn_r">autumn_r</option>
210 <option value="binary">binary</option>
211 <option value="binary_r">binary_r</option>
212 <option value="bone">bone</option>
213 <option value="bone_r">bone_r</option>
214 <option value="brg">brg</option>
215 <option value="brg_r">brg_r</option>
216 <option value="bwr">bwr</option>
217 <option value="bwr_r">bwr_r</option>
218 <option value="cividis">cividis</option>
219 <option value="cividis_r">cividis_r</option>
220 <option value="cool">cool</option>
221 <option value="cool_r">cool_r</option>
222 <option value="coolwarm">coolwarm</option>
223 <option value="coolwarm_r">coolwarm_r</option>
224 <option value="copper">copper</option>
225 <option value="copper_r">copper_r</option>
226 <option value="cubehelix">cubehelix</option>
227 <option value="cubehelix_r">cubehelix_r</option>
228 <option value="flag">flag</option>
229 <option value="flag_r">flag_r</option>
230 <option value="gist_earth">gist_earth</option>
231 <option value="gist_earth_r">gist_earth_r</option>
232 <option value="gist_gray">gist_gray</option>
233 <option value="gist_gray_r">gist_gray_r</option>
234 <option value="gist_heat">gist_heat</option>
235 <option value="gist_heat_r">gist_heat_r</option>
236 <option value="gist_ncar">gist_ncar</option>
237 <option value="gist_ncar_r">gist_ncar_r</option>
238 <option value="gist_rainbow">gist_rainbow</option>
239 <option value="gist_rainbow_r">gist_rainbow_r</option>
240 <option value="gist_stern">gist_stern</option>
241 <option value="gist_stern_r">gist_stern_r</option>
242 <option value="gist_yarg">gist_yarg</option>
243 <option value="gist_yarg_r">gist_yarg_r</option>
244 <option value="gnuplot">gnuplot</option>
245 <option value="gnuplot2">gnuplot2</option>
246 <option value="gnuplot2_r">gnuplot2_r</option>
247 <option value="gnuplot_r">gnuplot_r</option>
248 <option value="gray">gray</option>
249 <option value="gray_r">gray_r</option>
250 <option value="hot">hot</option>
251 <option value="hot_r">hot_r</option>
252 <option value="hsv">hsv</option>
253 <option value="hsv_r">hsv_r</option>
254 <option value="icefire">icefire</option>
255 <option value="icefire_r">icefire_r</option>
256 <option value="inferno">inferno</option>
257 <option value="inferno_r">inferno_r</option>
258 <option value="jet">jet</option>
259 <option value="jet_r">jet_r</option>
260 <option value="magma">magma</option>
261 <option value="magma_r">magma_r</option>
262 <option value="mako">mako</option>
263 <option value="mako_r">mako_r</option>
264 <option value="nipy_spectral">nipy_spectral</option>
265 <option value="nipy_spectral_r">nipy_spectral_r</option>
266 <option value="ocean">ocean</option>
267 <option value="ocean_r">ocean_r</option>
268 <option value="pink">pink</option>
269 <option value="pink_r">pink_r</option>
270 <option value="plasma">plasma</option>
271 <option value="plasma_r">plasma_r</option>
272 <option value="prism">prism</option>
273 <option value="prism_r">prism_r</option>
274 <option value="rainbow">rainbow</option>
275 <option value="rainbow_r">rainbow_r</option>
276 <option value="rocket" selected="true">rocket</option>
277 <option value="rocket_r">rocket_r</option>
278 <option value="seismic">seismic</option>
279 <option value="seismic_r">seismic_r</option>
280 <option value="spectral">spectral</option>
281 <option value="spectral_r">spectral_r</option>
282 <option value="spring">spring</option>
283 <option value="spring_r">spring_r</option>
284 <option value="summer">summer</option>
285 <option value="summer_r">summer_r</option>
286 <option value="tab10">tab10</option>
287 <option value="tab10_r">tab10_r</option>
288 <option value="tab20">tab20</option>
289 <option value="tab20_r">tab20_r</option>
290 <option value="tab20b">tab20b</option>
291 <option value="tab20b_r">tab20b_r</option>
292 <option value="tab20c">tab20c</option>
293 <option value="tab20c_r">tab20c_r</option>
294 <option value="terrain">terrain</option>
295 <option value="terrain_r">terrain_r</option>
296 <option value="viridis">viridis</option>
297 <option value="viridis_r">viridis_r</option>
298 <option value="vlag">vlag</option>
299 <option value="vlag_r">vlag_r</option>
300 <option value="winter">winter</option>
301 <option value="winter_r">winter_r</option>
302 </param>
303 </section>
304 </inputs>
305 <outputs>
306 <data name="heatmap" format="qzv" label="${tool.name} on ${on_string}: heatmap.qzv" from_work_dir="heatmap.qzv"/>
307 <data name="filtered_table" format="qza" label="${tool.name} on ${on_string}: filtered_table.qza" from_work_dir="filtered_table.qza"/>
308 </outputs>
309 <tests/>
310 <help>
311 QIIME 2: sample-classifier heatmap
312 ==================================
313 Generate heatmap of important features.
314
315
316 Outputs:
317 --------
318 :heatmap.qzv: Heatmap of important features.
319 :filtered_table.qza: Filtered feature table containing data displayed in heatmap.
320
321 |
322
323 Description:
324 ------------
325 Generate a heatmap of important features. Features are filtered based on importance scores; samples are optionally grouped by sample metadata; and a heatmap is generated that displays (normalized) feature abundances per sample.
326
327
328 |
329
330 </help>
331 <citations>
332 <citation type="doi">10.21105/joss.00934</citation>
333 <citation type="bibtex">@article{cite2,
334 author = {Pedregosa, Fabian and Varoquaux, Gaël and Gramfort, Alexandre and Michel, Vincent and Thirion, Bertrand and Grisel, Olivier and Blondel, Mathieu and Prettenhofer, Peter and Weiss, Ron and Dubourg, Vincent and Vanderplas, Jake and Passos, Alexandre and Cournapeau, David and Brucher, Matthieu and Perrot, Matthieu and Duchesnay, Édouard},
335 journal = {Journal of machine learning research},
336 number = {Oct},
337 pages = {2825--2830},
338 title = {Scikit-learn: Machine learning in Python},
339 volume = {12},
340 year = {2011}
341 }
342 </citation>
343 <citation type="doi">10.1038/s41587-019-0209-9</citation>
344 </citations>
345 </tool>