diff qiime2__emperor__plot.xml @ 1:7c9ec8b8b7f8 draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__emperor commit 69da7976573cc07a363ac66bdacc9269d7cd3732
author q2d2
date Fri, 13 Jan 2023 22:50:44 +0000
parents e6978c621d70
children bc3a80afa08d
line wrap: on
line diff
--- a/qiime2__emperor__plot.xml	Mon Aug 29 19:49:22 2022 +0000
+++ b/qiime2__emperor__plot.xml	Fri Jan 13 22:50:44 2023 +0000
@@ -1,22 +1,22 @@
 <?xml version='1.0' encoding='utf-8'?>
 <!--
-Copyright (c) 2022, QIIME 2 development team.
+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.8.1)
+    q2galaxy (version: 2022.11.1)
 for:
-    qiime2 (version: 2022.8.1)
+    qiime2 (version: 2022.11.1)
 -->
-<tool name="qiime2 emperor plot" id="qiime2__emperor__plot" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
+<tool name="qiime2 emperor plot" id="qiime2__emperor__plot" version="2022.11.1+q2galaxy.2022.11.1.2" profile="22.05" license="BSD-3-Clause">
     <description>Visualize and Interact with Principal Coordinates Analysis Plots</description>
     <requirements>
-        <container type="docker">quay.io/qiime2/core:2022.8</container>
+        <container type="docker">quay.io/qiime2/core:2022.11</container>
     </requirements>
     <version_command>q2galaxy version emperor</version_command>
-    <command detect_errors="aggressive">q2galaxy run emperor plot '$inputs'</command>
+    <command detect_errors="exit_code">q2galaxy run emperor plot '$inputs'</command>
     <configfiles>
         <inputs name="inputs" data_style="paths"/>
     </configfiles>
@@ -57,7 +57,24 @@
     <outputs>
         <data name="visualization" format="qzv" label="${tool.name} on ${on_string}: visualization.qzv" from_work_dir="visualization.qzv"/>
     </outputs>
-    <tests/>
+    <tests>
+        <test>
+            <param name="pcoa" value="plot.test0.pcoa-result.qza" ftype="qza"/>
+            <repeat name="metadata">
+                <conditional name="__q2galaxy__GUI__conditional__metadata__">
+                    <param name="type" value="tsv"/>
+                    <param name="source" value="plot.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: emperor plot
 =====================
@@ -74,6 +91,35 @@
 ------------
 Generates an interactive ordination plot where the user can visually integrate sample metadata.
 
+Examples:
+---------
+
+emperor_plot
+************
+Using the ``qiime2 emperor plot`` tool:
+ #. Set *"pcoa"* to ``#: pcoa-result.qza``
+ #. For *"metadata"*:
+
+    - Perform the following 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 emperor plot [...] : visualization.qzv``
+      - ``plot.qzv``
+
 
 |