comparison qiime2__diversity_lib__unweighted_unifrac.xml @ 0:dda27bfef141 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:46:59 +0000
parents
children 5c190c90bab0
comparison
equal deleted inserted replaced
-1:000000000000 0:dda27bfef141
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 unweighted-unifrac" id="qiime2__diversity_lib__unweighted_unifrac" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
14 <description>Unweighted 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 unweighted_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 | PresenceAbsence]" help="[required] The feature table containing the samples for which Unweighted 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[PresenceAbsence]"/>
28 <filter type="add_value" value="FeatureTable[RelativeFrequency]"/>
29 </options>
30 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]', 'FeatureTable[PresenceAbsence]', 'FeatureTable[RelativeFrequency]']</validator>
31 </param>
32 <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.">
33 <options options_filter_attribute="metadata.semantic_type">
34 <filter type="add_value" value="Phylogeny[Rooted]"/>
35 </options>
36 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['Phylogeny[Rooted]']</validator>
37 </param>
38 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
39 <conditional name="__q2galaxy__GUI__conditional__threads__">
40 <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.">
41 <option value="auto">auto (Str)</option>
42 <option value="__q2galaxy__::control::Int X Range(1__comma__ None)" selected="true">Provide a value (Int % Range(1, None))</option>
43 </param>
44 <when value="auto">
45 <param name="threads" type="hidden" value="auto"/>
46 </when>
47 <when value="__q2galaxy__::control::Int X Range(1__comma__ None)">
48 <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."/>
49 </when>
50 </conditional>
51 <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"/>
52 </section>
53 </inputs>
54 <outputs>
55 <data name="distance_matrix" format="qza" label="${tool.name} on ${on_string}: distance_matrix.qza" from_work_dir="distance_matrix.qza"/>
56 </outputs>
57 <tests>
58 <test>
59 <param name="table" value="unweighted_unifrac.test0.feature-table.qza" ftype="qza"/>
60 <param name="phylogeny" value="unweighted_unifrac.test0.phylogeny.qza" ftype="qza"/>
61 <output name="distance_matrix" ftype="qza">
62 <assert_contents>
63 <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">
64 <has_line_matching expression="type: DistanceMatrix"/>
65 </has_archive_member>
66 </assert_contents>
67 </output>
68 </test>
69 <test>
70 <param name="table" value="unweighted_unifrac.test1.feature-table.qza" ftype="qza"/>
71 <param name="phylogeny" value="unweighted_unifrac.test1.phylogeny.qza" ftype="qza"/>
72 <conditional name="__q2galaxy__GUI__conditional__threads__">
73 <param name="__q2galaxy__GUI__select__" value="__q2galaxy__::control::Int X Range(1__comma__ None)"/>
74 <param name="threads" value="1"/>
75 </conditional>
76 <output name="distance_matrix" ftype="qza">
77 <assert_contents>
78 <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">
79 <has_line_matching expression="type: DistanceMatrix"/>
80 </has_archive_member>
81 </assert_contents>
82 </output>
83 </test>
84 <test>
85 <param name="table" value="unweighted_unifrac.test2.feature-table.qza" ftype="qza"/>
86 <param name="phylogeny" value="unweighted_unifrac.test2.phylogeny.qza" ftype="qza"/>
87 <conditional name="__q2galaxy__GUI__conditional__threads__">
88 <param name="__q2galaxy__GUI__select__" value="auto"/>
89 <param name="threads" value="auto"/>
90 </conditional>
91 <output name="distance_matrix" ftype="qza">
92 <assert_contents>
93 <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">
94 <has_line_matching expression="type: DistanceMatrix"/>
95 </has_archive_member>
96 </assert_contents>
97 </output>
98 </test>
99 <test>
100 <param name="table" value="unweighted_unifrac.test3.feature-table.qza" ftype="qza"/>
101 <param name="phylogeny" value="unweighted_unifrac.test3.phylogeny.qza" ftype="qza"/>
102 <conditional name="__q2galaxy__GUI__conditional__threads__">
103 <param name="__q2galaxy__GUI__select__" value="auto"/>
104 <param name="threads" value="auto"/>
105 </conditional>
106 <param name="bypass_tips" value="__q2galaxy__::literal::True"/>
107 <output name="distance_matrix" ftype="qza">
108 <assert_contents>
109 <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">
110 <has_line_matching expression="type: DistanceMatrix"/>
111 </has_archive_member>
112 </assert_contents>
113 </output>
114 </test>
115 </tests>
116 <help>
117 QIIME 2: diversity-lib unweighted-unifrac
118 =========================================
119 Unweighted Unifrac
120
121
122 Outputs:
123 --------
124 :distance_matrix.qza: Distance matrix for Unweighted Unifrac.
125
126 |
127
128 Description:
129 ------------
130 Compute Unweighted Unifrac for each sample in a feature table
131
132 Examples:
133 ---------
134
135 run on one core (by default)
136 ****************************
137 Using the ``qiime2 diversity-lib unweighted-unifrac`` tool:
138 #. Set *"table"* to ``#: feature-table.qza``
139 #. Set *"phylogeny"* to ``#: phylogeny.qza``
140 #. Press the ``Execute`` button.
141
142 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
143 (Renaming is optional, but it will make any subsequent steps easier to complete.)
144
145 .. list-table::
146 :align: left
147 :header-rows: 1
148
149 * - History Name
150 - *"Name"* to set (be sure to press ``Save``)
151 * - ``#: qiime2 diversity-lib unweighted-unifrac [...] : distance_matrix.qza``
152 - ``unweighted-unifrac-dm.qza``
153
154 to run on n cores, replace 1 here with your preferred integer
155 *************************************************************
156 Using the ``qiime2 diversity-lib unweighted-unifrac`` tool:
157 #. Set *"table"* to ``#: feature-table.qza``
158 #. Set *"phylogeny"* to ``#: phylogeny.qza``
159 #. Expand the ``additional options`` section
160
161 - Leave *"threads"* as its default value of ``1``
162
163 #. Press the ``Execute`` button.
164
165 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
166 (Renaming is optional, but it will make any subsequent steps easier to complete.)
167
168 .. list-table::
169 :align: left
170 :header-rows: 1
171
172 * - History Name
173 - *"Name"* to set (be sure to press ``Save``)
174 * - ``#: qiime2 diversity-lib unweighted-unifrac [...] : distance_matrix.qza``
175 - ``unweighted-unifrac-dm.qza``
176
177 use 'auto' to run on all of host system's available CPU cores
178 *************************************************************
179 Using the ``qiime2 diversity-lib unweighted-unifrac`` tool:
180 #. Set *"table"* to ``#: feature-table.qza``
181 #. Set *"phylogeny"* to ``#: phylogeny.qza``
182 #. Expand the ``additional options`` section
183
184 - Set *"threads"* to ``auto``
185
186 #. Press the ``Execute`` button.
187
188 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
189 (Renaming is optional, but it will make any subsequent steps easier to complete.)
190
191 .. list-table::
192 :align: left
193 :header-rows: 1
194
195 * - History Name
196 - *"Name"* to set (be sure to press ``Save``)
197 * - ``#: qiime2 diversity-lib unweighted-unifrac [...] : distance_matrix.qza``
198 - ``unweighted-unifrac-dm.qza``
199
200 use bypass_tips to trade specificity for reduced compute time
201 *************************************************************
202 | bypass_tips can be used with any threads setting, but auto may be a good choice if you're trimming run time.
203 Using the ``qiime2 diversity-lib unweighted-unifrac`` tool:
204 #. Set *"table"* to ``#: feature-table.qza``
205 #. Set *"phylogeny"* to ``#: phylogeny.qza``
206 #. Expand the ``additional options`` section
207
208 #. Set *"threads"* to ``auto``
209 #. Set *"bypass_tips"* to ``Yes``
210
211 #. Press the ``Execute`` button.
212
213 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
214 (Renaming is optional, but it will make any subsequent steps easier to complete.)
215
216 .. list-table::
217 :align: left
218 :header-rows: 1
219
220 * - History Name
221 - *"Name"* to set (be sure to press ``Save``)
222 * - ``#: qiime2 diversity-lib unweighted-unifrac [...] : distance_matrix.qza``
223 - ``unweighted-unifrac-dm.qza``
224
225
226 |
227
228 </help>
229 <citations>
230 <citation type="doi">10.1128/AEM.71.12.8228-8235.2005</citation>
231 <citation type="doi">10.1128/AEM.01996-06</citation>
232 <citation type="doi">10.1038/ismej.2009.97</citation>
233 <citation type="doi">10.1038/ismej.2010.133</citation>
234 <citation type="doi">10.1038/s41592-018-0187-8</citation>
235 <citation type="doi">10.1038/s41587-019-0209-9</citation>
236 </citations>
237 </tool>