annotate qiime2-2020.8/qiime_quality-control_evaluate-taxonomy.xml @ 21:a98d7ab297f1 draft

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