changeset 0:cb4dcd0525ab draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__diversity_lib commit 9023cfd83495a517fbcbb6f91d5b01a6f1afcda1
author q2d2
date Mon, 29 Aug 2022 19:44:04 +0000
parents
children 86209e66e3b3
files qiime2__diversity_lib__shannon_entropy.xml test-data/alpha_passthrough.test0.feature-table.qza test-data/beta_passthrough.test0.feature-table.qza test-data/beta_passthrough.test1.feature-table.qza test-data/beta_passthrough.test2.feature-table.qza test-data/beta_passthrough.test3.feature-table.qza test-data/beta_phylogenetic_meta_passthrough.test0.feature-table1.qza test-data/beta_phylogenetic_meta_passthrough.test0.feature-table2.qza test-data/beta_phylogenetic_meta_passthrough.test0.phylogeny1.qza test-data/beta_phylogenetic_meta_passthrough.test0.phylogeny2.qza test-data/beta_phylogenetic_meta_passthrough.test1.feature-table1.qza test-data/beta_phylogenetic_meta_passthrough.test1.feature-table2.qza test-data/beta_phylogenetic_meta_passthrough.test1.phylogeny.qza test-data/beta_phylogenetic_meta_passthrough.test2.feature-table1.qza test-data/beta_phylogenetic_meta_passthrough.test2.feature-table2.qza test-data/beta_phylogenetic_meta_passthrough.test2.phylogeny1.qza test-data/beta_phylogenetic_meta_passthrough.test2.phylogeny2.qza test-data/beta_phylogenetic_passthrough.test0.feature-table.qza test-data/beta_phylogenetic_passthrough.test0.phylogeny.qza test-data/beta_phylogenetic_passthrough.test1.feature-table.qza test-data/beta_phylogenetic_passthrough.test1.phylogeny.qza test-data/beta_phylogenetic_passthrough.test2.feature-table.qza test-data/beta_phylogenetic_passthrough.test2.phylogeny.qza test-data/beta_phylogenetic_passthrough.test3.feature-table.qza test-data/beta_phylogenetic_passthrough.test3.phylogeny.qza test-data/beta_phylogenetic_passthrough.test4.feature-table.qza test-data/beta_phylogenetic_passthrough.test4.phylogeny.qza test-data/beta_phylogenetic_passthrough.test5.feature-table.qza test-data/beta_phylogenetic_passthrough.test5.phylogeny.qza test-data/beta_phylogenetic_passthrough.test6.feature-table.qza test-data/beta_phylogenetic_passthrough.test6.phylogeny.qza test-data/bray_curtis.test0.feature-table.qza test-data/bray_curtis.test1.feature-table.qza test-data/bray_curtis.test2.feature-table.qza test-data/faith_pd.test0.feature-table.qza test-data/faith_pd.test0.phylogeny.qza test-data/jaccard.test0.feature-table.qza test-data/jaccard.test1.feature-table.qza test-data/jaccard.test2.feature-table.qza test-data/observed_features.test0.feature-table.qza test-data/pielou_evenness.test0.feature-table.qza test-data/pielou_evenness.test1.feature-table.qza test-data/shannon_entropy.test0.feature-table.qza test-data/shannon_entropy.test1.feature-table.qza test-data/unweighted_unifrac.test0.feature-table.qza test-data/unweighted_unifrac.test0.phylogeny.qza test-data/unweighted_unifrac.test1.feature-table.qza test-data/unweighted_unifrac.test1.phylogeny.qza test-data/unweighted_unifrac.test2.feature-table.qza test-data/unweighted_unifrac.test2.phylogeny.qza test-data/unweighted_unifrac.test3.feature-table.qza test-data/unweighted_unifrac.test3.phylogeny.qza test-data/weighted_unifrac.test0.feature-table.qza test-data/weighted_unifrac.test0.phylogeny.qza test-data/weighted_unifrac.test1.feature-table.qza test-data/weighted_unifrac.test1.phylogeny.qza test-data/weighted_unifrac.test2.feature-table.qza test-data/weighted_unifrac.test2.phylogeny.qza test-data/weighted_unifrac.test3.feature-table.qza test-data/weighted_unifrac.test3.phylogeny.qza
diffstat 60 files changed, 128 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qiime2__diversity_lib__shannon_entropy.xml	Mon Aug 29 19:44:04 2022 +0000
@@ -0,0 +1,128 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--
+Copyright (c) 2022, 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)
+for:
+    qiime2 (version: 2022.8.1)
+-->
+<tool name="qiime2 diversity-lib shannon-entropy" id="qiime2__diversity_lib__shannon_entropy" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
+    <description>Shannon's Entropy</description>
+    <requirements>
+        <container type="docker">quay.io/qiime2/core:2022.8</container>
+    </requirements>
+    <version_command>q2galaxy version diversity_lib</version_command>
+    <command detect_errors="aggressive">q2galaxy run diversity_lib shannon_entropy '$inputs'</command>
+    <configfiles>
+        <inputs name="inputs" data_style="paths"/>
+    </configfiles>
+    <inputs>
+        <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency | RelativeFrequency]" help="[required]  The feature table containing the samples for which Shannon's Entropy should be computed.">
+            <options options_filter_attribute="metadata.semantic_type">
+                <filter type="add_value" value="FeatureTable[Frequency]"/>
+                <filter type="add_value" value="FeatureTable[RelativeFrequency]"/>
+            </options>
+            <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]', 'FeatureTable[RelativeFrequency]']</validator>
+        </param>
+        <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
+            <param name="drop_undefined_samples" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="drop_undefined_samples: Bool" help="[default: No]  Samples with no observed features produce undefined (NaN) values. If true, these samples are dropped from the output vector."/>
+        </section>
+    </inputs>
+    <outputs>
+        <data name="vector" format="qza" label="${tool.name} on ${on_string}: vector.qza" from_work_dir="vector.qza"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="table" value="shannon_entropy.test0.feature-table.qza" ftype="qza"/>
+            <output name="vector" 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: SampleData\[AlphaDiversity\]"/>
+                    </has_archive_member>
+                </assert_contents>
+            </output>
+        </test>
+        <test>
+            <param name="table" value="shannon_entropy.test1.feature-table.qza" ftype="qza"/>
+            <param name="drop_undefined_samples" value="__q2galaxy__::literal::True"/>
+            <output name="vector" 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: SampleData\[AlphaDiversity\]"/>
+                    </has_archive_member>
+                </assert_contents>
+            </output>
+        </test>
+    </tests>
+    <help>
+QIIME 2: diversity-lib shannon-entropy
+======================================
+Shannon's Entropy
+
+
+Outputs:
+--------
+:vector.qza: Vector containing per-sample values for Shannon's Entropy.
+
+|  
+
+Description:
+------------
+Compute Shannon's Entropy for each sample in a feature table
+
+Examples:
+---------
+
+basic
+*****
+Using the ``qiime2 diversity-lib shannon-entropy`` tool:
+ #. Set *"table"* to ``#: feature-table.qza``
+ #. 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 diversity-lib shannon-entropy [...] : vector.qza``
+      - ``shannon-vector.qza``
+
+dropping undefined samples
+**************************
+Using the ``qiime2 diversity-lib shannon-entropy`` tool:
+ #. Set *"table"* to ``#: feature-table.qza``
+ #. Expand the ``additional options`` section
+
+    - Set *"drop_undefined_samples"* to ``Yes``
+
+ #. 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 diversity-lib shannon-entropy [...] : vector.qza``
+      - ``shannon-vector.qza``
+
+
+|  
+
+</help>
+    <citations>
+        <citation type="doi">10.1002/j.1538-7305.1948.tb01338.x</citation>
+        <citation type="doi">10.1038/s41587-019-0209-9</citation>
+    </citations>
+</tool>
Binary file test-data/alpha_passthrough.test0.feature-table.qza has changed
Binary file test-data/beta_passthrough.test0.feature-table.qza has changed
Binary file test-data/beta_passthrough.test1.feature-table.qza has changed
Binary file test-data/beta_passthrough.test2.feature-table.qza has changed
Binary file test-data/beta_passthrough.test3.feature-table.qza has changed
Binary file test-data/beta_phylogenetic_meta_passthrough.test0.feature-table1.qza has changed
Binary file test-data/beta_phylogenetic_meta_passthrough.test0.feature-table2.qza has changed
Binary file test-data/beta_phylogenetic_meta_passthrough.test0.phylogeny1.qza has changed
Binary file test-data/beta_phylogenetic_meta_passthrough.test0.phylogeny2.qza has changed
Binary file test-data/beta_phylogenetic_meta_passthrough.test1.feature-table1.qza has changed
Binary file test-data/beta_phylogenetic_meta_passthrough.test1.feature-table2.qza has changed
Binary file test-data/beta_phylogenetic_meta_passthrough.test1.phylogeny.qza has changed
Binary file test-data/beta_phylogenetic_meta_passthrough.test2.feature-table1.qza has changed
Binary file test-data/beta_phylogenetic_meta_passthrough.test2.feature-table2.qza has changed
Binary file test-data/beta_phylogenetic_meta_passthrough.test2.phylogeny1.qza has changed
Binary file test-data/beta_phylogenetic_meta_passthrough.test2.phylogeny2.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test0.feature-table.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test0.phylogeny.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test1.feature-table.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test1.phylogeny.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test2.feature-table.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test2.phylogeny.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test3.feature-table.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test3.phylogeny.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test4.feature-table.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test4.phylogeny.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test5.feature-table.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test5.phylogeny.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test6.feature-table.qza has changed
Binary file test-data/beta_phylogenetic_passthrough.test6.phylogeny.qza has changed
Binary file test-data/bray_curtis.test0.feature-table.qza has changed
Binary file test-data/bray_curtis.test1.feature-table.qza has changed
Binary file test-data/bray_curtis.test2.feature-table.qza has changed
Binary file test-data/faith_pd.test0.feature-table.qza has changed
Binary file test-data/faith_pd.test0.phylogeny.qza has changed
Binary file test-data/jaccard.test0.feature-table.qza has changed
Binary file test-data/jaccard.test1.feature-table.qza has changed
Binary file test-data/jaccard.test2.feature-table.qza has changed
Binary file test-data/observed_features.test0.feature-table.qza has changed
Binary file test-data/pielou_evenness.test0.feature-table.qza has changed
Binary file test-data/pielou_evenness.test1.feature-table.qza has changed
Binary file test-data/shannon_entropy.test0.feature-table.qza has changed
Binary file test-data/shannon_entropy.test1.feature-table.qza has changed
Binary file test-data/unweighted_unifrac.test0.feature-table.qza has changed
Binary file test-data/unweighted_unifrac.test0.phylogeny.qza has changed
Binary file test-data/unweighted_unifrac.test1.feature-table.qza has changed
Binary file test-data/unweighted_unifrac.test1.phylogeny.qza has changed
Binary file test-data/unweighted_unifrac.test2.feature-table.qza has changed
Binary file test-data/unweighted_unifrac.test2.phylogeny.qza has changed
Binary file test-data/unweighted_unifrac.test3.feature-table.qza has changed
Binary file test-data/unweighted_unifrac.test3.phylogeny.qza has changed
Binary file test-data/weighted_unifrac.test0.feature-table.qza has changed
Binary file test-data/weighted_unifrac.test0.phylogeny.qza has changed
Binary file test-data/weighted_unifrac.test1.feature-table.qza has changed
Binary file test-data/weighted_unifrac.test1.phylogeny.qza has changed
Binary file test-data/weighted_unifrac.test2.feature-table.qza has changed
Binary file test-data/weighted_unifrac.test2.phylogeny.qza has changed
Binary file test-data/weighted_unifrac.test3.feature-table.qza has changed
Binary file test-data/weighted_unifrac.test3.phylogeny.qza has changed