Mercurial > repos > q2d2 > qiime2__taxa__barplot
view qiime2__taxa__barplot.xml @ 1:5750bac5b744 draft
planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__taxa commit 69da7976573cc07a363ac66bdacc9269d7cd3732
author | q2d2 |
---|---|
date | Fri, 13 Jan 2023 23:01:20 +0000 |
parents | 41b0195ccfdc |
children | 124673b2e9e7 |
line wrap: on
line source
<?xml version='1.0' encoding='utf-8'?> <!-- Copyright (c) 2023, QIIME 2 development team. Distributed under the terms of the Modified BSD License. (SPDX: BSD-3-Clause) --> <!-- This tool was automatically generated by: q2galaxy (version: 2022.11.1) for: qiime2 (version: 2022.11.1) --> <tool name="qiime2 taxa barplot" id="qiime2__taxa__barplot" version="2022.11.1+q2galaxy.2022.11.1.2" profile="22.05" license="BSD-3-Clause"> <description>Visualize taxonomy with an interactive bar plot</description> <requirements> <container type="docker">quay.io/qiime2/core:2022.11</container> </requirements> <version_command>q2galaxy version taxa</version_command> <command detect_errors="exit_code">q2galaxy run taxa barplot '$inputs'</command> <configfiles> <inputs name="inputs" data_style="paths"/> </configfiles> <inputs> <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency]" help="[required] Feature table to visualize at various taxonomic levels."> <options options_filter_attribute="metadata.semantic_type"> <filter type="add_value" value="FeatureTable[Frequency]"/> </options> <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]']</validator> </param> <param name="taxonomy" type="data" format="qza" label="taxonomy: FeatureData[Taxonomy]" help="[required] 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."> <options options_filter_attribute="metadata.semantic_type"> <filter type="add_value" value="FeatureData[Taxonomy]"/> </options> <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureData[Taxonomy]']</validator> </param> <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options"> <repeat name="metadata" help="[optional] The sample metadata." title="metadata: Metadata"> <conditional name="__q2galaxy__GUI__conditional__metadata__"> <param name="type" type="select" label="metadata: Metadata"> <option value="tsv" selected="true">Metadata from TSV</option> <option value="qza">Metadata from Artifact</option> </param> <when value="tsv"> <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/> </when> <when value="qza"> <param name="source" type="data" format="qza" label="Metadata Source"/> </when> </conditional> </repeat> </section> </inputs> <outputs> <data name="visualization" format="qzv" label="${tool.name} on ${on_string}: visualization.qzv" from_work_dir="visualization.qzv"/> </outputs> <tests> <test> <param name="table" value="barplot.test0.table.qza" ftype="qza"/> <param name="taxonomy" value="barplot.test0.taxonomy.qza" ftype="qza"/> <repeat name="metadata"> <conditional name="__q2galaxy__GUI__conditional__metadata__"> <param name="type" value="tsv"/> <param name="source" value="barplot.test0.sample-metadata.tsv" ftype="qiime2.tabular"/> </conditional> </repeat> <output name="visualization" ftype="qzv"> <assert_contents> <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"> <has_line_matching expression="type: Visualization"/> </has_archive_member> </assert_contents> </output> </test> </tests> <help> QIIME 2: taxa barplot ===================== Visualize taxonomy with an interactive bar plot Outputs: -------- :visualization.qzv: <no description> | Description: ------------ This visualizer produces an interactive barplot visualization of taxonomies. Interactive features include multi-level sorting, plot recoloring, sample relabeling, and SVG figure export. Examples: --------- barplot ******* Using the ``qiime2 taxa barplot`` tool: #. Set *"table"* to ``#: table.qza`` #. Set *"taxonomy"* to ``#: taxonomy.qza`` #. Expand the ``additional options`` section - For *"metadata"*: - Press the ``+ Insert metadata`` button to set up the next steps. #. Leave as ``Metadata from TSV`` #. Set *"Metadata Source"* to ``sample-metadata.tsv`` #. Press the ``Execute`` button. Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows: (Renaming is optional, but it will make any subsequent steps easier to complete.) .. list-table:: :align: left :header-rows: 1 * - History Name - *"Name"* to set (be sure to press ``Save``) * - ``#: qiime2 taxa barplot [...] : visualization.qzv`` - ``taxa-bar-plots.qzv`` | </help> <citations> <citation type="doi">10.1038/s41587-019-0209-9</citation> </citations> </tool>