comparison qiime2/qiime_feature-table_core-features.xml @ 14:a0a8d77a991c draft

Uploaded
author florianbegusch
date Thu, 03 Sep 2020 09:51:29 +0000
parents f190567fe3f6
children
comparison
equal deleted inserted replaced
13:887cd4ad8e16 14:a0a8d77a991c
1 <?xml version="1.0" ?> 1 <?xml version="1.0" ?>
2 <tool id="qiime_feature-table_core-features" name="qiime feature-table core-features" version="2019.7"> 2 <tool id="qiime_feature-table_core-features" name="qiime feature-table core-features"
3 <description> - Identify core features in table</description> 3 version="2020.8">
4 <requirements> 4 <description>Identify core features in table</description>
5 <requirement type="package" version="2019.7">qiime2</requirement> 5 <requirements>
6 </requirements> 6 <requirement type="package" version="2020.8">qiime2</requirement>
7 <command><![CDATA[ 7 </requirements>
8 <command><![CDATA[
8 qiime feature-table core-features 9 qiime feature-table core-features
9 10
10 --i-table=$itable 11 --i-table=$itable
11 12
12 #if str($pminfraction): 13 --p-min-fraction=$pminfraction
13 --p-min-fraction=$pminfraction 14
15 --p-max-fraction=$pmaxfraction
16
17 --p-steps=$psteps
18
19 --o-visualization=ovisualization
20
21 #if str($examples) != 'None':
22 --examples=$examples
14 #end if 23 #end if
15 24
16 #if str($pmaxfraction): 25 ;
17 --p-max-fraction=$pmaxfraction 26 cp oclassifier.qza $oclassifier
18 #end if
19 27
20 #if str($psteps): 28 ;
21 --p-steps=$psteps 29 qiime tools export ovisualization.qzv --output-path out
22 #end if 30 && mkdir -p '$ovisualization.files_path'
31 && cp -r out/* '$ovisualization.files_path'
32 && mv '$ovisualization.files_path/index.html' '$ovisualization'
23 33
24 --o-visualization=ovisualization 34 ]]></command>
25 ; 35 <inputs>
26 qiime tools export --input-path ovisualization.qzv --output-path out && mkdir -p '$ovisualization.files_path' 36 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] The feature table to use in core features calculations. [required]" name="itable" optional="False" type="data" />
27 && cp -r out/* '$ovisualization.files_path' 37 <param exclude_min="True" label="--p-min-fraction: PROPORTION Range(0.0, 1.0, inclusive_start=False) The minimum fraction of samples that a feature must be observed in for that feature to be considered a core feature. [default: 0.5]" max="1.0" min="0.0" name="pminfraction" optional="True" type="float" value="0.5" />
28 && mv '$ovisualization.files_path/index.html' '$ovisualization'; 38 <param exclude_max="False" label="--p-max-fraction: PROPORTION Range(0.0, 1.0, inclusive_end=True) The maximum fraction of samples that a feature must be observed in for that feature to be considered a core feature. [default: 1.0]" max="1.0" min="0.0" name="pmaxfraction" optional="True" type="float" value="1.0" />
29 ]]></command> 39 <param label="--p-steps: INTEGER The number of steps to take between `min-fraction` and Range(2, None) `max-fraction` for core features calculations. This parameter has no effect if `min-fraction` and `max-fraction` are the same value. [default: 11]" min="2" name="psteps" optional="True" type="integer" value="11" />
30 <inputs> 40 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
31 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] The feature table to use in core features calculations. [required]" name="itable" optional="False" type="data"/> 41
32 <param label="--p-min-fraction: PROPORTION Range(0.0, 1.0, inclusive_start=False) The minimum fraction of samples that a feature must be observed in for that feature to be considered a core feature. [default: 0.5]" name="pminfraction" optional="True" type="float" value="0.5"/> 42 </inputs>
33 <param label="--p-max-fraction: PROPORTION Range(0.0, 1.0, inclusive_end=True) The maximum fraction of samples that a feature must be observed in for that feature to be considered a core feature. [default: 1.0]" name="pmaxfraction" optional="True" type="float" value="1.0"/>
34 <param label="--p-steps: INTEGER The number of steps to take between `min-fraction` and Range(2, None) `max-fraction` for core features calculations. This parameter has no effect if `min-fraction` and `max-fraction` are the same value. [default: 11]" name="psteps" optional="True" type="integer" value="11"/>
35 </inputs>
36 <outputs>
37 <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/>
38 </outputs>
39 <help><![CDATA[
40 Train an almost arbitrary scikit-learn classifier
41 #################################################
42 43
43 Train a scikit-learn classifier to classify reads. 44 <outputs>
45 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
46
47 </outputs>
48
49 <help><![CDATA[
50 Identify core features in table
51 ###############################################################
52
53 Identify "core" features, which are features observed in a user-defined
54 fraction of the samples. Since the core features are a function of the
55 fraction of samples that the feature must be observed in to be considered
56 core, this is computed over a range of fractions defined by the
57 `min_fraction`, `max_fraction`, and `steps` parameters.
44 58
45 Parameters 59 Parameters
46 ---------- 60 ----------
47 reference_reads : FeatureData[Sequence] 61 table : FeatureTable[Frequency]
48 \ 62 The feature table to use in core features calculations.
49 63 min_fraction : Float % Range(0.0, 1.0, inclusive_start=False), optional
50 reference_taxonomy : FeatureData[Taxonomy] 64 The minimum fraction of samples that a feature must be observed in for
51 \ 65 that feature to be considered a core feature.
52 66 max_fraction : Float % Range(0.0, 1.0, inclusive_end=True), optional
53 classifier_specification : Str 67 The maximum fraction of samples that a feature must be observed in for
54 \ 68 that feature to be considered a core feature.
55 69 steps : Int % Range(2, None), optional
56 class_weight : FeatureTable[RelativeFrequency], optional 70 The number of steps to take between `min_fraction` and `max_fraction`
57 \ 71 for core features calculations. This parameter has no effect if
72 `min_fraction` and `max_fraction` are the same value.
58 73
59 Returns 74 Returns
60 ------- 75 -------
61 classifier : TaxonomicClassifier 76 visualization : Visualization
62 \ 77 ]]></help>
63 78 <macros>
64 ]]></help>
65 <macros>
66 <import>qiime_citation.xml</import> 79 <import>qiime_citation.xml</import>
67 </macros> 80 </macros>
68 <expand macro="qiime_citation"/> 81 <expand macro="qiime_citation"/>
69 </tool> 82 </tool>