comparison qiime2__diversity_lib__beta_phylogenetic_meta_passthrough.xml @ 0:e1dbc6a12aa9 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:17 +0000
parents
children 1f01b410d3f2
comparison
equal deleted inserted replaced
-1:000000000000 0:e1dbc6a12aa9
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 beta-phylogenetic-meta-passthrough" id="qiime2__diversity_lib__beta_phylogenetic_meta_passthrough" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
14 <description>Beta Phylogenetic Meta Passthrough</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 beta_phylogenetic_meta_passthrough '$inputs'</command>
20 <configfiles>
21 <inputs name="inputs" data_style="paths"/>
22 </configfiles>
23 <inputs>
24 <param name="tables" type="data" format="qza" label="tables: List[FeatureTable[Frequency]]" help="[required] The feature tables containing the samples over which beta diversity should be computed." multiple="true">
25 <options options_filter_attribute="metadata.semantic_type">
26 <filter type="add_value" value="FeatureTable[Frequency]"/>
27 </options>
28 </param>
29 <param name="phylogenies" type="data" format="qza" label="phylogenies: List[Phylogeny[Rooted]]" help="[required] Phylogenetic trees 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." multiple="true">
30 <options options_filter_attribute="metadata.semantic_type">
31 <filter type="add_value" value="Phylogeny[Rooted]"/>
32 </options>
33 </param>
34 <param name="metric" type="select" label="metric: Str % Choices('generalized_unifrac', 'unweighted_unifrac', 'weighted_normalized_unifrac', 'weighted_unifrac')" display="radio">
35 <option value="__q2galaxy__::literal::None">Selection required</option>
36 <option value="generalized_unifrac">generalized_unifrac</option>
37 <option value="unweighted_unifrac">unweighted_unifrac</option>
38 <option value="weighted_normalized_unifrac">weighted_normalized_unifrac</option>
39 <option value="weighted_unifrac">weighted_unifrac</option>
40 <validator type="expression" message="Please verify this parameter.">value != '__q2galaxy__::literal::None'</validator>
41 </param>
42 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
43 <conditional name="__q2galaxy__GUI__conditional__threads__">
44 <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.">
45 <option value="auto">auto (Str)</option>
46 <option value="__q2galaxy__::control::Int X Range(1__comma__ None)" selected="true">Provide a value (Int % Range(1, None))</option>
47 </param>
48 <when value="auto">
49 <param name="threads" type="hidden" value="auto"/>
50 </when>
51 <when value="__q2galaxy__::control::Int X Range(1__comma__ None)">
52 <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."/>
53 </when>
54 </conditional>
55 <param name="variance_adjusted" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="variance_adjusted: Bool" help="[default: No] Perform variance adjustment based on Chang et al. BMC Bioinformatics 2011. Weights distances based on the proportion of the relative abundance represented between the samples at a given node under evaluation."/>
56 <param name="alpha" type="float" min="0" max="1" optional="true" label="alpha: Float % Range(0, 1, inclusive_end=True)" help="[optional] This parameter is only used when the choice of metric is generalized_unifrac. The value of alpha controls importance of sample proportions. 1.0 is weighted normalized UniFrac. 0.0 is close to unweighted UniFrac, but only if the sample proportions are dichotomized."/>
57 <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"/>
58 <repeat name="weights" help="[optional] The weight applied to each tree/table pair. This tuple is expected to be in index order with tables and phylogenies. Default is to weight each tree/table pair evenly." title="weights: List[Float]">
59 <param name="element" type="float" value="" label="element: Float" help="[required]"/>
60 </repeat>
61 <param name="consolidation" type="select" label="consolidation: Str % Choices('skipping_missing_matrices', 'missing_zero', 'missing_one', 'skipping_missing_values')" display="radio">
62 <option value="skipping_missing_matrices">skipping_missing_matrices</option>
63 <option value="missing_zero">missing_zero</option>
64 <option value="missing_one">missing_one</option>
65 <option value="skipping_missing_values" selected="true">skipping_missing_values</option>
66 </param>
67 </section>
68 </inputs>
69 <outputs>
70 <data name="distance_matrix" format="qza" label="${tool.name} on ${on_string}: distance_matrix.qza" from_work_dir="distance_matrix.qza"/>
71 </outputs>
72 <tests>
73 <test>
74 <param name="tables" value="beta_phylogenetic_meta_passthrough.test0.feature-table1.qza,beta_phylogenetic_meta_passthrough.test0.feature-table2.qza" ftype="qza"/>
75 <param name="phylogenies" value="beta_phylogenetic_meta_passthrough.test0.phylogeny1.qza,beta_phylogenetic_meta_passthrough.test0.phylogeny2.qza" ftype="qza"/>
76 <param name="metric" value="weighted_normalized_unifrac"/>
77 <output name="distance_matrix" ftype="qza">
78 <assert_contents>
79 <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">
80 <has_line_matching expression="type: DistanceMatrix"/>
81 </has_archive_member>
82 </assert_contents>
83 </output>
84 </test>
85 <test>
86 <param name="tables" value="beta_phylogenetic_meta_passthrough.test1.feature-table1.qza,beta_phylogenetic_meta_passthrough.test1.feature-table2.qza" ftype="qza"/>
87 <param name="phylogenies" value="beta_phylogenetic_meta_passthrough.test1.phylogeny.qza,beta_phylogenetic_meta_passthrough.test1.phylogeny.qza" ftype="qza"/>
88 <param name="metric" value="weighted_normalized_unifrac"/>
89 <repeat name="weights">
90 <param name="element" value="3.0"/>
91 </repeat>
92 <repeat name="weights">
93 <param name="element" value="42.0"/>
94 </repeat>
95 <output name="distance_matrix" ftype="qza">
96 <assert_contents>
97 <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">
98 <has_line_matching expression="type: DistanceMatrix"/>
99 </has_archive_member>
100 </assert_contents>
101 </output>
102 </test>
103 <test>
104 <param name="tables" value="beta_phylogenetic_meta_passthrough.test2.feature-table1.qza,beta_phylogenetic_meta_passthrough.test2.feature-table2.qza" ftype="qza"/>
105 <param name="phylogenies" value="beta_phylogenetic_meta_passthrough.test2.phylogeny1.qza,beta_phylogenetic_meta_passthrough.test2.phylogeny2.qza" ftype="qza"/>
106 <param name="metric" value="weighted_normalized_unifrac"/>
107 <repeat name="weights">
108 <param name="element" value="0.4"/>
109 </repeat>
110 <repeat name="weights">
111 <param name="element" value="0.6"/>
112 </repeat>
113 <param name="consolidation" value="skipping_missing_values"/>
114 <output name="distance_matrix" ftype="qza">
115 <assert_contents>
116 <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">
117 <has_line_matching expression="type: DistanceMatrix"/>
118 </has_archive_member>
119 </assert_contents>
120 </output>
121 </test>
122 </tests>
123 <help>
124 QIIME 2: diversity-lib beta-phylogenetic-meta-passthrough
125 =========================================================
126 Beta Phylogenetic Meta Passthrough
127
128
129 Outputs:
130 --------
131 :distance_matrix.qza: The resulting distance matrix.
132
133 |
134
135 Description:
136 ------------
137 Computes a distance matrix for all pairs of samples in the set of feature table and phylogeny pairs, using the unifrac implementation of the selected beta diversity metric.
138
139 Examples:
140 ---------
141
142 Basic meta unifrac
143 ******************
144 | For brevity, these examples are focused on meta-specific parameters. See the documentation for beta_phylogenetic_passthrough for additional relevant information.
145 | NOTE: the number of trees and tables must match.
146 Using the ``qiime2 diversity-lib beta-phylogenetic-meta-passthrough`` tool:
147 #. For *"tables"*, use ctrl-(or command)-click to select the following inputs:
148
149 #. ``#: feature-table1.qza``
150 #. ``#: feature-table2.qza``
151
152 #. For *"phylogenies"*, use ctrl-(or command)-click to select the following inputs:
153
154 #. ``#: phylogeny1.qza``
155 #. ``#: phylogeny2.qza``
156
157 #. Set *"metric"* to ``weighted_normalized_unifrac``
158 #. Press the ``Execute`` button.
159
160 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
161 (Renaming is optional, but it will make any subsequent steps easier to complete.)
162
163 .. list-table::
164 :align: left
165 :header-rows: 1
166
167 * - History Name
168 - *"Name"* to set (be sure to press ``Save``)
169 * - ``#: qiime2 diversity-lib beta-phylogenetic-meta-passthrough [...] : distance_matrix.qza``
170 - ``ft1-ft2-w-norm-unifrac-dm.qza``
171
172 meta with weights
173 *****************
174 | The number of weights must match the number of tables/trees.
175 | If meaningful, it is possible to pass the same phylogeny more than once.
176 Using the ``qiime2 diversity-lib beta-phylogenetic-meta-passthrough`` tool:
177 #. For *"tables"*, use ctrl-(or command)-click to select the following inputs:
178
179 #. ``#: feature-table1.qza``
180 #. ``#: feature-table2.qza``
181
182 #. For *"phylogenies"*, use ctrl-(or command)-click to select the following inputs:
183
184 #. ``#: phylogeny.qza``
185 #. ``#: phylogeny.qza``
186
187 #. Set *"metric"* to ``weighted_normalized_unifrac``
188 #. Expand the ``additional options`` section
189
190 - For *"weights"*, use the ``+ weights`` button to add the corresponding values:
191
192 #. Add *"element"* set to ``3.0``
193 #. Add *"element"* set to ``42.0``
194
195
196 #. Press the ``Execute`` button.
197
198 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
199 (Renaming is optional, but it will make any subsequent steps easier to complete.)
200
201 .. list-table::
202 :align: left
203 :header-rows: 1
204
205 * - History Name
206 - *"Name"* to set (be sure to press ``Save``)
207 * - ``#: qiime2 diversity-lib beta-phylogenetic-meta-passthrough [...] : distance_matrix.qza``
208 - ``ft1-ft2-w-norm-unifrac-dm.qza``
209
210 changing the consolidation method
211 *********************************
212 Using the ``qiime2 diversity-lib beta-phylogenetic-meta-passthrough`` tool:
213 #. For *"tables"*, use ctrl-(or command)-click to select the following inputs:
214
215 #. ``#: feature-table1.qza``
216 #. ``#: feature-table2.qza``
217
218 #. For *"phylogenies"*, use ctrl-(or command)-click to select the following inputs:
219
220 #. ``#: phylogeny1.qza``
221 #. ``#: phylogeny2.qza``
222
223 #. Set *"metric"* to ``weighted_normalized_unifrac``
224 #. Expand the ``additional options`` section
225
226 #. For *"weights"*, use the ``+ weights`` button to add the corresponding values:
227
228 #. Add *"element"* set to ``0.4``
229 #. Add *"element"* set to ``0.6``
230
231 #. Leave *"consolidation"* as its default value of ``skipping_missing_values``
232
233 #. Press the ``Execute`` button.
234
235 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
236 (Renaming is optional, but it will make any subsequent steps easier to complete.)
237
238 .. list-table::
239 :align: left
240 :header-rows: 1
241
242 * - History Name
243 - *"Name"* to set (be sure to press ``Save``)
244 * - ``#: qiime2 diversity-lib beta-phylogenetic-meta-passthrough [...] : distance_matrix.qza``
245 - ``ft1-ft2-w-norm-unifrac-dm.qza``
246
247
248 |
249
250 </help>
251 <citations>
252 <citation type="doi">10.1128/AEM.71.12.8228-8235.2005</citation>
253 <citation type="doi">10.1128/AEM.01996-06</citation>
254 <citation type="doi">10.1038/ismej.2009.97</citation>
255 <citation type="doi">10.1038/ismej.2010.133</citation>
256 <citation type="doi">10.1038/s41592-018-0187-8</citation>
257 <citation type="doi">10.1186/1471-2105-12-118</citation>
258 <citation type="doi">10.1093/bioinformatics/bts342</citation>
259 <citation type="doi">10.1073/pnas.0807339105</citation>
260 <citation type="doi">10.1038/s41587-019-0209-9</citation>
261 </citations>
262 </tool>