annotate qiime2/qiime_feature-classifier_classify-hybrid-vsearch-sklearn.xml @ 13:887cd4ad8e16 draft

Uploaded
author florianbegusch
date Thu, 03 Sep 2020 09:46:00 +0000
parents f190567fe3f6
children a0a8d77a991c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_feature-classifier_classify-hybrid-vsearch-sklearn" name="qiime feature-classifier classify-hybrid-vsearch-sklearn" version="2019.7">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
3 <description> - ALPHA Hybrid classifier: VSEARCH exact match + sklearn classifier</description>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
4 <requirements>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
5 <requirement type="package" version="2019.7">qiime2</requirement>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
6 </requirements>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
7 <command><![CDATA[
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
8 qiime feature-classifier classify-hybrid-vsearch-sklearn
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
9
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
10 --i-query=$iquery
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
11 --i-reference-reads=$ireferencereads
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
12
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
13
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
14
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
15
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
16 #if str( $id_to_taxonomy_fp.selector ) == 'history'
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
17 #set $tax = $id_to_taxonomy_fp.taxonomy_fp
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
18 --i-reference-taxonomy '$tax'
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
19 #else:
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
20 #set $tax = $id_to_taxonomy_fp.taxonomy_fp.fields.path
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
21 --i-reference-taxonomy '$tax'
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
22 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
23
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
24
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
25
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
26
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
27
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
28 #if str( $id_to_classifier_fp.selector ) == 'history'
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
29 #set $classifier = $id_to_classifier_fp.classifier_fp
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
30 --i-classifier '$classifier'
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
31 #else:
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
32 #set $classifier = $id_to_classifier_fp.classifier_fp.fields.path
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
33 --i-classifier '$classifier'
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
34 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
35
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
36
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
37
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
38
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
39
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
40 #if str($pmaxaccepts):
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
41 --p-maxaccepts=$pmaxaccepts
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
42 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
43
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
44 #if str($pconfidence):
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
45 --p-confidence=$pconfidence
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
46 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
47
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
48
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
49
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
50
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
51 #if str($ppercidentity):
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
52 --p-perc-identity=$ppercidentity
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
53 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
54
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
55 #if str($pquerycov):
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
56 --p-query-cov=$pquerycov
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
57 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
58
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
59 #if str($pstrand) != 'None':
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
60 --p-strand=$pstrand
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
61 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
62
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
63 #if str($pminconsensus):
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
64 --p-min-consensus=$pminconsensus
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
65 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
66
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
67
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
68 #if str($preadorientation) != 'None':
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
69 --p-read-orientation=$preadorientation
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
70 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
71
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
72 #set $pthreads = '${GALAXY_SLOTS:-4}'
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
73
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
74 #if str($pthreads):
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
75
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
76 #if str($pthreads):
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
77 --p-threads="$pthreads"
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
78 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
79
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
80 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
81
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
82
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
83 #if $pprefilter:
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
84 --p-prefilter
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
85 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
86
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
87 #if str($psamplesize):
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
88 --p-sample-size=$psamplesize
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
89 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
90
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
91 #if str($prandseed):
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
92 --p-randseed=$prandseed
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
93 #end if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
94
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
95
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
96 --o-classification=oclassification
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
97
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
98 ;
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
99 cp oclassification.qza $oclassification
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
100 ]]></command>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
101 <inputs>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
102 <param format="qza,no_unzip.zip" label="--i-query: ARTIFACT FeatureData[Sequence] Sequences to classify taxonomically. [required]" name="iquery" optional="False" type="data"/>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
103 <param format="qza,no_unzip.zip" label="--i-reference-reads: ARTIFACT FeatureData[Sequence] reference sequences. [required]" name="ireferencereads" optional="False" type="data"/>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
104
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
105
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
106 <conditional name="id_to_taxonomy_fp" optional="True">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
107 <param name="selector" type="select" label="Reference taxonomy to query">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
108 <option value="cached">Public databases</option>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
109 <option value="history">Databases from your history</option>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
110 </param>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
111 <when value="cached">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
112 <param argument="--taxonomy_fp" label="Reference taxonomy" type="select" optional="True">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
113 <options from_data_table="qiime_taxonomy" />
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
114 </param>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
115 </when>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
116 <when value="history">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
117 <param argument="--taxonomy_fp" type="data" format="qza,no_unzip.zip" label="Reference databases" optional="True" />
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
118 </when>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
119 </conditional>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
120
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
121
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
122 <conditional name="id_to_classifier_fp" optional="True">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
123 <param name="selector" type="select" label="Reference classifier to query">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
124 <option value="cached">Public classifiers</option>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
125 <option value="history">Classifiers from your history</option>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
126 </param>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
127 <when value="cached">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
128 <param name="classifier_fp" label="Reference classifier" type="select" optional="True">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
129 <options from_data_table="qiime_rep_set" />
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
130 </param>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
131 </when>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
132 <when value="history">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
133 <param name="classifier_fp" type="data" format="qza,no_unzip.zip" label="Reference classifier" optional="True" />
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
134 </when>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
135 </conditional>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
136
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
137
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
138 <param label="--p-maxaccepts: VALUE Int % Range(1, None) | Str % Choices('all') Maximum number of hits to keep for each query. Set to 'all' to keep all hits > perc-identity similarity. [default: 10]" name="pmaxaccepts" optional="True" type="text" value="10" />
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
139 <param label="--p-confidence: VALUE Float % Range(0, 1, inclusive_end=True) | Str % Choices('disable') Confidence threshold for limiting taxonomic depth. Set to 'disable' to disable confidence calculation, or 0 to calculate confidence but not apply it to limit the taxonomic depth of the assignments. [default: 0.7]" name="pconfidence" optional="True" type="text" value="0.7" />
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
140
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
141
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
142 <param label="--p-perc-identity: PROPORTION Range(0.0, 1.0, inclusive_end=True) Percent sequence similarity to use for PREFILTER. Reject match if percent identity to query is lower. Set to a lower value to perform a rough pre-filter. This parameter is ignored if `prefilter` is disabled. [default: 0.5]" name="ppercidentity" optional="True" type="float" value="0.5" min="0" max="1" exclusive_end="False" />
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
143 <param label="--p-query-cov: PROPORTION Range(0.0, 1.0, inclusive_end=True) Query coverage threshold to use for PREFILTER. Reject match if query alignment coverage per high-scoring pair is lower. Set to a lower value to perform a rough pre-filter. This parameter is ignored if `prefilter` is disabled. [default: 0.8]" name="pquerycov" optional="True" type="float" value="0.8" min="0" max="1" exclusive_end="False" />
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
144 <param label="--p-strand: " name="pstrand" optional="True" type="select">
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
145 <option selected="True" value="None">Selection is Optional</option>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
146 <option value="both">both</option>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
147 <option value="plus">plus</option>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
148 </param>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
149 <param 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. [default: 0.51]" name="pminconsensus" optional="True" type="float" value="0.51" min="0.5" max="1" exclusive_end="True" />
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
150 <param label="--p-read-orientation: TEXT Choices('same', 'reverse-complement', 'auto') Direction of reads with respect to reference sequences in pre-trained sklearn classifier. same will cause reads to be classified unchanged; reverse-complement will cause reads to be reversed and complemented prior to classification. 'auto' will autodetect orientation based on the confidence estimates for the first 100 reads. [default: 'auto'] " name="preadorientation" optional="True" type="select" >
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
151 <option value="None">Selection is Optional</option>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
152 <option value="same">same</option>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
153 <option value="reverse-complement">reverse-complement</option>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
154 <option selected="True" value="auto">auto</option>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
155 </param>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
156 <param label="--p-prefilter: --p-no-prefilter Toggle positive filter of query sequences on or off. [default: True]" name="pprefilter" selected="False" type="boolean"/>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
157 <param label="--p-sample-size: INTEGER Range(1, None) Randomly extract the given number of sequences from the reference database to use for prefiltering. This parameter is ignored if `prefilter` is disabled. [default: 1000]" name="psamplesize" optional="True" type="integer" value="1000" min="1"/>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
158 <param label="--p-randseed: INTEGER Use integer as a seed for the pseudo-random generator Range(0, None) used during prefiltering. A given seed always produces the same output, which is useful for replicability. Set to 0 to use a pseudo-random seed. This parameter is ignored if `prefilter` is disabled. [default: 0]" name="prandseed" optional="True" type="integer" value="0" min="0"/>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
159 </inputs>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
160 <outputs>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
161 <data format="qza" label="${tool.name} on ${on_string}: classification.qza" name="oclassification"/>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
162 </outputs>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
163 <help><![CDATA[
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
164 ALPHA Hybrid classifier: VSEARCH exact match + sklearn classifier
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
165 ##################################################################
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
166
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
167 NOTE: THIS PIPELINE IS AN ALPHA RELEASE. Please report bugs to
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
168 https://forum.qiime2.org! Assign taxonomy to query sequences using hybrid
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
169 classifier. First performs rough positive filter to remove artifact and
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
170 low-coverage sequences (use "prefilter" parameter to toggle this step on or
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
171 off). Second, performs VSEARCH exact match between query and
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
172 reference_reads to find exact matches, followed by least common ancestor
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
173 consensus taxonomy assignment from among maxaccepts top hits, min_consensus
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
174 of which share that taxonomic assignment. Query sequences without an exact
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
175 match are then classified with a pre-trained sklearn taxonomy classifier to
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
176 predict the most likely taxonomic lineage.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
177
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
178 Parameters
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
179 ----------
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
180 query : FeatureData[Sequence]
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
181 Sequences to classify taxonomically.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
182 reference_reads : FeatureData[Sequence]
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
183 reference sequences.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
184 reference_taxonomy : FeatureData[Taxonomy]
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
185 reference taxonomy labels.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
186 classifier : TaxonomicClassifier
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
187 Pre-trained sklearn taxonomic classifier for classifying the reads.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
188 maxaccepts : Int % Range(1, None) | Str % Choices('all'), optional
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
189 Maximum number of hits to keep for each query. Set to "all" to keep all
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
190 hits > perc_identity similarity.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
191 perc_identity : Float % Range(0.0, 1.0, inclusive_end=True), optional
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
192 Percent sequence similarity to use for PREFILTER. Reject match if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
193 percent identity to query is lower. Set to a lower value to perform a
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
194 rough pre-filter. This parameter is ignored if `prefilter` is disabled.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
195 query_cov : Float % Range(0.0, 1.0, inclusive_end=True), optional
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
196 Query coverage threshold to use for PREFILTER. Reject match if query
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
197 alignment coverage per high-scoring pair is lower. Set to a lower value
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
198 to perform a rough pre-filter. This parameter is ignored if `prefilter`
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
199 is disabled.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
200 strand : Str % Choices('both', 'plus'), optional
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
201 Align against reference sequences in forward ("plus") or both
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
202 directions ("both").
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
203 min_consensus : Float % Range(0.5, 1.0, inclusive_start=False, inclusive_end=True), optional
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
204 Minimum fraction of assignments must match top hit to be accepted as
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
205 consensus assignment.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
206 reads_per_batch : Int % Range(0, None), optional
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
207 Number of reads to process in each batch for sklearn classification. If
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
208 "auto", this parameter is autoscaled to min(number of query sequences /
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
209 threads, 20000).
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
210 confidence : Float % Range(0, 1, inclusive_end=True) | Str % Choices('disable'), optional
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
211 Confidence threshold for limiting taxonomic depth. Set to "disable" to
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
212 disable confidence calculation, or 0 to calculate confidence but not
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
213 apply it to limit the taxonomic depth of the assignments.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
214 read_orientation : Str % Choices('same', 'reverse-complement', 'auto'), optional
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
215 Direction of reads with respect to reference sequences in pre-trained
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
216 sklearn classifier. same will cause reads to be classified unchanged;
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
217 reverse-complement will cause reads to be reversed and complemented
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
218 prior to classification. "auto" will autodetect orientation based on
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
219 the confidence estimates for the first 100 reads.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
220 prefilter : Bool, optional
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
221 Toggle positive filter of query sequences on or off.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
222 sample_size : Int % Range(1, None), optional
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
223 Randomly extract the given number of sequences from the reference
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
224 database to use for prefiltering. This parameter is ignored if
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
225 `prefilter` is disabled.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
226 randseed : Int % Range(0, None), optional
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
227 Use integer as a seed for the pseudo-random generator used during
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
228 prefiltering. A given seed always produces the same output, which is
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
229 useful for replicability. Set to 0 to use a pseudo-random seed. This
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
230 parameter is ignored if `prefilter` is disabled.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
231
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
232 Returns
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
233 -------
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
234 classification : FeatureData[Taxonomy]
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
235 The resulting taxonomy classifications.
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
236 ]]></help>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
237 <macros>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
238 <import>qiime_citation.xml</import>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
239 </macros>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
240 <expand macro="qiime_citation"/>
f190567fe3f6 Uploaded
florianbegusch
parents:
diff changeset
241 </tool>