Mercurial > repos > florianbegusch > qiime2_suite
view qiime2-2020.8/qiime_feature-table_rarefy.xml @ 26:60da5215e182 draft
Uploaded
author | florianbegusch |
---|---|
date | Fri, 04 Sep 2020 12:58:02 +0000 |
parents | d93d8888f0b0 |
children |
line wrap: on
line source
<?xml version="1.0" ?> <tool id="qiime_feature-table_rarefy" name="qiime feature-table rarefy" version="2020.8"> <description>Rarefy table</description> <requirements> <requirement type="package" version="2020.8">qiime2</requirement> </requirements> <command><![CDATA[ qiime feature-table rarefy --i-table=$itable --p-sampling-depth=$psamplingdepth #if $pwithreplacement: --p-with-replacement #end if --o-rarefied-table=orarefiedtable #if str($examples) != 'None': --examples=$examples #end if ; cp orarefiedtable.qza $orarefiedtable ]]></command> <inputs> <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" /> <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" type="text" /> <param label="--p-with-replacement: --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" /> <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" /> </inputs> <outputs> <data format="qza" label="${tool.name} on ${on_string}: rarefiedtable.qza" name="orarefiedtable" /> </outputs> <help><![CDATA[ Rarefy table ############################################################### Subsample frequencies from all samples so that the sum of frequencies in each sample is equal to sampling-depth. Parameters ---------- table : FeatureTable[Frequency] The feature table to be rarefied. sampling_depth : Int % 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. with_replacement : Bool, optional Rarefy with replacement by sampling from the multinomial distribution instead of rarefying without replacement. Returns ------- rarefied_table : FeatureTable[Frequency] The resulting rarefied feature table. ]]></help> <macros> <import>qiime_citation.xml</import> </macros> <expand macro="qiime_citation"/> </tool>