comparison qiime2__stats__alpha_group_significance.xml @ 0:d6f4c80a29a2 draft default tip

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__stats commit 5f71b597c9495eae67a447744fded834f56ca1f7
author q2d2
date Wed, 30 Oct 2024 19:56:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:d6f4c80a29a2
1 <?xml version='1.0' encoding='utf-8'?>
2 <!--
3 Copyright (c) 2024, 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: 2024.10.0)
10 for:
11 qiime2 (version: 2024.10.1)
12 -->
13 <tool name="qiime2 stats alpha-group-significance" id="qiime2__stats__alpha_group_significance" version="0+unknown-q2galaxy.2024.10.0" profile="22.05" license="BSD-3-Clause">
14 <description>Alpha group significance test and plot</description>
15 <xrefs>
16 <xref type="bio.tools">qiime2</xref>
17 </xrefs>
18 <requirements>
19 <container type="docker">quay.io/qiime2/amplicon:2024.10</container>
20 </requirements>
21 <version_command>q2galaxy version stats</version_command>
22 <command detect_errors="exit_code">q2galaxy run stats alpha_group_significance '$inputs'</command>
23 <configfiles>
24 <inputs name="inputs" data_style="staging_path_and_source_path"/>
25 </configfiles>
26 <inputs>
27 <param name="alpha_diversity" type="data" format="qza" label="alpha_diversity: SampleData[AlphaDiversity]" help="[required] Alpha diversity which will become the &quot;measure&quot;">
28 <options options_filter_attribute="metadata.semantic_type">
29 <filter type="add_value" value="SampleData[AlphaDiversity]"/>
30 </options>
31 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['SampleData[AlphaDiversity]']</validator>
32 </param>
33 <repeat name="metadata" min="1" help="[required] Sample metadata to use" title="metadata: Metadata">
34 <conditional name="__q2galaxy__GUI__conditional__metadata__">
35 <param name="type" type="select" label="metadata: Metadata">
36 <option value="tsv" selected="true">Metadata from TSV</option>
37 <option value="qza">Metadata from Artifact</option>
38 </param>
39 <when value="tsv">
40 <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/>
41 </when>
42 <when value="qza">
43 <param name="source" type="data" format="qza" label="Metadata Source"/>
44 </when>
45 </conditional>
46 </repeat>
47 <repeat name="columns" min="1" help="[required] Columns to include as group information" title="columns: List[Str]">
48 <param name="element" type="text" label="element: Str" help="[required]">
49 <sanitizer>
50 <valid initial="string.printable"/>
51 </sanitizer>
52 <validator type="expression" message="Please verify this parameter.">value is not None and len(value) &gt; 0</validator>
53 </param>
54 </repeat>
55 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
56 <conditional name="__q2galaxy__GUI__conditional__subject__">
57 <param name="__q2galaxy__GUI__select__" type="select" label="subject: Str % Choices('')¹'³ | Str²'⁴" help="[default: ''] If provided, will cause the results to be matched for repeated measures.">
58 <option value="" selected="true"> (Str)</option>
59 <option value="__q2galaxy__::control::Str" selected="true">Provide a value (Str)</option>
60 <option value="__q2galaxy__::control::Str" selected="true">Provide a value (Str)</option>
61 </param>
62 <when value="">
63 <param name="subject" type="hidden" value=""/>
64 </when>
65 <when value="__q2galaxy__::control::Str">
66 <param name="subject" type="text" value="" label="subject: Str" help="[default: ''] If provided, will cause the results to be matched for repeated measures.">
67 <sanitizer>
68 <valid initial="string.printable"/>
69 </sanitizer>
70 </param>
71 </when>
72 <when value="__q2galaxy__::control::Str">
73 <param name="subject" type="text" value="" label="subject: Str" help="[default: ''] If provided, will cause the results to be matched for repeated measures.">
74 <sanitizer>
75 <valid initial="string.printable"/>
76 </sanitizer>
77 </param>
78 </when>
79 </conditional>
80 <conditional name="__q2galaxy__GUI__conditional__timepoint__">
81 <param name="__q2galaxy__GUI__select__" type="select" label="timepoint: Str % Choices('')¹'² | Str³'⁴" help="[default: ''] If provided, will cause the results to be stratified by timepoint. Required if using ``subject``.">
82 <option value="" selected="true"> (Str)</option>
83 <option value="__q2galaxy__::control::Str" selected="true">Provide a value (Str)</option>
84 <option value="__q2galaxy__::control::Str" selected="true">Provide a value (Str)</option>
85 </param>
86 <when value="">
87 <param name="timepoint" type="hidden" value=""/>
88 </when>
89 <when value="__q2galaxy__::control::Str">
90 <param name="timepoint" type="text" value="" label="timepoint: Str" help="[default: ''] If provided, will cause the results to be stratified by timepoint. Required if using ``subject``.">
91 <sanitizer>
92 <valid initial="string.printable"/>
93 </sanitizer>
94 </param>
95 </when>
96 <when value="__q2galaxy__::control::Str">
97 <param name="timepoint" type="text" value="" label="timepoint: Str" help="[default: ''] If provided, will cause the results to be stratified by timepoint. Required if using ``subject``.">
98 <sanitizer>
99 <valid initial="string.printable"/>
100 </sanitizer>
101 </param>
102 </when>
103 </conditional>
104 </section>
105 </inputs>
106 <outputs>
107 <data name="distribution" format="qza" label="${tool.name} on ${on_string}: distribution.qza" from_work_dir="distribution.qza"/>
108 <data name="stats" format="qza" label="${tool.name} on ${on_string}: stats.qza" from_work_dir="stats.qza"/>
109 <data name="raincloud" format="qzv" label="${tool.name} on ${on_string}: raincloud.qzv" from_work_dir="raincloud.qzv"/>
110 </outputs>
111 <tests>
112 <test>
113 <param name="alpha_diversity" value="alpha_group_significance.test0.alpha-div-faith-pd.qza" ftype="qza"/>
114 <repeat name="metadata">
115 <conditional name="__q2galaxy__GUI__conditional__metadata__">
116 <param name="type" value="tsv"/>
117 <param name="source" value="alpha_group_significance.test0.metadata.tsv" ftype="qiime2.tabular"/>
118 </conditional>
119 </repeat>
120 <repeat name="columns">
121 <param name="element" value="genotype"/>
122 </repeat>
123 <repeat name="columns">
124 <param name="element" value="donor_status"/>
125 </repeat>
126 <conditional name="__q2galaxy__GUI__conditional__subject__">
127 <param name="__q2galaxy__GUI__select__" value="__q2galaxy__::control::Str"/>
128 <param name="subject" value="mouse_id"/>
129 </conditional>
130 <conditional name="__q2galaxy__GUI__conditional__timepoint__">
131 <param name="__q2galaxy__GUI__select__" value="__q2galaxy__::control::Str"/>
132 <param name="timepoint" value="days_post_transplant"/>
133 </conditional>
134 <output name="distribution" ftype="qza">
135 <assert_contents>
136 <has_archive_member path="[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/metadata.yaml">
137 <has_line_matching expression="type: Dist1D\[NestedOrdered,\ Matched\]"/>
138 </has_archive_member>
139 </assert_contents>
140 </output>
141 <output name="stats" ftype="qza"/>
142 <output name="raincloud" ftype="qzv"/>
143 <param name="alpha_diversity" value="alpha_group_significance.test0.alpha-div-faith-pd.qza" ftype="qza"/>
144 <repeat name="metadata">
145 <conditional name="__q2galaxy__GUI__conditional__metadata__">
146 <param name="type" value="tsv"/>
147 <param name="source" value="alpha_group_significance.test0.metadata.tsv" ftype="qiime2.tabular"/>
148 </conditional>
149 </repeat>
150 <repeat name="columns">
151 <param name="element" value="genotype"/>
152 </repeat>
153 <repeat name="columns">
154 <param name="element" value="donor_status"/>
155 </repeat>
156 <output name="distribution" ftype="qza">
157 <assert_contents>
158 <has_archive_member path="[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/metadata.yaml">
159 <has_line_matching expression="type: Dist1D\[Multi,\ Independent\]"/>
160 </has_archive_member>
161 </assert_contents>
162 </output>
163 <output name="stats" ftype="qza"/>
164 <output name="raincloud" ftype="qzv"/>
165 </test>
166 </tests>
167 <help>
168 QIIME 2: stats alpha-group-significance
169 =======================================
170 Alpha group significance test and plot
171
172
173 Outputs:
174 --------
175 :distribution.qza: Dist1D generated by metadata and alpha diversity.
176 :stats.qza: A stats table of the per-group/timepoint results
177 :raincloud.qzv: A visualization of the distribution and statistics
178
179 |
180
181 Description:
182 ------------
183 Will select between Wilcoxon SRT and Mann-Whitney U depending on the presence of repeated measures.
184
185 Examples:
186 ---------
187
188 alpha_group_significance_faith_pd
189 *********************************
190 Using the ``qiime2 stats alpha-group-significance`` tool:
191 #. Set *"alpha_diversity"* to ``#: alpha-div-faith-pd.qza``
192 #. For *"metadata"*:
193
194 - Perform the following steps.
195
196 #. Leave as ``Metadata from TSV``
197 #. Set *"Metadata Source"* to ``metadata.tsv``
198
199
200 #. For *"columns"*, use the ``+ columns`` button to add the corresponding values:
201
202 #. Add *"element"* set to ``genotype``
203 #. Add *"element"* set to ``donor_status``
204
205 #. Expand the ``additional options`` section
206
207 #. Set *"subject"* to ``mouse_id``
208 #. Set *"timepoint"* to ``days_post_transplant``
209
210 #. Press the ``Execute`` button.
211
212 Once completed, for each new entry in your history, use the ``Edit`` button to set the name as follows:
213 (Renaming is optional, but it will make any subsequent steps easier to complete.)
214
215 .. list-table::
216 :align: left
217 :header-rows: 1
218
219 * - History Name
220 - *"Name"* to set (be sure to press ``Save``)
221 * - ``#: qiime2 stats alpha-group-significance [...] : distribution.qza``
222 - ``dist.qza``
223 * - ``#: qiime2 stats alpha-group-significance [...] : stats.qza``
224 - ``stats.qza``
225 * - ``#: qiime2 stats alpha-group-significance [...] : raincloud.qzv``
226 - ``raincloud.qzv``
227
228 Using the ``qiime2 stats alpha-group-significance`` tool:
229 #. Set *"alpha_diversity"* to ``#: alpha-div-faith-pd.qza``
230 #. For *"metadata"*:
231
232 - Perform the following steps.
233
234 #. Leave as ``Metadata from TSV``
235 #. Set *"Metadata Source"* to ``metadata.tsv``
236
237
238 #. For *"columns"*, use the ``+ columns`` button to add the corresponding values:
239
240 #. Add *"element"* set to ``genotype``
241 #. Add *"element"* set to ``donor_status``
242
243 #. Press the ``Execute`` button.
244
245 Once completed, for each new entry in your history, use the ``Edit`` button to set the name as follows:
246 (Renaming is optional, but it will make any subsequent steps easier to complete.)
247
248 .. list-table::
249 :align: left
250 :header-rows: 1
251
252 * - History Name
253 - *"Name"* to set (be sure to press ``Save``)
254 * - ``#: qiime2 stats alpha-group-significance [...] : distribution.qza``
255 - ``dist2.qza``
256 * - ``#: qiime2 stats alpha-group-significance [...] : stats.qza``
257 - ``stats2.qza``
258 * - ``#: qiime2 stats alpha-group-significance [...] : raincloud.qzv``
259 - ``raincloud2.qzv``
260
261
262 |
263
264 </help>
265 <citations>
266 <citation type="doi">10.1038/s41587-019-0209-9</citation>
267 </citations>
268 </tool>