Mercurial > repos > q2d2 > qiime2__composition__ancombc
comparison qiime2__composition__ancombc.xml @ 0:9b2a68d3017f draft
planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__composition commit 69da7976573cc07a363ac66bdacc9269d7cd3732
author | q2d2 |
---|---|
date | Fri, 13 Jan 2023 22:04:42 +0000 |
parents | |
children | fe99db171ce5 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9b2a68d3017f |
---|---|
1 <?xml version='1.0' encoding='utf-8'?> | |
2 <!-- | |
3 Copyright (c) 2023, 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.11.1) | |
10 for: | |
11 qiime2 (version: 2022.11.1) | |
12 --> | |
13 <tool name="qiime2 composition ancombc" id="qiime2__composition__ancombc" version="2022.11.2+q2galaxy.2022.11.1.2" profile="22.05" license="BSD-3-Clause"> | |
14 <description>Analysis of Composition of Microbiomes with Bias Correction</description> | |
15 <requirements> | |
16 <container type="docker">quay.io/qiime2/core:2022.11</container> | |
17 </requirements> | |
18 <version_command>q2galaxy version composition</version_command> | |
19 <command detect_errors="exit_code">q2galaxy run composition ancombc '$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 to be used for ANCOM computation."> | |
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 <repeat name="metadata" min="1" help="[required] The sample metadata." title="metadata: Metadata"> | |
31 <conditional name="__q2galaxy__GUI__conditional__metadata__"> | |
32 <param name="type" type="select" label="metadata: Metadata"> | |
33 <option value="tsv" selected="true">Metadata from TSV</option> | |
34 <option value="qza">Metadata from Artifact</option> | |
35 </param> | |
36 <when value="tsv"> | |
37 <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/> | |
38 </when> | |
39 <when value="qza"> | |
40 <param name="source" type="data" format="qza" label="Metadata Source"/> | |
41 </when> | |
42 </conditional> | |
43 </repeat> | |
44 <param name="formula" type="text" label="formula: Str" help="[required] How the microbial absolute abundances for each taxon depend on the variables within the `metadata`."> | |
45 <sanitizer> | |
46 <valid initial="string.printable"/> | |
47 </sanitizer> | |
48 <validator type="expression" message="Please verify this parameter.">value is not None and len(value) > 0</validator> | |
49 </param> | |
50 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options"> | |
51 <param name="p_adj_method" type="select" label="p_adj_method: Str % Choices('holm', 'hochberg', 'hommel', 'bonferroni', 'BH', 'BY', 'fdr', 'none')"> | |
52 <option value="holm" selected="true">holm</option> | |
53 <option value="hochberg">hochberg</option> | |
54 <option value="hommel">hommel</option> | |
55 <option value="bonferroni">bonferroni</option> | |
56 <option value="BH">BH</option> | |
57 <option value="BY">BY</option> | |
58 <option value="fdr">fdr</option> | |
59 <option value="none">none</option> | |
60 </param> | |
61 <param name="prv_cut" type="float" value="0.1" label="prv_cut: Float" help="[default: 0.1] A numerical fraction between 0-1. Taxa with prevalences less than this value will be excluded from the analysis."/> | |
62 <param name="lib_cut" type="integer" value="0" label="lib_cut: Int" help="[default: 0] A numerical threshold for filtering samples based on library sizes. Samples with library sizes less than this value will be excluded from the analysis."/> | |
63 <repeat name="reference_levels" help="[optional] Define the reference level(s) to be used for categorical columns found in the `formula`. These categorical factors are dummy coded relative to the reference(s) provided. The syntax is as follows: "column_name::column_value"" title="reference_levels: List[Str]"> | |
64 <param name="element" type="text" label="element: Str" help="[required]"> | |
65 <sanitizer> | |
66 <valid initial="string.printable"/> | |
67 </sanitizer> | |
68 <validator type="expression" message="Please verify this parameter.">value is not None and len(value) > 0</validator> | |
69 </param> | |
70 </repeat> | |
71 <param name="neg_lb" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="neg_lb: Bool" help="[default: No] Whether to classify a taxon as a structural zero using its asymptotic lower bound."/> | |
72 <param name="tol" type="float" value="1e-05" label="tol: Float" help="[default: 1e-05] The iteration convergence tolerance for the E-M algorithm."/> | |
73 <param name="max_iter" type="integer" value="100" label="max_iter: Int" help="[default: 100] The maximum number of iterations for the E-M algorithm."/> | |
74 <param name="conserve" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="conserve: Bool" help="[default: No] Whether to use a conservative variance estimator for the test statistic. It is recommended if the sample size is small and/or the number of differentially abundant taxa is believed to be large."/> | |
75 <param name="alpha" type="float" value="0.05" label="alpha: Float" help="[default: 0.05] Level of significance."/> | |
76 </section> | |
77 </inputs> | |
78 <outputs> | |
79 <data name="differentials" format="qza" label="${tool.name} on ${on_string}: differentials.qza" from_work_dir="differentials.qza"/> | |
80 </outputs> | |
81 <tests> | |
82 <test> | |
83 <param name="table" value="ancombc.test0.table.qza" ftype="qza"/> | |
84 <repeat name="metadata"> | |
85 <conditional name="__q2galaxy__GUI__conditional__metadata__"> | |
86 <param name="type" value="tsv"/> | |
87 <param name="source" value="ancombc.test0.metadata.tsv" ftype="qiime2.tabular"/> | |
88 </conditional> | |
89 </repeat> | |
90 <param name="formula" value="bodysite"/> | |
91 <output name="differentials" 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: FeatureData\[DifferentialAbundance\]"/> | |
95 </has_archive_member> | |
96 </assert_contents> | |
97 </output> | |
98 </test> | |
99 <test> | |
100 <param name="table" value="ancombc.test1.table.qza" ftype="qza"/> | |
101 <repeat name="metadata"> | |
102 <conditional name="__q2galaxy__GUI__conditional__metadata__"> | |
103 <param name="type" value="tsv"/> | |
104 <param name="source" value="ancombc.test1.metadata.tsv" ftype="qiime2.tabular"/> | |
105 </conditional> | |
106 </repeat> | |
107 <param name="formula" value="bodysite + month"/> | |
108 <repeat name="reference_levels"> | |
109 <param name="element" value="bodysite::tongue"/> | |
110 </repeat> | |
111 <output name="differentials" ftype="qza"> | |
112 <assert_contents> | |
113 <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"> | |
114 <has_line_matching expression="type: FeatureData\[DifferentialAbundance\]"/> | |
115 </has_archive_member> | |
116 </assert_contents> | |
117 </output> | |
118 </test> | |
119 </tests> | |
120 <help> | |
121 QIIME 2: composition ancombc | |
122 ============================ | |
123 Analysis of Composition of Microbiomes with Bias Correction | |
124 | |
125 | |
126 Outputs: | |
127 -------- | |
128 :differentials.qza: The calculated per-feature differentials. | |
129 | |
130 | | |
131 | |
132 Description: | |
133 ------------ | |
134 ANCOM-BC description goes here. | |
135 | |
136 Examples: | |
137 --------- | |
138 | |
139 ancombc_single_formula | |
140 ********************** | |
141 Using the ``qiime2 composition ancombc`` tool: | |
142 #. Set *"table"* to ``#: table.qza`` | |
143 #. For *"metadata"*: | |
144 | |
145 - Perform the following steps. | |
146 | |
147 #. Leave as ``Metadata from TSV`` | |
148 #. Set *"Metadata Source"* to ``metadata.tsv`` | |
149 | |
150 | |
151 #. Set *"formula"* to ``bodysite`` | |
152 #. Press the ``Execute`` button. | |
153 | |
154 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows: | |
155 (Renaming is optional, but it will make any subsequent steps easier to complete.) | |
156 | |
157 .. list-table:: | |
158 :align: left | |
159 :header-rows: 1 | |
160 | |
161 * - History Name | |
162 - *"Name"* to set (be sure to press ``Save``) | |
163 * - ``#: qiime2 composition ancombc [...] : differentials.qza`` | |
164 - ``dataloaf.qza`` | |
165 | |
166 ancombc_multi_formula_with_reference_levels | |
167 ******************************************* | |
168 Using the ``qiime2 composition ancombc`` tool: | |
169 #. Set *"table"* to ``#: table.qza`` | |
170 #. For *"metadata"*: | |
171 | |
172 - Perform the following steps. | |
173 | |
174 #. Leave as ``Metadata from TSV`` | |
175 #. Set *"Metadata Source"* to ``metadata.tsv`` | |
176 | |
177 | |
178 #. Set *"formula"* to ``bodysite + month`` | |
179 #. Expand the ``additional options`` section | |
180 | |
181 - For *"reference_levels"*: | |
182 | |
183 #. Set *"element"* to ``bodysite::tongue`` | |
184 #. (Do not insert additional values.) | |
185 | |
186 | |
187 #. Press the ``Execute`` button. | |
188 | |
189 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows: | |
190 (Renaming is optional, but it will make any subsequent steps easier to complete.) | |
191 | |
192 .. list-table:: | |
193 :align: left | |
194 :header-rows: 1 | |
195 | |
196 * - History Name | |
197 - *"Name"* to set (be sure to press ``Save``) | |
198 * - ``#: qiime2 composition ancombc [...] : differentials.qza`` | |
199 - ``dataloaf.qza`` | |
200 | |
201 | |
202 | | |
203 | |
204 </help> | |
205 <citations> | |
206 <citation type="doi">10.3402/mehd.v26.27663</citation> | |
207 <citation type="doi">10.1038/s41587-019-0209-9</citation> | |
208 </citations> | |
209 </tool> |