annotate qiime2/qiime_quality-control_evaluate-taxonomy.xml @ 0:370e0b6e9826 draft

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