annotate qiime2/qiime_feature-classifier_fit-classifier-sklearn.xml @ 29:3ba9833030c1 draft

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