annotate qiime2-2020.8/qiime_demux_subsample-single.xml @ 0:5c352d975ef7 draft

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