annotate qiime2/qiime_feature-classifier_fit-classifier-naive-bayes.xml @ 4:914fa4daf16a draft

Fixes
author florianbegusch
date Wed, 31 Jul 2019 03:06:00 -0400
parents 370e0b6e9826
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_feature-classifier_fit-classifier-naive-bayes" name="qiime feature-classifier fit-classifier-naive-bayes" version="2019.4">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
3 <description> - Train the naive_bayes classifier</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 feature-classifier fit-classifier-naive-bayes
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
9
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
10 --i-reference-reads=$ireferencereads
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
11
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
12
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
13 #if str( $id_to_taxonomy_fp.selector ) == 'history'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
14 #set $tax = $id_to_taxonomy_fp.taxonomy_fp
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
15 --i-reference-taxonomy '$tax'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
16 #else:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
17 #set $tax = $id_to_taxonomy_fp.taxonomy_fp.fields.path
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
18 --i-reference-taxonomy '$tax'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
19 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
20
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
21
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
22 #if str($iclassweight) != 'None':
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
23 --i-class-weight=$iclassweight
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
24 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
25
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
26 #if $pclassifyalpha:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
27 --p-classify--alpha=$pclassifyalpha
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
28 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
29
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
30 #if $pclassifychunksize:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
31 --p-classify--chunk-size=$pclassifychunksize
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
32 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
33
4
florianbegusch
parents: 0
diff changeset
34
florianbegusch
parents: 0
diff changeset
35
florianbegusch
parents: 0
diff changeset
36
florianbegusch
parents: 0
diff changeset
37 #if '__sq__' in str($pclassifyclassprior):
florianbegusch
parents: 0
diff changeset
38 #set $pclassifyclassprior_temp = $pclassifyclassprior.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
39 #set $pclassifyclassprior = $pclassifyclassprior_temp
florianbegusch
parents: 0
diff changeset
40 #end if
florianbegusch
parents: 0
diff changeset
41
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
42 #if str($pclassifyclassprior):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
43 --p-classify--class-prior="$pclassifyclassprior"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
44 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
45
4
florianbegusch
parents: 0
diff changeset
46
florianbegusch
parents: 0
diff changeset
47
florianbegusch
parents: 0
diff changeset
48
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
49 #if $pclassifyfitprior:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
50 --p-classify--fit-prior
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
51 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
52
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
53 #if $pfeatextalternatesign:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
54 --p-feat-ext--alternate-sign
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
55 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
56
4
florianbegusch
parents: 0
diff changeset
57
florianbegusch
parents: 0
diff changeset
58
florianbegusch
parents: 0
diff changeset
59
florianbegusch
parents: 0
diff changeset
60
florianbegusch
parents: 0
diff changeset
61 #if '__sq__' in str($pfeatextanalyzer):
florianbegusch
parents: 0
diff changeset
62 #set $pfeatextanalyzer_temp = $pfeatextanalyzer.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
63 #set $pfeatextanalyzer = $pfeatextanalyzer_temp
florianbegusch
parents: 0
diff changeset
64 #end if
florianbegusch
parents: 0
diff changeset
65
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
66 #if str($pfeatextanalyzer):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
67 --p-feat-ext--analyzer="$pfeatextanalyzer"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
68 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
69
4
florianbegusch
parents: 0
diff changeset
70
florianbegusch
parents: 0
diff changeset
71
florianbegusch
parents: 0
diff changeset
72
florianbegusch
parents: 0
diff changeset
73
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
74 #if $pfeatextbinary:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
75 --p-feat-ext--binary
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
76 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
77
4
florianbegusch
parents: 0
diff changeset
78
florianbegusch
parents: 0
diff changeset
79
florianbegusch
parents: 0
diff changeset
80 #if '__sq__' in str($pfeatextdecodeerror):
florianbegusch
parents: 0
diff changeset
81 #set $pfeatextdecodeerror_temp = $pfeatextdecodeerror.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
82 #set $pfeatextdecodeerror = $pfeatextdecodeerror_temp
florianbegusch
parents: 0
diff changeset
83 #end if
florianbegusch
parents: 0
diff changeset
84
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
85 #if str($pfeatextdecodeerror):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
86 --p-feat-ext--decode-error="$pfeatextdecodeerror"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
87 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
88
4
florianbegusch
parents: 0
diff changeset
89
florianbegusch
parents: 0
diff changeset
90
florianbegusch
parents: 0
diff changeset
91
florianbegusch
parents: 0
diff changeset
92
florianbegusch
parents: 0
diff changeset
93 #if '__sq__' in str($pfeatextencoding):
florianbegusch
parents: 0
diff changeset
94 #set $pfeatextencoding_temp = $pfeatextencoding.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
95 #set $pfeatextencoding = $pfeatextencoding_temp
florianbegusch
parents: 0
diff changeset
96 #end if
florianbegusch
parents: 0
diff changeset
97
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
98 #if str($pfeatextencoding):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
99 --p-feat-ext--encoding="$pfeatextencoding"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
100 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
101
4
florianbegusch
parents: 0
diff changeset
102
florianbegusch
parents: 0
diff changeset
103
florianbegusch
parents: 0
diff changeset
104
florianbegusch
parents: 0
diff changeset
105
florianbegusch
parents: 0
diff changeset
106 #if '__sq__' in str($pfeatextinput):
florianbegusch
parents: 0
diff changeset
107 #set $pfeatextinput_temp = $pfeatextinput.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
108 #set $pfeatextinput = $pfeatextinput_temp
florianbegusch
parents: 0
diff changeset
109 #end if
florianbegusch
parents: 0
diff changeset
110
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
111 #if str($pfeatextinput):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
112 --p-feat-ext--input="$pfeatextinput"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
113 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
114
4
florianbegusch
parents: 0
diff changeset
115
florianbegusch
parents: 0
diff changeset
116
florianbegusch
parents: 0
diff changeset
117
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
118 #if $pnofeatextlowercase:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
119 --p-no-feat-ext--lowercase
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
120 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
121
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
122 #if $pfeatextnfeatures:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
123 --p-feat-ext--n-features=$pfeatextnfeatures
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
124 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
125
4
florianbegusch
parents: 0
diff changeset
126
florianbegusch
parents: 0
diff changeset
127
florianbegusch
parents: 0
diff changeset
128
florianbegusch
parents: 0
diff changeset
129 #if '__sq__' in str($pfeatextngramrange):
florianbegusch
parents: 0
diff changeset
130 #set $pfeatextngramrange_temp = $pfeatextngramrange.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
131 #set $pfeatextngramrange = $pfeatextngramrange_temp
florianbegusch
parents: 0
diff changeset
132 #end if
florianbegusch
parents: 0
diff changeset
133
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
134 #if '__ob__' in str($pfeatextngramrange):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
135 #set $pfeatextngramrange_temp = $pfeatextngramrange.replace('__ob__', '[')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
136 #set $pfeatextngramrange = $pfeatextngramrange_temp
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
137 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
138 #if 'X' in str($pfeatextngramrange):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
139 #set $pfeatextngramrange_temp = $pfeatextngramrange.replace('X', '\\')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
140 #set $pfeatextngramrange = $pfeatextngramrange_temp
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
141 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
142
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
143 #if str($pfeatextngramrange):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
144 --p-feat-ext--ngram-range="$pfeatextngramrange"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
145 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
146
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
147
4
florianbegusch
parents: 0
diff changeset
148
florianbegusch
parents: 0
diff changeset
149
florianbegusch
parents: 0
diff changeset
150
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
151 #if $pfeatextnonnegative:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
152 --p-feat-ext--non-negative
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
153 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
154
4
florianbegusch
parents: 0
diff changeset
155
florianbegusch
parents: 0
diff changeset
156 #if '__sq__' in str($pfeatextnorm):
florianbegusch
parents: 0
diff changeset
157 #set $pfeatextnorm_temp = $pfeatextnorm.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
158 #set $pfeatextnorm = $pfeatextnorm_temp
florianbegusch
parents: 0
diff changeset
159 #end if
florianbegusch
parents: 0
diff changeset
160
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
161 #if str($pfeatextnorm):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
162 --p-feat-ext--norm="$pfeatextnorm"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
163 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
164
4
florianbegusch
parents: 0
diff changeset
165
florianbegusch
parents: 0
diff changeset
166
florianbegusch
parents: 0
diff changeset
167
florianbegusch
parents: 0
diff changeset
168 #if '__sq__' in str($pfeatextpreprocessor):
florianbegusch
parents: 0
diff changeset
169 #set $pfeatextpreprocessor_temp = $pfeatextpreprocessor.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
170 #set $pfeatextpreprocessor = $pfeatextpreprocessor_temp
florianbegusch
parents: 0
diff changeset
171 #end if
florianbegusch
parents: 0
diff changeset
172
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
173 #if str($pfeatextpreprocessor):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
174 --p-feat-ext--preprocessor="$pfeatextpreprocessor"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
175 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
176
4
florianbegusch
parents: 0
diff changeset
177
florianbegusch
parents: 0
diff changeset
178
florianbegusch
parents: 0
diff changeset
179
florianbegusch
parents: 0
diff changeset
180 #if '__sq__' in str($pfeatextstopwords):
florianbegusch
parents: 0
diff changeset
181 #set $pfeatextstopwords_temp = $pfeatextstopwords.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
182 #set $pfeatextstopwords = $pfeatextstopwords_temp
florianbegusch
parents: 0
diff changeset
183 #end if
florianbegusch
parents: 0
diff changeset
184
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
185 #if str($pfeatextstopwords):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
186 --p-feat-ext--stop-words="$pfeatextstopwords"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
187 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
188
4
florianbegusch
parents: 0
diff changeset
189
florianbegusch
parents: 0
diff changeset
190
florianbegusch
parents: 0
diff changeset
191
florianbegusch
parents: 0
diff changeset
192
florianbegusch
parents: 0
diff changeset
193 #if '__sq__' in str($pfeatextstripaccents):
florianbegusch
parents: 0
diff changeset
194 #set $pfeatextstripaccents_temp = $pfeatextstripaccents.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
195 #set $pfeatextstripaccents = $pfeatextstripaccents_temp
florianbegusch
parents: 0
diff changeset
196 #end if
florianbegusch
parents: 0
diff changeset
197
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
198 #if str($pfeatextstripaccents):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
199 --p-feat-ext--strip-accents="$pfeatextstripaccents"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
200 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
201
4
florianbegusch
parents: 0
diff changeset
202
florianbegusch
parents: 0
diff changeset
203
florianbegusch
parents: 0
diff changeset
204
florianbegusch
parents: 0
diff changeset
205
florianbegusch
parents: 0
diff changeset
206
florianbegusch
parents: 0
diff changeset
207 #if '__sq__' in str($pfeatexttokenpattern):
florianbegusch
parents: 0
diff changeset
208 #set $pfeatexttokenpattern_temp = $pfeatexttokenpattern.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
209 #set $pfeatexttokenpattern = $pfeatexttokenpattern_temp
florianbegusch
parents: 0
diff changeset
210 #end if
florianbegusch
parents: 0
diff changeset
211
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
212 #if '__ob__' in str($pfeatexttokenpattern):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
213 #set $pfeatexttokenpattern_temp = $pfeatexttokenpattern.replace('__ob__', '[')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
214 #set $pfeatexttokenpattern = $pfeatexttokenpattern_temp
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
215 #end if
4
florianbegusch
parents: 0
diff changeset
216
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
217 #if 'X' in str($pfeatexttokenpattern):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
218 #set $pfeatexttokenpattern_temp = $pfeatexttokenpattern.replace('X', '\\')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
219 #set $pfeatexttokenpattern = $pfeatexttokenpattern_temp
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
220 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
221
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
222 #if str($pfeatexttokenpattern):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
223 --p-feat-ext--token-pattern="$pfeatexttokenpattern"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
224 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
225
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
226
4
florianbegusch
parents: 0
diff changeset
227
florianbegusch
parents: 0
diff changeset
228
florianbegusch
parents: 0
diff changeset
229
florianbegusch
parents: 0
diff changeset
230 #if '__sq__' in str($pfeatexttokenizer):
florianbegusch
parents: 0
diff changeset
231 #set $pfeatexttokenizer_temp = $pfeatexttokenizer.replace('__sq__', "'")
florianbegusch
parents: 0
diff changeset
232 #set $pfeatexttokenizer = $pfeatexttokenizer_temp
florianbegusch
parents: 0
diff changeset
233 #end if
florianbegusch
parents: 0
diff changeset
234
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
235 #if str($pfeatexttokenizer):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
236 --p-feat-ext--tokenizer="$pfeatexttokenizer"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
237 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
238
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
239 --o-classifier=oclassifier
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
240 ;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
241 cp oclassifier.qza $oclassifier
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
242 ]]></command>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
243 <inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
244 <param format="qza,no_unzip.zip" label="--i-reference-reads: ARTIFACT FeatureData[Sequence] [required]" name="ireferencereads" optional="False" type="data"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
245 <param format="qza,no_unzip.zip" label="--i-class-weight: ARTIFACT FeatureTable[RelativeFrequency] [optional]" name="iclassweight" optional="True" type="data"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
246
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
247 <conditional name="id_to_taxonomy_fp" optional="True">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
248 <param name="selector" type="select" label="Reference taxonomy to query">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
249 <option value="cached">Public databases</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
250 <option value="history">Databases from your history</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
251 </param>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
252 <when value="cached">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
253 <param argument="--taxonomy_fp" label="Reference taxonomy" type="select" optional="True">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
254 <options from_data_table="qiime_taxonomy" />
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
255 </param>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
256 </when>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
257 <when value="history">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
258 <param argument="--taxonomy_fp" type="data" format="qza,no_unzip.zip" label="Reference databases" optional="True" />
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
259 </when>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
260 </conditional>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
261
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
262 <param label="--p-classify--alpha: NUMBER [default: 0.001]" name="pclassifyalpha" optional="True" type="float" value="0.001"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
263 <param label="--p-classify--chunk-size: INTEGER [default: 20000]" name="pclassifychunksize" optional="True" type="integer" value="20000"/>
4
florianbegusch
parents: 0
diff changeset
264 <param label="--p-classify--class-prior: TEXT [default: 'null']" name="pclassifyclassprior" optional="True" type="text" value="null"/>
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
265 <param label="--p-classify--fit-prior: --p-no-classify--fit-prior [default: False]" name="pclassifyfitprior" selected="False" type="boolean"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
266 <param label="--p-feat-ext--alternate-sign: --p-no-feat-ext--alternate-sign [default: False]" name="pfeatextalternatesign" selected="False" type="boolean"/>
4
florianbegusch
parents: 0
diff changeset
267 <param label="--p-feat-ext--analyzer: TEXT [default: 'char_wb']" name="pfeatextanalyzer" optional="True" type="text" value="char_wb"/>
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
268 <param label="--p-feat-ext--binary: --p-no-feat-ext--binary [default: False]" name="pfeatextbinary" selected="False" type="boolean"/>
4
florianbegusch
parents: 0
diff changeset
269 <param label="--p-feat-ext--decode-error: TEXT [default: 'strict']" name="pfeatextdecodeerror" optional="True" type="text" value="strict"/>
florianbegusch
parents: 0
diff changeset
270 <param label="--p-feat-ext--encoding: TEXT [default: 'utf-8']" name="pfeatextencoding" optional="True" type="text" value="utf-8"/>
florianbegusch
parents: 0
diff changeset
271 <param label="--p-feat-ext--input: TEXT [default: 'content']" name="pfeatextinput" optional="True" type="text" value="content"/>
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
272 <param label="--p-no-feat-ext--lowercase: [default: False]" name="pnofeatextlowercase" selected="False" type="boolean"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
273 <param label="--p-feat-ext--n-features: INTEGER [default: 8192]" name="pfeatextnfeatures" optional="True" type="integer" value="8192"/>
4
florianbegusch
parents: 0
diff changeset
274 <param label="--p-feat-ext--ngram-range: TEXT [default: '[7, 7]']" name="pfeatextngramrange" optional="True" type="text" value="[7, 7]"/>
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
275 <param label="--p-feat-ext--non-negative: --p-no-feat-ext--non-negative [default: False]" name="pfeatextnonnegative" selected="False" type="boolean"/>
4
florianbegusch
parents: 0
diff changeset
276 <param label="--p-feat-ext--norm: TEXT [default: 'l2']" name="pfeatextnorm" optional="True" type="text" value="l2"/>
florianbegusch
parents: 0
diff changeset
277 <param label="--p-feat-ext--preprocessor: TEXT [default: 'null']" name="pfeatextpreprocessor" optional="True" type="text" value="null"/>
florianbegusch
parents: 0
diff changeset
278 <param label="--p-feat-ext--stop-words: TEXT [default: 'null']" name="pfeatextstopwords" optional="True" type="text" value="null"/>
florianbegusch
parents: 0
diff changeset
279 <param label="--p-feat-ext--strip-accents: TEXT [default: 'null']" name="pfeatextstripaccents" optional="True" type="text" value="null"/>
florianbegusch
parents: 0
diff changeset
280 <param label="--p-feat-ext--token-pattern: TEXT [default: '(?u)\\b\\w\\w+\\b']" name="pfeatexttokenpattern" optional="True" type="text" value="(?u)\\b\\w\\w+\\b"/>
florianbegusch
parents: 0
diff changeset
281 <param label="--p-feat-ext--tokenizer: TEXT [default: 'null']" name="pfeatexttokenizer" optional="True" type="text" value="null"/>
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
282 </inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
283 <outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
284 <data format="qza" label="${tool.name} on ${on_string}: classifier.qza" name="oclassifier"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
285 </outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
286 <help><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
287 Train the naive_bayes classifier
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
288 ################################
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
289
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
290 Create a scikit-learn naive_bayes classifier for reads
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
291
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
292 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
293 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
294 reference_reads : FeatureData[Sequence]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
295 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
296
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
297 reference_taxonomy : FeatureData[Taxonomy]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
298 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
299
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
300 class_weight : FeatureTable[RelativeFrequency], optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
301 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
302
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
303 classify__alpha : Float, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
304 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
305
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
306 classify__chunk_size : Int, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
307 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
308
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
309 classify__class_prior : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
310 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
311
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
312 classify__fit_prior : Bool, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
313 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
314
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
315 feat_ext__alternate_sign : Bool, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
316 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
317
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
318 feat_ext__analyzer : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
319 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
320
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
321 feat_ext__binary : Bool, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
322 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
323
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
324 feat_ext__decode_error : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
325 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
326
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
327 feat_ext__encoding : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
328 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
329
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
330 feat_ext__input : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
331 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
332
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
333 feat_ext__lowercase : Bool, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
334 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
335
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
336 feat_ext__n_features : Int, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
337 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
338
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
339 feat_ext__ngram_range : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
340 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
341
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
342 feat_ext__non_negative : Bool, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
343 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
344
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
345 feat_ext__norm : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
346 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
347
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
348 feat_ext__preprocessor : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
349 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
350
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
351 feat_ext__stop_words : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
352 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
353
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
354 feat_ext__strip_accents : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
355 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
356
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
357 feat_ext__token_pattern : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
358 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
359
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
360 feat_ext__tokenizer : Str, optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
361 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
362
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
363 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
364 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
365 classifier : TaxonomicClassifier
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
366 \
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
367
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
368 ]]></help>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
369 <macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
370 <import>qiime_citation.xml</import>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
371 </macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
372 <expand macro="qiime_citation"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
373 </tool>