Mercurial > repos > florianbegusch > qiime2_suite
comparison qiime2/qiime_feature-table_subsample.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_subsample" name="qiime feature-table subsample" version="2019.4"> | |
3 <description> - Subsample table</description> | |
4 <requirements> | |
5 <requirement type="package" version="2019.4">qiime2</requirement> | |
6 </requirements> | |
7 <command><![CDATA[ | |
8 qiime feature-table subsample | |
9 | |
10 --i-table=$itable | |
11 --p-subsampling-depth="$psubsamplingdepth" | |
12 --p-axis=$paxis | |
13 | |
14 --o-sampled-table=osampledtable | |
15 ; | |
16 cp osampledtable.qza $osampledtable | |
17 ]]></command> | |
18 <inputs> | |
19 <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"/> | |
20 <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" min="1" value="" type="integer"/> | |
21 <param label="--p-axis: " name="paxis" optional="False" type="select"> | |
22 <option value="sample">sample</option> | |
23 <option value="feature">feature</option> | |
24 </param> | |
25 </inputs> | |
26 <outputs> | |
27 <data format="qza" label="${tool.name} on ${on_string}: sampledtable.qza" name="osampledtable"/> | |
28 </outputs> | |
29 <help><![CDATA[ | |
30 Subsample table | |
31 ############### | |
32 | |
33 Randomly pick samples or features, without replacement, from the table. | |
34 | |
35 Parameters | |
36 ---------- | |
37 table : FeatureTable[Frequency] | |
38 The feature table to be sampled. | |
39 subsampling_depth : Int % Range(1, None) | |
40 The total number of samples or features to be randomly sampled. Samples | |
41 or features that are reduced to a zero sum will not be included in the | |
42 resulting table. | |
43 axis : Str % Choices('sample', 'feature') | |
44 The axis to sample over. If "sample" then samples will be randomly | |
45 selected to be retained. If "feature" then a random set of features | |
46 will be selected to be retained. | |
47 | |
48 Returns | |
49 ------- | |
50 sampled_table : FeatureTable[Frequency] | |
51 The resulting subsampled feature table. | |
52 ]]></help> | |
53 <macros> | |
54 <import>qiime_citation.xml</import> | |
55 </macros> | |
56 <expand macro="qiime_citation"/> | |
57 </tool> |