0
|
1 <?xml version="1.0" ?>
|
|
2 <tool id="qiime_feature-table_rarefy" name="qiime feature-table rarefy" version="2018.4">
|
|
3 <description> - Rarefy table</description>
|
|
4 <requirements>
|
|
5 <requirement type="package" version="2018.4">qiime2</requirement>
|
|
6 </requirements>
|
|
7 <command>
|
|
8 <![CDATA[
|
|
9 qiime feature-table rarefy --i-table=$itable --p-sampling-depth="$psamplingdepth"
|
|
10
|
|
11 #if str($cmdconfig) != 'None':
|
|
12 --cmd-config=$cmdconfig
|
|
13 #end if
|
|
14 --o-rarefied-table=orarefiedtable;
|
|
15
|
|
16 cp orarefiedtable.qza $orarefiedtable;
|
|
17 ]]>
|
|
18 </command>
|
|
19 <inputs>
|
|
20 <param format="qza,no_unzip.zip" label="--i-table: FeatureTable[Frequency] The feature table to be rarefied. [required]" name="itable" optional="False" type="data"/>
|
|
21 <param label="--p-sampling-depth: 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. [required]" name="psamplingdepth" optional="False" type="text"/>
|
|
22 <param label="--cmd-config: Use config file for command options" name="cmdconfig" optional="True" type="data"/>
|
|
23 </inputs>
|
|
24 <outputs>
|
|
25 <data format="qza" label="${tool.name} on ${on_string}: rarefied-table.qza" name="orarefiedtable"/>
|
|
26 </outputs>
|
|
27 <help>
|
|
28 <![CDATA[
|
|
29 Rarefy table
|
|
30 -------------
|
|
31
|
|
32 Subsample frequencies from all samples without replacement so that the sum
|
|
33 of frequencies in each sample is equal to sampling-depth.
|
|
34
|
|
35 Parameters
|
|
36 ----------
|
|
37 table : FeatureTable[Frequency]
|
|
38 The feature table to be rarefied.
|
|
39 sampling_depth : Int % Range(1, None)
|
|
40 The total frequency that each sample should be rarefied to. Samples
|
|
41 where the sum of frequencies is less than the sampling depth will be
|
|
42 not be included in the resulting table.
|
|
43
|
|
44 Returns
|
|
45 -------
|
|
46 rarefied_table : FeatureTable[Frequency]
|
|
47 The resulting rarefied feature table.
|
|
48 ]]>
|
|
49 </help>
|
|
50 <macros>
|
|
51 <import>qiime_citation.xml</import>
|
|
52 </macros>
|
|
53 <expand macro="qiime_citation" />
|
|
54 </tool>
|