annotate qiime2-2020.8/qiime_quality-control_evaluate-taxonomy.xml @ 0:5c352d975ef7 draft

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