20
|
1 <?xml version="1.0" ?>
|
|
2 <tool id="qiime_feature-classifier_fit-classifier-sklearn" name="qiime feature-classifier fit-classifier-sklearn"
|
|
3 version="2020.8">
|
|
4 <description>Train an almost arbitrary scikit-learn classifier</description>
|
|
5 <requirements>
|
|
6 <requirement type="package" version="2020.8">qiime2</requirement>
|
|
7 </requirements>
|
|
8 <command><![CDATA[
|
|
9 qiime feature-classifier fit-classifier-sklearn
|
|
10
|
|
11 --i-reference-reads=$ireferencereads
|
|
12
|
|
13 --i-reference-taxonomy=$ireferencetaxonomy
|
|
14
|
|
15 #if str($iclassweight) != 'None':
|
|
16 --i-class-weight=$iclassweight
|
|
17 #end if
|
|
18
|
|
19 --p-classifier-specification=$pclassifierspecification
|
|
20
|
|
21 --o-classifier=oclassifier
|
|
22
|
|
23 #if str($examples) != 'None':
|
|
24 --examples=$examples
|
|
25 #end if
|
|
26
|
|
27 ;
|
|
28 cp oclassifier.qza $oclassifier
|
|
29
|
|
30 ]]></command>
|
|
31 <inputs>
|
|
32 <param format="qza,no_unzip.zip" label="--i-reference-reads: ARTIFACT FeatureData[Sequence] [required]" name="ireferencereads" optional="False" type="data" />
|
|
33 <param format="qza,no_unzip.zip" label="--i-reference-taxonomy: ARTIFACT FeatureData[Taxonomy] [required]" name="ireferencetaxonomy" optional="False" type="data" />
|
|
34 <param format="qza,no_unzip.zip" label="--i-class-weight: ARTIFACT FeatureTable[RelativeFrequency] [optional]" name="iclassweight" optional="False" type="data" />
|
|
35 <param label="--p-classifier-specification: TEXT [required]" name="pclassifierspecification" optional="False" type="text" />
|
|
36 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
|
|
37
|
|
38 </inputs>
|
|
39
|
|
40 <outputs>
|
|
41 <data format="qza" label="${tool.name} on ${on_string}: classifier.qza" name="oclassifier" />
|
|
42
|
|
43 </outputs>
|
|
44
|
|
45 <help><![CDATA[
|
|
46 Train an almost arbitrary scikit-learn classifier
|
|
47 ###############################################################
|
|
48
|
|
49 Train a scikit-learn classifier to classify reads.
|
|
50
|
|
51 Parameters
|
|
52 ----------
|
|
53 reference_reads : FeatureData[Sequence]
|
|
54 reference_taxonomy : FeatureData[Taxonomy]
|
|
55 classifier_specification : Str
|
|
56 class_weight : FeatureTable[RelativeFrequency], optional
|
|
57
|
|
58 Returns
|
|
59 -------
|
|
60 classifier : TaxonomicClassifier
|
|
61 ]]></help>
|
|
62 <macros>
|
|
63 <import>qiime_citation.xml</import>
|
|
64 </macros>
|
|
65 <expand macro="qiime_citation"/>
|
|
66 </tool> |