diff qiime2/qiime_demux_subsample-single.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_demux_subsample-single.xml	Thu Sep 03 09:46:00 2020 +0000
+++ b/qiime2/qiime_demux_subsample-single.xml	Thu Sep 03 09:51:29 2020 +0000
@@ -1,29 +1,42 @@
 <?xml version="1.0" ?>
-<tool id="qiime_demux_subsample-single" name="qiime demux subsample-single" version="2019.7">
-	<description> - Subsample single-end sequences without replacement.</description>
-	<requirements>
-		<requirement type="package" version="2019.7">qiime2</requirement>
-	</requirements>
-	<command><![CDATA[
+<tool id="qiime_demux_subsample-single" name="qiime demux subsample-single"
+      version="2020.8">
+  <description>Subsample single-end sequences without replacement.</description>
+  <requirements>
+    <requirement type="package" version="2020.8">qiime2</requirement>
+  </requirements>
+  <command><![CDATA[
 qiime demux subsample-single
 
 --i-sequences=$isequences
---p-fraction="$pfraction"
+
+--p-fraction=$pfraction
 
 --o-subsampled-sequences=osubsampledsequences
+
+#if str($examples) != 'None':
+--examples=$examples
+#end if
+
 ;
 cp osubsampledsequences.qza $osubsampledsequences
-	]]></command>
-	<inputs>
-		<param format="qza,no_unzip.zip" label="--i-sequences: ARTIFACT SampleData[SequencesWithQuality | PairedEndSequencesWithQuality] The demultiplexed sequences to be subsampled. [required]" name="isequences" optional="False" type="data"/>
-		<param label="--p-fraction: PROPORTION Range(0, 1, inclusive_start=False) The fraction of sequences to retain in subsample. [required]" name="pfraction" optional="False" exclude_min="True" min="0" max="1" value="" type="float"/>
-	</inputs>
-	<outputs>
-		<data format="qza" label="${tool.name} on ${on_string}: subsampledsequences.qza" name="osubsampledsequences"/>
-	</outputs>
-	<help><![CDATA[
+
+  ]]></command>
+  <inputs>
+    <param format="qza,no_unzip.zip" label="--i-sequences: ARTIFACT SampleData[SequencesWithQuality | PairedEndSequencesWithQuality] The demultiplexed sequences to be subsampled. [required]" name="isequences" optional="False" type="data" />
+    <param label="--p-fraction: PROPORTION Range(0, 1, inclusive_start=False) The fraction of sequences to retain in subsample. [required]" name="pfraction" optional="False" type="text" />
+    <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}: subsampledsequences.qza" name="osubsampledsequences" />
+    
+  </outputs>
+
+  <help><![CDATA[
 Subsample single-end sequences without replacement.
-###################################################
+###############################################################
 
 Generate a random subsample of single-end sequences containing
 approximately the fraction of input sequences specified by the fraction
@@ -42,9 +55,9 @@
 -------
 subsampled_sequences : SampleData[SequencesWithQuality]
     The subsampled sequences.
-	]]></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