annotate qiime2/qiime_quality-control_evaluate-taxonomy.xml @ 15:276ec629f09a draft

Uploaded
author florianbegusch
date Thu, 03 Sep 2020 09:56:05 +0000
parents a0a8d77a991c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
2 <tool id="qiime_quality-control_evaluate-taxonomy" name="qiime quality-control evaluate-taxonomy"
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
3 version="2020.8">
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
4 <description>Evaluate expected vs. observed taxonomic assignments</description>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
5 <requirements>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
6 <requirement type="package" version="2020.8">qiime2</requirement>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
7 </requirements>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
8 <command><![CDATA[
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
9 qiime quality-control evaluate-taxonomy
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
10
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
11 --i-expected-taxa=$iexpectedtaxa
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
12
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
13 --i-observed-taxa=$iobservedtaxa
6
florianbegusch
parents: 0
diff changeset
14
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
15 #if $ifeaturetable:
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
16 --i-feature-table
6
florianbegusch
parents: 0
diff changeset
17 #end if
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
18
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
19 --p-depth=$pdepth
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
20
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
21 #if str($ppalette) != 'None':
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
22 --p-palette=$ppalette
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
23 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
24
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
25 #if $pnorequireexpids:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
26 --p-no-require-exp-ids
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
27 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
28
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
29 #if $pnorequireobsids:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
30 --p-no-require-obs-ids
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
31 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
32
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
33 #if str($psampleid):
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
34 --p-sample-id=$psampleid
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
35 #end if
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
36 --o-visualization=ovisualization
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
37
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
38 #if str($examples) != 'None':
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
39 --examples=$examples
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
40 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
41
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
42 ;
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
43 cp odatabase.qza $odatabase
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
44
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
45 ;
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
46 qiime tools export ovisualization.qzv --output-path out
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
47 && mkdir -p '$ovisualization.files_path'
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
48 && cp -r out/* '$ovisualization.files_path'
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
49 && mv '$ovisualization.files_path/index.html' '$ovisualization'
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
50
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
51 ;
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
52 qiime tools export ovisualization.qzv --output-path out
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
53 && mkdir -p '$ovisualization.files_path'
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
54 && cp -r out/* '$ovisualization.files_path'
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
55 && mv '$ovisualization.files_path/index.html' '$ovisualization'
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
56
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
57 ;
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
58 qiime tools export ovisualization.qzv --output-path out
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
59 && mkdir -p '$ovisualization.files_path'
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
60 && cp -r out/* '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
61 && mv '$ovisualization.files_path/index.html' '$ovisualization'
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
62
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
63 ]]></command>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
64 <inputs>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
65 <param format="qza,no_unzip.zip" label="--i-expected-taxa: ARTIFACT FeatureData[Taxonomy] Expected taxonomic assignments [required]" name="iexpectedtaxa" optional="False" type="data" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
66 <param format="qza,no_unzip.zip" label="--i-observed-taxa: ARTIFACT FeatureData[Taxonomy] Observed taxonomic assignments [required]" name="iobservedtaxa" optional="False" type="data" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
67 <param format="qza,no_unzip.zip" label="--i-feature-table: --i-feature-table: ARTIFACT FeatureTable[RelativeFrequency] Optional feature table containing relative frequency of each feature, used to weight accuracy scores by frequency. Must contain all features found in expected and/or observed taxa. Features found in the table but not the expected/observed taxa will be dropped prior to analysis. [optional]" name="ifeaturetable" selected="False" type="boolean" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
68 <param label="--p-depth: INTEGER Maximum depth of semicolon-delimited taxonomic ranks to test (e.g., 1 = root, 7 = species for the greengenes reference sequence database). [required]" name="pdepth" optional="False" type="text" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
69 <param label="--p-palette: " name="ppalette" optional="True" type="select">
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
70 <option selected="True" value="None">Selection is Optional</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
71 <option value="Set1">Set1</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
72 <option value="Set2">Set2</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
73 <option value="Set3">Set3</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
74 <option value="Pastel1">Pastel1</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
75 <option value="Pastel2">Pastel2</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
76 <option value="Paired">Paired</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
77 <option value="Accent">Accent</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
78 <option value="Dark2">Dark2</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
79 <option value="tab10">tab10</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
80 <option value="tab20">tab20</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
81 <option value="tab20b">tab20b</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
82 <option value="tab20c">tab20c</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
83 <option value="viridis">viridis</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
84 <option value="plasma">plasma</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
85 <option value="inferno">inferno</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
86 <option value="magma">magma</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
87 <option value="terrain">terrain</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
88 <option value="rainbow">rainbow</option>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
89 </param>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
90 <param label="--p-no-require-exp-ids: Do not require that all features found in observed taxa must be found in expected taxa or raise error. [default: True]" name="pnorequireexpids" selected="False" type="boolean" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
91 <param label="--p-no-require-obs-ids: Do not require that all features found in expected taxa must be found in observed taxa or raise error. [default: True]" name="pnorequireobsids" selected="False" type="boolean" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
92 <param label="--p-sample-id: TEXT Optional sample ID to use for extracting frequency data from feature table, and for labeling accuracy results. If no sample-id is provided, feature frequencies are derived from the sum of all samples present in the feature table. [optional]" name="psampleid" optional="False" type="text" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
93 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
94
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
95 </inputs>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
96
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
97 <outputs>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
98 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
99
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
100 </outputs>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
101
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
102 <help><![CDATA[
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
103 Evaluate expected vs. observed taxonomic assignments
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
104 ###############################################################
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
105
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
106 This visualizer compares a pair of observed and expected taxonomic
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
107 assignments to calculate precision, recall, and F-measure at each taxonomic
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
108 level, up to maximum level specified by the depth parameter. These metrics
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
109 are calculated at each semicolon-delimited rank. This action is useful for
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
110 comparing the accuracy of taxonomic assignment, e.g., between different
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
111 taxonomy classifiers or other bioinformatics methods. Expected taxonomies
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
112 should be derived from simulated or mock community sequences that have
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
113 known taxonomic affiliations.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
114
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
115 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
116 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
117 expected_taxa : FeatureData[Taxonomy]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
118 Expected taxonomic assignments
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
119 observed_taxa : FeatureData[Taxonomy]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
120 Observed taxonomic assignments
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
121 depth : Int
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
122 Maximum depth of semicolon-delimited taxonomic ranks to test (e.g., 1 =
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
123 root, 7 = species for the greengenes reference sequence database).
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
124 palette : Str % Choices('Set1', 'Set2', 'Set3', 'Pastel1', 'Pastel2', 'Paired', 'Accent', 'Dark2', 'tab10', 'tab20', 'tab20b', 'tab20c', 'viridis', 'plasma', 'inferno', 'magma', 'terrain', 'rainbow'), optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
125 Color palette to utilize for plotting.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
126 require_exp_ids : Bool, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
127 Require that all features found in observed taxa must be found in
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
128 expected taxa or raise error.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
129 require_obs_ids : Bool, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
130 Require that all features found in expected taxa must be found in
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
131 observed taxa or raise error.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
132 feature_table : FeatureTable[RelativeFrequency], optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
133 Optional feature table containing relative frequency of each feature,
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
134 used to weight accuracy scores by frequency. Must contain all features
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
135 found in expected and/or observed taxa. Features found in the table but
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
136 not the expected/observed taxa will be dropped prior to analysis.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
137 sample_id : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
138 Optional sample ID to use for extracting frequency data from feature
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
139 table, and for labeling accuracy results. If no sample_id is provided,
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
140 feature frequencies are derived from the sum of all samples present in
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
141 the feature table.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
142
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
143 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
144 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
145 visualization : Visualization
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
146 ]]></help>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
147 <macros>
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
148 <import>qiime_citation.xml</import>
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
149 </macros>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
150 <expand macro="qiime_citation"/>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
151 </tool>