changeset 0:fd5dd4ff585a draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__diversity commit 9023cfd83495a517fbcbb6f91d5b01a6f1afcda1
author q2d2
date Mon, 29 Aug 2022 19:34:43 +0000
parents
children 9de0fa39f017
files qiime2__diversity__beta_phylogenetic.xml test-data/.gitkeep
diffstat 1 files changed, 91 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qiime2__diversity__beta_phylogenetic.xml	Mon Aug 29 19:34:43 2022 +0000
@@ -0,0 +1,91 @@
+<?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 beta-phylogenetic" id="qiime2__diversity__beta_phylogenetic" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
+    <description>Beta diversity (phylogenetic)</description>
+    <requirements>
+        <container type="docker">quay.io/qiime2/core:2022.8</container>
+    </requirements>
+    <version_command>q2galaxy version diversity</version_command>
+    <command detect_errors="aggressive">q2galaxy run diversity beta_phylogenetic '$inputs'</command>
+    <configfiles>
+        <inputs name="inputs" data_style="paths"/>
+    </configfiles>
+    <inputs>
+        <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency | RelativeFrequency | PresenceAbsence]" help="[required]  The feature table containing the samples over which beta diversity should be computed.">
+            <options options_filter_attribute="metadata.semantic_type">
+                <filter type="add_value" value="FeatureTable[Frequency]"/>
+                <filter type="add_value" value="FeatureTable[PresenceAbsence]"/>
+                <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[PresenceAbsence]', 'FeatureTable[RelativeFrequency]']</validator>
+        </param>
+        <param name="phylogeny" type="data" format="qza" label="phylogeny: Phylogeny[Rooted]" help="[required]  Phylogenetic tree containing tip identifiers that correspond to the feature identifiers in the table. This tree can contain tip ids that are not present in the table, but all feature ids in the table must be present in this tree.">
+            <options options_filter_attribute="metadata.semantic_type">
+                <filter type="add_value" value="Phylogeny[Rooted]"/>
+            </options>
+            <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['Phylogeny[Rooted]']</validator>
+        </param>
+        <param name="metric" type="select" label="metric: Str % Choices('generalized_unifrac', 'unweighted_unifrac', 'weighted_normalized_unifrac', 'weighted_unifrac')" display="radio">
+            <option value="__q2galaxy__::literal::None">Selection required</option>
+            <option value="generalized_unifrac">generalized_unifrac</option>
+            <option value="unweighted_unifrac">unweighted_unifrac</option>
+            <option value="weighted_normalized_unifrac">weighted_normalized_unifrac</option>
+            <option value="weighted_unifrac">weighted_unifrac</option>
+            <validator type="expression" message="Please verify this parameter.">value != '__q2galaxy__::literal::None'</validator>
+        </param>
+        <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
+            <conditional name="__q2galaxy__GUI__conditional__threads__">
+                <param name="__q2galaxy__GUI__select__" type="select" label="threads: Int % Range(1, None) | Str % Choices('auto')" help="[default: 1]  The number of CPU threads to use in performing this calculation. May not exceed the number of available physical cores. If threads = 'auto', one thread will be created for each identified CPU core on the host.">
+                    <option value="auto">auto (Str)</option>
+                    <option value="__q2galaxy__::control::Int X Range(1__comma__ None)" selected="true">Provide a value (Int % Range(1, None))</option>
+                </param>
+                <when value="auto">
+                    <param name="threads" type="hidden" value="auto"/>
+                </when>
+                <when value="__q2galaxy__::control::Int X Range(1__comma__ None)">
+                    <param name="threads" type="integer" min="1" value="1" label="threads: Int % Range(1, None)" help="[default: 1]  The number of CPU threads to use in performing this calculation. May not exceed the number of available physical cores. If threads = 'auto', one thread will be created for each identified CPU core on the host."/>
+                </when>
+            </conditional>
+            <param name="variance_adjusted" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="variance_adjusted: Bool" help="[default: No]  Perform variance adjustment based on Chang et al. BMC Bioinformatics 2011. Weights distances based on the proportion of the relative abundance represented between the samples at a given node under evaluation."/>
+            <param name="alpha" type="float" min="0" max="1" optional="true" label="alpha: Float % Range(0, 1, inclusive_end=True)" help="[optional]  This parameter is only used when the choice of metric is generalized_unifrac. The value of alpha controls importance of sample proportions. 1.0 is weighted normalized UniFrac. 0.0 is close to unweighted UniFrac, but only if the sample proportions are dichotomized."/>
+            <param name="bypass_tips" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="bypass_tips: Bool" help="[default: No]  In a bifurcating tree, the tips make up about 50% of the nodes in a tree. By ignoring them, specificity can be traded for reduced compute time. This has the effect of collapsing the phylogeny, and is analogous (in concept) to moving from 99% to 97% OTUs"/>
+        </section>
+    </inputs>
+    <outputs>
+        <data name="distance_matrix" format="qza" label="${tool.name} on ${on_string}: distance_matrix.qza" from_work_dir="distance_matrix.qza"/>
+    </outputs>
+    <tests/>
+    <help>
+QIIME 2: diversity beta-phylogenetic
+====================================
+Beta diversity (phylogenetic)
+
+
+Outputs:
+--------
+:distance_matrix.qza: The resulting distance matrix.
+
+|  
+
+Description:
+------------
+Computes a user-specified phylogenetic beta diversity metric for all pairs of samples in a feature table.
+
+
+|  
+
+</help>
+    <citations>
+        <citation type="doi">10.1038/s41587-019-0209-9</citation>
+    </citations>
+</tool>