diff qiime2/qiime_feature-table_subsample.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_feature-table_subsample.xml	Thu Sep 03 09:46:00 2020 +0000
+++ b/qiime2/qiime_feature-table_subsample.xml	Thu Sep 03 09:51:29 2020 +0000
@@ -1,38 +1,48 @@
 <?xml version="1.0" ?>
-<tool id="qiime_feature-table_subsample" name="qiime feature-table subsample" version="2019.7">
-	<description> - Subsample table</description>
-	<requirements>
-		<requirement type="package" version="2019.7">qiime2</requirement>
-	</requirements>
-	<command><![CDATA[
+<tool id="qiime_feature-table_subsample" name="qiime feature-table subsample"
+      version="2020.8">
+  <description>Subsample table</description>
+  <requirements>
+    <requirement type="package" version="2020.8">qiime2</requirement>
+  </requirements>
+  <command><![CDATA[
 qiime feature-table subsample
 
 --i-table=$itable
 
-#if str($psubsamplingdepth):
- --p-subsampling-depth="$psubsamplingdepth"
-#end if
+--p-subsampling-depth=$psubsamplingdepth
 
 --p-axis=$paxis
 
 --o-sampled-table=osampledtable
+
+#if str($examples) != 'None':
+--examples=$examples
+#end if
+
 ;
 cp osampledtable.qza $osampledtable
-	]]></command>
-	<inputs>
-		<param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] The feature table to be sampled.             [required]" name="itable" optional="False" type="data"/>
-		<param label="--p-subsampling-depth: INTEGER Range(1, None)     The total number of samples or features to be randomly sampled. Samples or features that are reduced to a zero sum will not be included in the resulting table. [required]" name="psubsamplingdepth" optional="False" min="1" value="" type="integer"/>
-		<param label="--p-axis: " name="paxis" optional="False" type="select">
-			<option value="sample">sample</option>
-			<option value="feature">feature</option>
-		</param>
-	</inputs>
-	<outputs>
-		<data format="qza" label="${tool.name} on ${on_string}: sampledtable.qza" name="osampledtable"/>
-	</outputs>
-	<help><![CDATA[
+
+  ]]></command>
+  <inputs>
+    <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] The feature table to be sampled.             [required]" name="itable" optional="False" type="data" />
+    <param label="--p-subsampling-depth: INTEGER Range(1, None)     The total number of samples or features to be randomly sampled. Samples or features that are reduced to a zero sum will not be included in the resulting table. [required]" name="psubsamplingdepth" optional="False" type="text" />
+    <param label="--p-axis: " name="paxis" optional="False" type="select">
+      <option value="sample">sample</option>
+      <option value="feature">feature</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}: sampledtable.qza" name="osampledtable" />
+    
+  </outputs>
+
+  <help><![CDATA[
 Subsample table
-###############
+###############################################################
 
 Randomly pick samples or features, without replacement, from the table.
 
@@ -53,9 +63,9 @@
 -------
 sampled_table : FeatureTable[Frequency]
     The resulting subsampled feature table.
-	]]></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