annotate qiime2/qiime_feature-table_rarefy.xml @ 0:370e0b6e9826 draft

Uploaded
author florianbegusch
date Wed, 17 Jul 2019 03:05:17 -0400
parents
children de4c22a52df4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_feature-table_rarefy" name="qiime feature-table rarefy" version="2019.4">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
3 <description> - Rarefy table</description>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
4 <requirements>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
5 <requirement type="package" version="2019.4">qiime2</requirement>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
6 </requirements>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
7 <command><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
8 qiime feature-table rarefy
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
9
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
10 --i-table=$itable
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
11 --p-sampling-depth="$psamplingdepth"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
12
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
13 #if $pwithreplacement:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
14 --p-with-replacement
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
15 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
16
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
17 --o-rarefied-table=orarefiedtable
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
18 ;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
19 cp orarefiedtable.qza $orarefiedtable
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
20 ]]></command>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
21 <inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
22 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] The feature table to be rarefied. [required]" name="itable" optional="False" type="data"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
23 <param label="--p-sampling-depth: INTEGER Range(1, None) The total frequency that each sample should be rarefied to. Samples where the sum of frequencies is less than the sampling depth will be not be included in the resulting table unless subsampling is performed with replacement. [required]" name="psamplingdepth" optional="False" min="1" value="" type="integer"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
24 <param label="--p-with-replacement: --p-no-with-replacement Rarefy with replacement by sampling from the multinomial distribution instead of rarefying without replacement. [default: False]" name="pwithreplacement" selected="False" type="boolean"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
25 </inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
26 <outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
27 <data format="qza" label="${tool.name} on ${on_string}: rarefiedtable.qza" name="orarefiedtable"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
28 </outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
29 <help><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
30 Rarefy table
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
31 ############
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
32
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
33 Subsample frequencies from all samples so that the sum of frequencies in
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
34 each sample is equal to sampling-depth.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
35
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
36 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
37 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
38 table : FeatureTable[Frequency]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
39 The feature table to be rarefied.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
40 sampling_depth : Int % Range(1, None)
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
41 The total frequency that each sample should be rarefied to. Samples
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
42 where the sum of frequencies is less than the sampling depth will be
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
43 not be included in the resulting table unless subsampling is performed
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
44 with replacement.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
45 with_replacement : Bool, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
46 Rarefy with replacement by sampling from the multinomial distribution
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
47 instead of rarefying without replacement.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
48
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
49 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
50 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
51 rarefied_table : FeatureTable[Frequency]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
52 The resulting rarefied feature table.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
53 ]]></help>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
54 <macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
55 <import>qiime_citation.xml</import>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
56 </macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
57 <expand macro="qiime_citation"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
58 </tool>