comparison qiime2__diversity_lib__beta_passthrough.xml @ 0:da97d578001c 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:45:35 +0000
parents
children 66045b02d6c1
comparison
equal deleted inserted replaced
-1:000000000000 0:da97d578001c
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-passthrough" id="qiime2__diversity_lib__beta_passthrough" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
14 <description>Beta Passthrough (non-phylogenetic)</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_passthrough '$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] The feature table containing the samples over which beta diversity should be computed.">
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="metric" type="select" label="metric: Str % Choices('aitchison', 'canberra', 'canberra_adkins', 'chebyshev', 'cityblock', 'correlation', 'cosine', 'dice', 'euclidean', 'hamming', 'jensenshannon', 'kulsinski', 'matching', 'minkowski', 'rogerstanimoto', 'russellrao', 'seuclidean', 'sokalmichener', 'sokalsneath', 'sqeuclidean', 'yule')">
31 <option value="__q2galaxy__::literal::None">Selection required</option>
32 <option value="aitchison">aitchison</option>
33 <option value="canberra">canberra</option>
34 <option value="canberra_adkins">canberra_adkins</option>
35 <option value="chebyshev">chebyshev</option>
36 <option value="cityblock">cityblock</option>
37 <option value="correlation">correlation</option>
38 <option value="cosine">cosine</option>
39 <option value="dice">dice</option>
40 <option value="euclidean">euclidean</option>
41 <option value="hamming">hamming</option>
42 <option value="jensenshannon">jensenshannon</option>
43 <option value="kulsinski">kulsinski</option>
44 <option value="matching">matching</option>
45 <option value="minkowski">minkowski</option>
46 <option value="rogerstanimoto">rogerstanimoto</option>
47 <option value="russellrao">russellrao</option>
48 <option value="seuclidean">seuclidean</option>
49 <option value="sokalmichener">sokalmichener</option>
50 <option value="sokalsneath">sokalsneath</option>
51 <option value="sqeuclidean">sqeuclidean</option>
52 <option value="yule">yule</option>
53 <validator type="expression" message="Please verify this parameter.">value != '__q2galaxy__::literal::None'</validator>
54 </param>
55 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
56 <param name="pseudocount" type="integer" min="1" value="1" label="pseudocount: Int % Range(1, None)" help="[default: 1] A pseudocount to handle zeros for compositional metrics. This is ignored for non-compositional metrics."/>
57 <conditional name="__q2galaxy__GUI__conditional__n_jobs__">
58 <param name="__q2galaxy__GUI__select__" type="select" label="n_jobs: Int % Range(1, None) | Str % Choices('auto')" help="[default: 1] The number of concurrent jobs to use in performing this calculation. May not exceed the number of available physical cores. If n_jobs = 'auto', one job will be launched for each identified CPU core on the host.">
59 <option value="auto">auto (Str)</option>
60 <option value="__q2galaxy__::control::Int X Range(1__comma__ None)" selected="true">Provide a value (Int % Range(1, None))</option>
61 </param>
62 <when value="auto">
63 <param name="n_jobs" type="hidden" value="auto"/>
64 </when>
65 <when value="__q2galaxy__::control::Int X Range(1__comma__ None)">
66 <param name="n_jobs" type="integer" min="1" value="1" label="n_jobs: Int % Range(1, None)" help="[default: 1] The number of concurrent jobs to use in performing this calculation. May not exceed the number of available physical cores. If n_jobs = 'auto', one job will be launched for each identified CPU core on the host."/>
67 </when>
68 </conditional>
69 </section>
70 </inputs>
71 <outputs>
72 <data name="distance_matrix" format="qza" label="${tool.name} on ${on_string}: distance_matrix.qza" from_work_dir="distance_matrix.qza"/>
73 </outputs>
74 <tests>
75 <test>
76 <param name="table" value="beta_passthrough.test0.feature-table.qza" ftype="qza"/>
77 <param name="metric" value="euclidean"/>
78 <output name="distance_matrix" ftype="qza">
79 <assert_contents>
80 <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">
81 <has_line_matching expression="type: DistanceMatrix"/>
82 </has_archive_member>
83 </assert_contents>
84 </output>
85 </test>
86 <test>
87 <param name="table" value="beta_passthrough.test1.feature-table.qza" ftype="qza"/>
88 <param name="metric" value="kulsinski"/>
89 <conditional name="__q2galaxy__GUI__conditional__n_jobs__">
90 <param name="__q2galaxy__GUI__select__" value="__q2galaxy__::control::Int X Range(1__comma__ None)"/>
91 <param name="n_jobs" value="1"/>
92 </conditional>
93 <output name="distance_matrix" ftype="qza">
94 <assert_contents>
95 <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">
96 <has_line_matching expression="type: DistanceMatrix"/>
97 </has_archive_member>
98 </assert_contents>
99 </output>
100 </test>
101 <test>
102 <param name="table" value="beta_passthrough.test2.feature-table.qza" ftype="qza"/>
103 <param name="metric" value="aitchison"/>
104 <conditional name="__q2galaxy__GUI__conditional__n_jobs__">
105 <param name="__q2galaxy__GUI__select__" value="auto"/>
106 <param name="n_jobs" value="auto"/>
107 </conditional>
108 <output name="distance_matrix" ftype="qza">
109 <assert_contents>
110 <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">
111 <has_line_matching expression="type: DistanceMatrix"/>
112 </has_archive_member>
113 </assert_contents>
114 </output>
115 </test>
116 <test>
117 <param name="table" value="beta_passthrough.test3.feature-table.qza" ftype="qza"/>
118 <param name="metric" value="aitchison"/>
119 <param name="pseudocount" value="5"/>
120 <conditional name="__q2galaxy__GUI__conditional__n_jobs__">
121 <param name="__q2galaxy__GUI__select__" value="auto"/>
122 <param name="n_jobs" value="auto"/>
123 </conditional>
124 <output name="distance_matrix" ftype="qza">
125 <assert_contents>
126 <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">
127 <has_line_matching expression="type: DistanceMatrix"/>
128 </has_archive_member>
129 </assert_contents>
130 </output>
131 </test>
132 </tests>
133 <help>
134 QIIME 2: diversity-lib beta-passthrough
135 =======================================
136 Beta Passthrough (non-phylogenetic)
137
138
139 Outputs:
140 --------
141 :distance_matrix.qza: The resulting distance matrix.
142
143 |
144
145 Description:
146 ------------
147 Computes a distance matrix for all pairs of samples in a feature table using the scikit-bio implementation of the selected beta diversity metric.
148
149 Examples:
150 ---------
151
152 run on one core (by default)
153 ****************************
154 Using the ``qiime2 diversity-lib beta-passthrough`` tool:
155 #. Set *"table"* to ``#: feature-table.qza``
156 #. Set *"metric"* to ``euclidean``
157 #. Press the ``Execute`` button.
158
159 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
160 (Renaming is optional, but it will make any subsequent steps easier to complete.)
161
162 .. list-table::
163 :align: left
164 :header-rows: 1
165
166 * - History Name
167 - *"Name"* to set (be sure to press ``Save``)
168 * - ``#: qiime2 diversity-lib beta-passthrough [...] : distance_matrix.qza``
169 - ``euclidean-dm.qza``
170
171 to run on n cores, replace 1 here with your preferred integer
172 *************************************************************
173 Using the ``qiime2 diversity-lib beta-passthrough`` tool:
174 #. Set *"table"* to ``#: feature-table.qza``
175 #. Set *"metric"* to ``kulsinski``
176 #. Expand the ``additional options`` section
177
178 - Leave *"n_jobs"* as its default value of ``1``
179
180 #. Press the ``Execute`` button.
181
182 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
183 (Renaming is optional, but it will make any subsequent steps easier to complete.)
184
185 .. list-table::
186 :align: left
187 :header-rows: 1
188
189 * - History Name
190 - *"Name"* to set (be sure to press ``Save``)
191 * - ``#: qiime2 diversity-lib beta-passthrough [...] : distance_matrix.qza``
192 - ``kulsinski-dm.qza``
193
194 use 'auto' to run on all of host system's available CPU cores
195 *************************************************************
196 | A default pseudocount of 1 is added to feature counts. Pseudocount is ignored for non-compositional metrics.
197 Using the ``qiime2 diversity-lib beta-passthrough`` tool:
198 #. Set *"table"* to ``#: feature-table.qza``
199 #. Set *"metric"* to ``aitchison``
200 #. Expand the ``additional options`` section
201
202 - Set *"n_jobs"* to ``auto``
203
204 #. Press the ``Execute`` button.
205
206 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
207 (Renaming is optional, but it will make any subsequent steps easier to complete.)
208
209 .. list-table::
210 :align: left
211 :header-rows: 1
212
213 * - History Name
214 - *"Name"* to set (be sure to press ``Save``)
215 * - ``#: qiime2 diversity-lib beta-passthrough [...] : distance_matrix.qza``
216 - ``aitchison-dm.qza``
217
218 use 'pseudocount' to manually set a pseudocount for compositional metrics
219 *************************************************************************
220 Using the ``qiime2 diversity-lib beta-passthrough`` tool:
221 #. Set *"table"* to ``#: feature-table.qza``
222 #. Set *"metric"* to ``aitchison``
223 #. Expand the ``additional options`` section
224
225 #. Set *"pseudocount"* to ``5``
226 #. Set *"n_jobs"* to ``auto``
227
228 #. Press the ``Execute`` button.
229
230 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
231 (Renaming is optional, but it will make any subsequent steps easier to complete.)
232
233 .. list-table::
234 :align: left
235 :header-rows: 1
236
237 * - History Name
238 - *"Name"* to set (be sure to press ``Save``)
239 * - ``#: qiime2 diversity-lib beta-passthrough [...] : distance_matrix.qza``
240 - ``aitchison-dm.qza``
241
242
243 |
244
245 </help>
246 <citations>
247 <citation type="doi">10.1038/s41587-019-0209-9</citation>
248 </citations>
249 </tool>