annotate qiime2-2020.8/qiime_feature-classifier_classify-consensus-blast.xml @ 22:292c84bd5ab6 draft

Uploaded
author florianbegusch
date Fri, 04 Sep 2020 12:55:05 +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_feature-classifier_classify-consensus-blast" name="qiime feature-classifier classify-consensus-blast"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>BLAST+ consensus taxonomy classifier</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 feature-classifier classify-consensus-blast
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
10
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
11 --i-query=$iquery
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
12
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
13 --i-reference-reads=$ireferencereads
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
14
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
15 --i-reference-taxonomy=$ireferencetaxonomy
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
16
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
17 --p-maxaccepts=$pmaxaccepts
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
18
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
19 --p-perc-identity=$ppercidentity
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
20
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
21 --p-query-cov=$pquerycov
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
22
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
23 #if str($pstrand) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
24 --p-strand=$pstrand
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
25 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 --p-evalue=$pevalue
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 --p-min-consensus=$pminconsensus
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 #if str($punassignablelabel):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32 --p-unassignable-label=$punassignablelabel
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34 --o-classification=oclassification
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 cp oclassification.qza $oclassification
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45 <param format="qza,no_unzip.zip" label="--i-query: ARTIFACT FeatureData[Sequence] Sequences to classify taxonomically. [required]" name="iquery" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46 <param format="qza,no_unzip.zip" label="--i-reference-reads: ARTIFACT FeatureData[Sequence] reference sequences. [required]" name="ireferencereads" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47 <param format="qza,no_unzip.zip" label="--i-reference-taxonomy: ARTIFACT FeatureData[Taxonomy] reference taxonomy labels. [required]" name="ireferencetaxonomy" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48 <param label="--p-maxaccepts: INTEGER Maximum number of hits to keep for each query. Must Range(1, None) be in range [1, infinity]. BLAST will choose the first N hits in the reference database that exceed perc-identity similarity to query. [default: 10]" min="1" name="pmaxaccepts" optional="True" type="integer" value="10" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 <param exclude_max="False" label="--p-perc-identity: PROPORTION Range(0.0, 1.0, inclusive_end=True) Reject match if percent identity to query is lower. Must be in range [0.0, 1.0]. [default: 0.8]" max="1.0" min="0.0" name="ppercidentity" optional="True" type="float" value="0.8" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50 <param exclude_max="False" label="--p-query-cov: PROPORTION Range(0.0, 1.0, inclusive_end=True) Reject match if query alignment coverage per high-scoring pair is lower. Note: this uses blastn\'s qcov_hsp_perc parameter, and may not behave identically to the query-cov parameter used by classify-consensus-vsearch. Must be in range [0.0, 1.0]. [default: 0.8]" max="1.0" min="0.0" name="pquerycov" optional="True" type="float" value="0.8" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 <param label="--p-strand: " name="pstrand" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53 <option value="both">both</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54 <option value="plus">plus</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 <option value="minus">minus</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57 <param label="--p-evalue: NUMBER BLAST expectation value (E) threshold for saving hits. [default: 0.001]" name="pevalue" optional="True" type="float" value="0.001" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 <param exclude_max="False" exclude_min="True" label="--p-min-consensus: NUMBER Range(0.5, 1.0, inclusive_start=False, inclusive_end=True) Minimum fraction of assignments must match top hit to be accepted as consensus assignment. Must be in range (0.5, 1.0]. [default: 0.51]" max="1.0" min="0.5" name="pminconsensus" optional="True" type="float" value="0.51" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59 <param label="--p-unassignable-label: TEXT [default: \'Unassigned\']" name="punassignablelabel" optional="False" type="text" value="\'Unassigned\'" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65 <data format="qza" label="${tool.name} on ${on_string}: classification.qza" name="oclassification" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 BLAST+ consensus taxonomy classifier
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73 Assign taxonomy to query sequences using BLAST+. Performs BLAST+ local
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 alignment between query and reference_reads, then assigns consensus
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75 taxonomy to each query sequence from among maxaccepts hits, min_consensus
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 of which share that taxonomic assignment. Note that maxaccepts selects the
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77 first N hits with > perc_identity similarity to query, not the top N
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78 matches. For top N hits, use classify-consensus-vsearch.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
79
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
80 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
81 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
82 query : FeatureData[Sequence]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
83 Sequences to classify taxonomically.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
84 reference_reads : FeatureData[Sequence]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
85 reference sequences.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
86 reference_taxonomy : FeatureData[Taxonomy]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
87 reference taxonomy labels.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
88 maxaccepts : Int % Range(1, None), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
89 Maximum number of hits to keep for each query. Must be in range [1,
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
90 infinity]. BLAST will choose the first N hits in the reference database
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
91 that exceed perc_identity similarity to query.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
92 perc_identity : Float % Range(0.0, 1.0, inclusive_end=True), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
93 Reject match if percent identity to query is lower. Must be in range
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
94 [0.0, 1.0].
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
95 query_cov : Float % Range(0.0, 1.0, inclusive_end=True), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
96 Reject match if query alignment coverage per high-scoring pair is
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
97 lower. Note: this uses blastn's qcov_hsp_perc parameter, and may not
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
98 behave identically to the query_cov parameter used by classify-
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
99 consensus-vsearch. Must be in range [0.0, 1.0].
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
100 strand : Str % Choices('both', 'plus', 'minus'), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
101 Align against reference sequences in forward ("plus"), reverse
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
102 ("minus"), or both directions ("both").
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
103 evalue : Float, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
104 BLAST expectation value (E) threshold for saving hits.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
105 min_consensus : Float % Range(0.5, 1.0, inclusive_start=False, inclusive_end=True), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
106 Minimum fraction of assignments must match top hit to be accepted as
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
107 consensus assignment. Must be in range (0.5, 1.0].
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
108 unassignable_label : Str, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
109
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
110 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
111 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
112 classification : FeatureData[Taxonomy]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
113 Taxonomy classifications of query sequences.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
114 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
115 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
116 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
117 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
118 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
119 </tool>