0
|
1 <?xml version="1.0" ?>
|
|
2 <tool id="qiime_demux_subsample-single" name="qiime demux subsample-single"
|
|
3 version="2020.8">
|
|
4 <description>Subsample single-end sequences without replacement.</description>
|
|
5 <requirements>
|
|
6 <requirement type="package" version="2020.8">qiime2</requirement>
|
|
7 </requirements>
|
|
8 <command><![CDATA[
|
|
9 qiime demux subsample-single
|
|
10
|
|
11 --i-sequences=$isequences
|
|
12
|
|
13 --p-fraction=$pfraction
|
|
14
|
|
15 --o-subsampled-sequences=osubsampledsequences
|
|
16
|
|
17 #if str($examples) != 'None':
|
|
18 --examples=$examples
|
|
19 #end if
|
|
20
|
|
21 ;
|
|
22 cp osubsampledsequences.qza $osubsampledsequences
|
|
23
|
|
24 ]]></command>
|
|
25 <inputs>
|
|
26 <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" />
|
|
27 <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" />
|
|
28 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
|
|
29
|
|
30 </inputs>
|
|
31
|
|
32 <outputs>
|
|
33 <data format="qza" label="${tool.name} on ${on_string}: subsampledsequences.qza" name="osubsampledsequences" />
|
|
34
|
|
35 </outputs>
|
|
36
|
|
37 <help><![CDATA[
|
|
38 Subsample single-end sequences without replacement.
|
|
39 ###############################################################
|
|
40
|
|
41 Generate a random subsample of single-end sequences containing
|
|
42 approximately the fraction of input sequences specified by the fraction
|
|
43 parameter. The number of output samples will always be equal to the number
|
|
44 of input samples, even if some of those samples contain no sequences after
|
|
45 subsampling.
|
|
46
|
|
47 Parameters
|
|
48 ----------
|
|
49 sequences : SampleData[SequencesWithQuality | PairedEndSequencesWithQuality]
|
|
50 The demultiplexed sequences to be subsampled.
|
|
51 fraction : Float % Range(0, 1, inclusive_start=False)
|
|
52 The fraction of sequences to retain in subsample.
|
|
53
|
|
54 Returns
|
|
55 -------
|
|
56 subsampled_sequences : SampleData[SequencesWithQuality]
|
|
57 The subsampled sequences.
|
|
58 ]]></help>
|
|
59 <macros>
|
|
60 <import>qiime_citation.xml</import>
|
|
61 </macros>
|
|
62 <expand macro="qiime_citation"/>
|
|
63 </tool> |