comparison qiime2__diversity_lib__weighted_unifrac.xml @ 0:e2279c0e696c draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__diversity_lib commit 9023cfd83495a517fbcbb6f91d5b01a6f1afcda1
author q2d2
date Mon, 29 Aug 2022 19:39:50 +0000
parents
children 85f762ce919f
comparison
equal deleted inserted replaced
-1:000000000000 0:e2279c0e696c
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 diversity-lib weighted-unifrac" id="qiime2__diversity_lib__weighted_unifrac" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
14 <description>Weighted Unifrac</description>
15 <requirements>
16 <container type="docker">quay.io/qiime2/core:2022.8</container>
17 </requirements>
18 <version_command>q2galaxy version diversity_lib</version_command>
19 <command detect_errors="aggressive">q2galaxy run diversity_lib weighted_unifrac '$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 | RelativeFrequency]" help="[required] The feature table containing the samples for which Weighted Unifrac should be computed.">
25 <options options_filter_attribute="metadata.semantic_type">
26 <filter type="add_value" value="FeatureTable[Frequency]"/>
27 <filter type="add_value" value="FeatureTable[RelativeFrequency]"/>
28 </options>
29 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]', 'FeatureTable[RelativeFrequency]']</validator>
30 </param>
31 <param name="phylogeny" type="data" format="qza" label="phylogeny: Phylogeny[Rooted]" help="[required] Phylogenetic tree containing tip identifiers that correspond to the feature identifiers in the table. This tree can contain tip ids that are not present in the table, but all feature ids in the table must be present in this tree.">
32 <options options_filter_attribute="metadata.semantic_type">
33 <filter type="add_value" value="Phylogeny[Rooted]"/>
34 </options>
35 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['Phylogeny[Rooted]']</validator>
36 </param>
37 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
38 <conditional name="__q2galaxy__GUI__conditional__threads__">
39 <param name="__q2galaxy__GUI__select__" type="select" label="threads: Int % Range(1, None) | Str % Choices('auto')" help="[default: 1] The number of CPU threads to use in performing this calculation. May not exceed the number of available physical cores. If threads = 'auto', one thread will be created for each identified CPU core on the host.">
40 <option value="auto">auto (Str)</option>
41 <option value="__q2galaxy__::control::Int X Range(1__comma__ None)" selected="true">Provide a value (Int % Range(1, None))</option>
42 </param>
43 <when value="auto">
44 <param name="threads" type="hidden" value="auto"/>
45 </when>
46 <when value="__q2galaxy__::control::Int X Range(1__comma__ None)">
47 <param name="threads" type="integer" min="1" value="1" label="threads: Int % Range(1, None)" help="[default: 1] The number of CPU threads to use in performing this calculation. May not exceed the number of available physical cores. If threads = 'auto', one thread will be created for each identified CPU core on the host."/>
48 </when>
49 </conditional>
50 <param name="bypass_tips" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="bypass_tips: Bool" help="[default: No] In a bifurcating tree, the tips make up about 50% of the nodes in a tree. By ignoring them, specificity can be traded for reduced compute time. This has the effect of collapsing the phylogeny, and is analogous (in concept) to moving from 99% to 97% OTUs"/>
51 </section>
52 </inputs>
53 <outputs>
54 <data name="distance_matrix" format="qza" label="${tool.name} on ${on_string}: distance_matrix.qza" from_work_dir="distance_matrix.qza"/>
55 </outputs>
56 <tests>
57 <test>
58 <param name="table" value="weighted_unifrac.test0.feature-table.qza" ftype="qza"/>
59 <param name="phylogeny" value="weighted_unifrac.test0.phylogeny.qza" ftype="qza"/>
60 <output name="distance_matrix" ftype="qza">
61 <assert_contents>
62 <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">
63 <has_line_matching expression="type: DistanceMatrix"/>
64 </has_archive_member>
65 </assert_contents>
66 </output>
67 </test>
68 <test>
69 <param name="table" value="weighted_unifrac.test1.feature-table.qza" ftype="qza"/>
70 <param name="phylogeny" value="weighted_unifrac.test1.phylogeny.qza" ftype="qza"/>
71 <conditional name="__q2galaxy__GUI__conditional__threads__">
72 <param name="__q2galaxy__GUI__select__" value="__q2galaxy__::control::Int X Range(1__comma__ None)"/>
73 <param name="threads" value="1"/>
74 </conditional>
75 <output name="distance_matrix" ftype="qza">
76 <assert_contents>
77 <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">
78 <has_line_matching expression="type: DistanceMatrix"/>
79 </has_archive_member>
80 </assert_contents>
81 </output>
82 </test>
83 <test>
84 <param name="table" value="weighted_unifrac.test2.feature-table.qza" ftype="qza"/>
85 <param name="phylogeny" value="weighted_unifrac.test2.phylogeny.qza" ftype="qza"/>
86 <conditional name="__q2galaxy__GUI__conditional__threads__">
87 <param name="__q2galaxy__GUI__select__" value="auto"/>
88 <param name="threads" value="auto"/>
89 </conditional>
90 <output name="distance_matrix" ftype="qza">
91 <assert_contents>
92 <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">
93 <has_line_matching expression="type: DistanceMatrix"/>
94 </has_archive_member>
95 </assert_contents>
96 </output>
97 </test>
98 <test>
99 <param name="table" value="weighted_unifrac.test3.feature-table.qza" ftype="qza"/>
100 <param name="phylogeny" value="weighted_unifrac.test3.phylogeny.qza" ftype="qza"/>
101 <conditional name="__q2galaxy__GUI__conditional__threads__">
102 <param name="__q2galaxy__GUI__select__" value="auto"/>
103 <param name="threads" value="auto"/>
104 </conditional>
105 <param name="bypass_tips" value="__q2galaxy__::literal::True"/>
106 <output name="distance_matrix" ftype="qza">
107 <assert_contents>
108 <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">
109 <has_line_matching expression="type: DistanceMatrix"/>
110 </has_archive_member>
111 </assert_contents>
112 </output>
113 </test>
114 </tests>
115 <help>
116 QIIME 2: diversity-lib weighted-unifrac
117 =======================================
118 Weighted Unifrac
119
120
121 Outputs:
122 --------
123 :distance_matrix.qza: Distance matrix for Unweighted Unifrac.
124
125 |
126
127 Description:
128 ------------
129 Compute Weighted Unifrac for each sample in a feature table
130
131 Examples:
132 ---------
133
134 run on one core (by default)
135 ****************************
136 Using the ``qiime2 diversity-lib weighted-unifrac`` tool:
137 #. Set *"table"* to ``#: feature-table.qza``
138 #. Set *"phylogeny"* to ``#: phylogeny.qza``
139 #. Press the ``Execute`` button.
140
141 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
142 (Renaming is optional, but it will make any subsequent steps easier to complete.)
143
144 .. list-table::
145 :align: left
146 :header-rows: 1
147
148 * - History Name
149 - *"Name"* to set (be sure to press ``Save``)
150 * - ``#: qiime2 diversity-lib weighted-unifrac [...] : distance_matrix.qza``
151 - ``weighted-unifrac-dm.qza``
152
153 to run on n cores, replace 1 here with your preferred integer
154 *************************************************************
155 Using the ``qiime2 diversity-lib weighted-unifrac`` tool:
156 #. Set *"table"* to ``#: feature-table.qza``
157 #. Set *"phylogeny"* to ``#: phylogeny.qza``
158 #. Expand the ``additional options`` section
159
160 - Leave *"threads"* as its default value of ``1``
161
162 #. Press the ``Execute`` button.
163
164 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
165 (Renaming is optional, but it will make any subsequent steps easier to complete.)
166
167 .. list-table::
168 :align: left
169 :header-rows: 1
170
171 * - History Name
172 - *"Name"* to set (be sure to press ``Save``)
173 * - ``#: qiime2 diversity-lib weighted-unifrac [...] : distance_matrix.qza``
174 - ``weighted-unifrac-dm.qza``
175
176 use 'auto' to run on all of host system's available CPU cores
177 *************************************************************
178 Using the ``qiime2 diversity-lib weighted-unifrac`` tool:
179 #. Set *"table"* to ``#: feature-table.qza``
180 #. Set *"phylogeny"* to ``#: phylogeny.qza``
181 #. Expand the ``additional options`` section
182
183 - Set *"threads"* to ``auto``
184
185 #. Press the ``Execute`` button.
186
187 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
188 (Renaming is optional, but it will make any subsequent steps easier to complete.)
189
190 .. list-table::
191 :align: left
192 :header-rows: 1
193
194 * - History Name
195 - *"Name"* to set (be sure to press ``Save``)
196 * - ``#: qiime2 diversity-lib weighted-unifrac [...] : distance_matrix.qza``
197 - ``weighted-unifrac-dm.qza``
198
199 use bypass_tips to trade specificity for reduced compute time
200 *************************************************************
201 | bypass_tips can be used with any threads setting, but auto may be a good choice if you're trimming run time.
202 Using the ``qiime2 diversity-lib weighted-unifrac`` tool:
203 #. Set *"table"* to ``#: feature-table.qza``
204 #. Set *"phylogeny"* to ``#: phylogeny.qza``
205 #. Expand the ``additional options`` section
206
207 #. Set *"threads"* to ``auto``
208 #. Set *"bypass_tips"* to ``Yes``
209
210 #. Press the ``Execute`` button.
211
212 Once completed, for the 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 diversity-lib weighted-unifrac [...] : distance_matrix.qza``
222 - ``weighted-unifrac-dm.qza``
223
224
225 |
226
227 </help>
228 <citations>
229 <citation type="doi">10.1128/AEM.71.12.8228-8235.2005</citation>
230 <citation type="doi">10.1128/AEM.01996-06</citation>
231 <citation type="doi">10.1038/ismej.2009.97</citation>
232 <citation type="doi">10.1038/ismej.2010.133</citation>
233 <citation type="doi">10.1038/s41592-018-0187-8</citation>
234 <citation type="doi">10.1038/s41587-019-0209-9</citation>
235 </citations>
236 </tool>