diff qiime2__taxa__collapse.xml @ 1:96d3a6a511bc 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:09 +0000
parents 3e34b8065c52
children 16e425d54e64
line wrap: on
line diff
--- a/qiime2__taxa__collapse.xml	Mon Aug 29 20:29:53 2022 +0000
+++ b/qiime2__taxa__collapse.xml	Fri Jan 13 23:01:09 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 taxa collapse" id="qiime2__taxa__collapse" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
+<tool name="qiime2 taxa collapse" id="qiime2__taxa__collapse" version="2022.11.1+q2galaxy.2022.11.1.2" profile="22.05" license="BSD-3-Clause">
     <description>Collapse features by their taxonomy at the specified level</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 taxa</version_command>
-    <command detect_errors="aggressive">q2galaxy run taxa collapse '$inputs'</command>
+    <command detect_errors="exit_code">q2galaxy run taxa collapse '$inputs'</command>
     <configfiles>
         <inputs name="inputs" data_style="paths"/>
     </configfiles>
@@ -38,7 +38,20 @@
     <outputs>
         <data name="collapsed_table" format="qza" label="${tool.name} on ${on_string}: collapsed_table.qza" from_work_dir="collapsed_table.qza"/>
     </outputs>
-    <tests/>
+    <tests>
+        <test>
+            <param name="table" value="collapse.test0.table.qza" ftype="qza"/>
+            <param name="taxonomy" value="collapse.test0.taxonomy.qza" ftype="qza"/>
+            <param name="level" value="6"/>
+            <output name="collapsed_table" ftype="qza">
+                <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: FeatureTable\[Frequency\]"/>
+                    </has_archive_member>
+                </assert_contents>
+            </output>
+        </test>
+    </tests>
     <help>
 QIIME 2: taxa collapse
 ======================
@@ -55,6 +68,29 @@
 ------------
 Collapse groups of features that have the same taxonomic assignment through the specified level. The frequencies of all features will be summed when they are collapsed.
 
+Examples:
+---------
+
+collapse
+********
+Using the ``qiime2 taxa collapse`` tool:
+ #. Set *"table"* to ``#: table.qza``
+ #. Set *"taxonomy"* to ``#: taxonomy.qza``
+ #. Set *"level"* to ``6``
+ #. 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 collapse [...] : collapsed_table.qza``
+      - ``collapsed-table-l6.qza``
+
 
 |