Mercurial > repos > florianbegusch > qiime2_suite
diff qiime2-2020.8/qiime_demux_subsample-single.xml @ 20:d93d8888f0b0 draft
Uploaded
author | florianbegusch |
---|---|
date | Fri, 04 Sep 2020 12:44:24 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qiime2-2020.8/qiime_demux_subsample-single.xml Fri Sep 04 12:44:24 2020 +0000 @@ -0,0 +1,63 @@ +<?xml version="1.0" ?> +<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 + +--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" 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 +parameter. The number of output samples will always be equal to the number +of input samples, even if some of those samples contain no sequences after +subsampling. + +Parameters +---------- +sequences : SampleData[SequencesWithQuality | PairedEndSequencesWithQuality] + The demultiplexed sequences to be subsampled. +fraction : Float % Range(0, 1, inclusive_start=False) + The fraction of sequences to retain in subsample. + +Returns +------- +subsampled_sequences : SampleData[SequencesWithQuality] + The subsampled sequences. + ]]></help> + <macros> + <import>qiime_citation.xml</import> + </macros> + <expand macro="qiime_citation"/> +</tool> \ No newline at end of file