changeset 1:43e5dd36de74 draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__phylogeny commit 69da7976573cc07a363ac66bdacc9269d7cd3732
author q2d2
date Fri, 13 Jan 2023 22:58:54 +0000
parents fd05e62ba9f9
children 2a9461620d5e
files qiime2__phylogeny__align_to_tree_mafft_fasttree.xml test-data/.gitkeep test-data/align_to_tree_mafft_fasttree.test0.rep-seqs.qza
diffstat 2 files changed, 66 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/qiime2__phylogeny__align_to_tree_mafft_fasttree.xml	Mon Aug 29 20:16:51 2022 +0000
+++ b/qiime2__phylogeny__align_to_tree_mafft_fasttree.xml	Fri Jan 13 22:58:54 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 phylogeny align-to-tree-mafft-fasttree" id="qiime2__phylogeny__align_to_tree_mafft_fasttree" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
+<tool name="qiime2 phylogeny align-to-tree-mafft-fasttree" id="qiime2__phylogeny__align_to_tree_mafft_fasttree" version="2022.11.1+q2galaxy.2022.11.1.2" profile="22.05" license="BSD-3-Clause">
     <description>Build a phylogenetic tree using fasttree and mafft alignment</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 phylogeny</version_command>
-    <command detect_errors="aggressive">q2galaxy run phylogeny align_to_tree_mafft_fasttree '$inputs'</command>
+    <command detect_errors="exit_code">q2galaxy run phylogeny align_to_tree_mafft_fasttree '$inputs'</command>
     <configfiles>
         <inputs name="inputs" data_style="paths"/>
     </configfiles>
@@ -51,7 +51,39 @@
         <data name="tree" format="qza" label="${tool.name} on ${on_string}: tree.qza" from_work_dir="tree.qza"/>
         <data name="rooted_tree" format="qza" label="${tool.name} on ${on_string}: rooted_tree.qza" from_work_dir="rooted_tree.qza"/>
     </outputs>
-    <tests/>
+    <tests>
+        <test>
+            <param name="sequences" value="align_to_tree_mafft_fasttree.test0.rep-seqs.qza" ftype="qza"/>
+            <output name="alignment" 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: FeatureData\[AlignedSequence\]"/>
+                    </has_archive_member>
+                </assert_contents>
+            </output>
+            <output name="masked_alignment" 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: FeatureData\[AlignedSequence\]"/>
+                    </has_archive_member>
+                </assert_contents>
+            </output>
+            <output name="tree" 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: Phylogeny\[Unrooted\]"/>
+                    </has_archive_member>
+                </assert_contents>
+            </output>
+            <output name="rooted_tree" 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: Phylogeny\[Rooted\]"/>
+                    </has_archive_member>
+                </assert_contents>
+            </output>
+        </test>
+    </tests>
     <help>
 QIIME 2: phylogeny align-to-tree-mafft-fasttree
 ===============================================
@@ -71,6 +103,33 @@
 ------------
 This pipeline will start by creating a sequence alignment using MAFFT, after which any alignment columns that are phylogenetically uninformative or ambiguously aligned will be removed (masked). The resulting masked alignment will be used to infer a phylogenetic tree and then subsequently rooted at its midpoint. Output files from each step of the pipeline will be saved. This includes both the unmasked and masked MAFFT alignment from q2-alignment methods, and both the rooted and unrooted phylogenies from q2-phylogeny methods.
 
+Examples:
+---------
+
+align_to_tree_mafft_fasttree
+****************************
+Using the ``qiime2 phylogeny align-to-tree-mafft-fasttree`` tool:
+ #. Set *"sequences"* to ``#: rep-seqs.qza``
+ #. Press the ``Execute`` button.
+
+Once completed, for each 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 phylogeny align-to-tree-mafft-fasttree [...] : alignment.qza``
+      - ``aligned-rep-seqs.qza``
+    * - ``#: qiime2 phylogeny align-to-tree-mafft-fasttree [...] : masked_alignment.qza``
+      - ``masked-aligned-rep-seqs.qza``
+    * - ``#: qiime2 phylogeny align-to-tree-mafft-fasttree [...] : tree.qza``
+      - ``unrooted-tree.qza``
+    * - ``#: qiime2 phylogeny align-to-tree-mafft-fasttree [...] : rooted_tree.qza``
+      - ``rooted-tree.qza``
+
 
 |  
 
Binary file test-data/align_to_tree_mafft_fasttree.test0.rep-seqs.qza has changed