comparison qiime2__taxa__barplot2.xml @ 0:50bcca67ad6a draft default tip

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__taxa commit 64ed09f1f1c680ad8373d261bd6be43a4f8a8d5b
author q2d2
date Sat, 01 Nov 2025 17:32:49 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:50bcca67ad6a
1 <?xml version='1.0' encoding='utf-8'?>
2 <!--
3 Copyright (c) 2025, 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: 2025.10.0)
10 for:
11 qiime2 (version: 2025.10.0)
12 -->
13 <tool name="qiime2 taxa barplot2" id="qiime2__taxa__barplot2" version="2025.10.0+q2galaxy.2025.10.0" profile="22.05" license="BSD-3-Clause">
14 <description>Experimental interactive stacked bar plot of per-sample taxa.</description>
15 <xrefs>
16 <xref type="bio.tools">qiime2</xref>
17 </xrefs>
18 <requirements>
19 <container type="docker">quay.io/qiime2/amplicon:2025.10</container>
20 </requirements>
21 <version_command>q2galaxy version taxa</version_command>
22 <command detect_errors="exit_code">q2galaxy run taxa barplot2 '$inputs'</command>
23 <configfiles>
24 <inputs name="inputs" data_style="staging_path_and_source_path"/>
25 </configfiles>
26 <inputs>
27 <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency | PresenceAbsence | RelativeFrequency]" help="[required] Feature table to visualize at various taxonomic levels.">
28 <options options_filter_attribute="metadata.semantic_type">
29 <filter type="add_value" value="FeatureTable[PresenceAbsence]"/>
30 <filter type="add_value" value="FeatureTable[Frequency]"/>
31 <filter type="add_value" value="FeatureTable[RelativeFrequency]"/>
32 </options>
33 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]', 'FeatureTable[PresenceAbsence]', 'FeatureTable[RelativeFrequency]']</validator>
34 </param>
35 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
36 <param name="taxonomy" type="data" format="qza" optional="true" label="taxonomy: FeatureData[Taxonomy]" help="[optional] Taxonomic annotations for features in the provided feature table. All features in the feature table must have a corresponding taxonomic annotation. Taxonomic annotations that are not present in the feature table will be ignored. If no taxonomy is provided, the feature IDs will be used as labels.">
37 <options options_filter_attribute="metadata.semantic_type">
38 <filter type="add_value" value="FeatureData[Taxonomy]"/>
39 </options>
40 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureData[Taxonomy]']</validator>
41 </param>
42 <repeat name="metadata" help="[optional] The sample metadata." title="metadata: Metadata">
43 <conditional name="__q2galaxy__GUI__conditional__metadata__">
44 <param name="type" type="select" label="metadata: Metadata">
45 <option value="tsv" selected="true">Metadata from TSV</option>
46 <option value="qza">Metadata from Artifact</option>
47 </param>
48 <when value="tsv">
49 <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/>
50 </when>
51 <when value="qza">
52 <param name="source" type="data" format="qza" label="Metadata Source"/>
53 </when>
54 </conditional>
55 </repeat>
56 <conditional name="__q2galaxy__GUI__conditional__level_delimiter__" label="level_delimiter: Str">
57 <param name="__q2galaxy__GUI__select__" type="select" label="level_delimiter: Str" help="[optional] Attempt to parse hierarchical taxonomic information from feature IDs by separating levels with this character. This parameter is ignored if a taxonomy is provided as input.">
58 <option value="__q2galaxy__::control::default" selected="true">None (Use default behavior)</option>
59 <option value="__q2galaxy__::control::provide">Provide a value</option>
60 </param>
61 <when value="__q2galaxy__::control::default">
62 <param name="level_delimiter" type="hidden" value="__q2galaxy__::literal::None"/>
63 </when>
64 <when value="__q2galaxy__::control::provide">
65 <param name="level_delimiter" type="text">
66 <sanitizer>
67 <valid initial="string.printable"/>
68 </sanitizer>
69 </param>
70 </when>
71 </conditional>
72 </section>
73 </inputs>
74 <outputs>
75 <data name="visualization" format="qzv" label="${tool.name} on ${on_string}: visualization.qzv" from_work_dir="visualization.qzv"/>
76 </outputs>
77 <tests>
78 <test>
79 <param name="table" value="barplot2.test0.table.qza" ftype="qza"/>
80 <param name="taxonomy" value="barplot2.test0.taxonomy.qza" ftype="qza"/>
81 <repeat name="metadata">
82 <conditional name="__q2galaxy__GUI__conditional__metadata__">
83 <param name="type" value="tsv"/>
84 <param name="source" value="barplot2.test0.sample-metadata.tsv" ftype="qiime2.tabular"/>
85 </conditional>
86 </repeat>
87 <output name="visualization" ftype="qzv">
88 <assert_contents>
89 <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">
90 <has_line_matching expression="type: Visualization"/>
91 </has_archive_member>
92 </assert_contents>
93 </output>
94 </test>
95 </tests>
96 <help>
97 QIIME 2: taxa barplot2
98 ======================
99 Experimental interactive stacked bar plot of per-sample taxa.
100
101
102 Outputs:
103 --------
104 :visualization.qzv: &lt;no description&gt;
105
106 |
107
108 Description:
109 ------------
110 This is an early release of a replacement for the `barplot` visualizer in this plugin. As of 2025.10, this should be considered experimental, and we are very interested in community feedback on this new visualizer. This command will eventually be removed when this visualizer replaces the `barplot` visualizer.
111
112 Examples:
113 ---------
114
115 barplot
116 *******
117 Using the ``qiime2 taxa barplot2`` tool:
118 #. Set *"table"* to ``#: table.qza``
119 #. Expand the ``additional options`` section
120
121 #. Set *"taxonomy"* to ``#: taxonomy.qza``
122 #. For *"metadata"*:
123
124 - Press the ``+ Insert metadata`` button to set up the next steps.
125
126 #. Leave as ``Metadata from TSV``
127 #. Set *"Metadata Source"* to ``sample-metadata.tsv``
128
129
130
131 #. Press the ``Execute`` button.
132
133 Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows:
134 (Renaming is optional, but it will make any subsequent steps easier to complete.)
135
136 .. list-table::
137 :align: left
138 :header-rows: 1
139
140 * - History Name
141 - *"Name"* to set (be sure to press ``Save``)
142 * - ``#: qiime2 taxa barplot2 [...] : visualization.qzv``
143 - ``taxa-bar-plots.qzv``
144
145
146 |
147
148 </help>
149 <citations>
150 <citation type="doi">10.1038/s41587-019-0209-9</citation>
151 </citations>
152 </tool>