diff qiime2/qiime_diversity_alpha-phylogenetic.xml @ 14:a0a8d77a991c draft

Uploaded
author florianbegusch
date Thu, 03 Sep 2020 09:51:29 +0000
parents f190567fe3f6
children
line wrap: on
line diff
--- a/qiime2/qiime_diversity_alpha-phylogenetic.xml	Thu Sep 03 09:46:00 2020 +0000
+++ b/qiime2/qiime_diversity_alpha-phylogenetic.xml	Thu Sep 03 09:51:29 2020 +0000
@@ -1,40 +1,54 @@
 <?xml version="1.0" ?>
-<tool id="qiime_diversity_alpha-phylogenetic" name="qiime diversity alpha-phylogenetic" version="2019.7">
-	<description> - Alpha diversity (phylogenetic)</description>
-	<requirements>
-		<requirement type="package" version="2019.7">qiime2</requirement>
-	</requirements>
-	<command><![CDATA[
+<tool id="qiime_diversity_alpha-phylogenetic" name="qiime diversity alpha-phylogenetic"
+      version="2020.8">
+  <description>Alpha diversity (phylogenetic)</description>
+  <requirements>
+    <requirement type="package" version="2020.8">qiime2</requirement>
+  </requirements>
+  <command><![CDATA[
 qiime diversity alpha-phylogenetic
 
 --i-table=$itable
+
 --i-phylogeny=$iphylogeny
+
 --p-metric=$pmetric
 
 --o-alpha-diversity=oalphadiversity
+
+#if str($examples) != 'None':
+--examples=$examples
+#end if
+
 ;
 cp oalphadiversity.qza $oalphadiversity
-	]]></command>
-	<inputs>
-		<param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] The feature table containing the samples for which alpha diversity should be computed.       [required]" name="itable" optional="False" type="data"/>
-		<param format="qza,no_unzip.zip" label="--i-phylogeny: ARTIFACT  Phylogenetic tree containing tip identifiers that Phylogeny[Rooted]     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.                  [required]" name="iphylogeny" optional="False" type="data"/>
-		<param label="--p-metric: " name="pmetric" optional="False" type="select">
-			<option value="faith_pd">faith_pd</option>
-		</param>
-	</inputs>
-	<outputs>
-		<data format="qza" label="${tool.name} on ${on_string}: alphadiversity.qza" name="oalphadiversity"/>
-	</outputs>
-	<help><![CDATA[
+
+  ]]></command>
+  <inputs>
+    <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency | RelativeFrequency | PresenceAbsence]      The feature table containing the samples for which alpha diversity should be computed.       [required]" name="itable" optional="False" type="data" />
+    <param format="qza,no_unzip.zip" label="--i-phylogeny: ARTIFACT  Phylogenetic tree containing tip identifiers that Phylogeny[Rooted]     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.                  [required]" name="iphylogeny" optional="False" type="data" />
+    <param label="--p-metric: " name="pmetric" optional="False" type="select">
+      <option value="faith_pd">faith_pd</option>
+    </param>
+    <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
+    
+  </inputs>
+
+  <outputs>
+    <data format="qza" label="${tool.name} on ${on_string}: alphadiversity.qza" name="oalphadiversity" />
+    
+  </outputs>
+
+  <help><![CDATA[
 Alpha diversity (phylogenetic)
-##############################
+###############################################################
 
 Computes a user-specified phylogenetic alpha diversity metric for all
 samples in a feature table.
 
 Parameters
 ----------
-table : FeatureTable[Frequency]
+table : FeatureTable[Frequency | RelativeFrequency | PresenceAbsence]
     The feature table containing the samples for which alpha diversity
     should be computed.
 phylogeny : Phylogeny[Rooted]
@@ -47,11 +61,11 @@
 
 Returns
 -------
-alpha_diversity : SampleData[AlphaDiversity] % Properties('phylogenetic')
+alpha_diversity : SampleData[AlphaDiversity]
     Vector containing per-sample alpha diversities.
-	]]></help>
-<macros>
+  ]]></help>
+  <macros>
     <import>qiime_citation.xml</import>
-</macros>
-<expand macro="qiime_citation"/>
-</tool>
+  </macros>
+  <expand macro="qiime_citation"/>
+</tool>
\ No newline at end of file