annotate qiime2/qiime_demux_subsample-single.xml @ 29:3ba9833030c1 draft

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