annotate qiime2/qiime_quality-control_evaluate-taxonomy.xml @ 29:3ba9833030c1 draft

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