annotate qiime2-2020.8/qiime_feature-table_subsample.xml @ 20:d93d8888f0b0 draft

Uploaded
author florianbegusch
date Fri, 04 Sep 2020 12:44:24 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_feature-table_subsample" name="qiime feature-table subsample"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Subsample table</description>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
5 <requirements>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
6 <requirement type="package" version="2020.8">qiime2</requirement>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
7 </requirements>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
8 <command><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
9 qiime feature-table subsample
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
10
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
11 --i-table=$itable
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
12
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
13 --p-subsampling-depth=$psubsamplingdepth
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
14
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
15 --p-axis=$paxis
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
16
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
17 --o-sampled-table=osampledtable
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
18
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
19 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
20 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
21 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
22
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
23 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
24 cp osampledtable.qza $osampledtable
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
25
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] The feature table to be sampled. [required]" name="itable" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 <param label="--p-subsampling-depth: INTEGER Range(1, None) The total number of samples or features to be randomly sampled. Samples or features that are reduced to a zero sum will not be included in the resulting table. [required]" name="psubsamplingdepth" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30 <param label="--p-axis: " name="paxis" optional="False" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 <option value="sample">sample</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32 <option value="feature">feature</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39 <data format="qza" label="${tool.name} on ${on_string}: sampledtable.qza" name="osampledtable" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44 Subsample table
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47 Randomly pick samples or features, without replacement, from the table.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 table : FeatureTable[Frequency]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52 The feature table to be sampled.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53 subsampling_depth : Int % Range(1, None)
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54 The total number of samples or features to be randomly sampled. Samples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 or features that are reduced to a zero sum will not be included in the
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56 resulting table.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57 axis : Str % Choices('sample', 'feature')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 The axis to sample over. If "sample" then samples will be randomly
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59 selected to be retained. If "feature" then a random set of features
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60 will be selected to be retained.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64 sampled_table : FeatureTable[Frequency]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65 The resulting subsampled feature table.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71 </tool>