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

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