annotate qiime2-2020.8/qiime_feature-classifier_classify-sklearn.xml @ 0:5c352d975ef7 draft

Uploaded
author florianbegusch
date Thu, 03 Sep 2020 09:33:04 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_feature-classifier_classify-sklearn" name="qiime feature-classifier classify-sklearn"
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Pre-fitted sklearn-based taxonomy classifier</description>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
5 <requirements>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
6 <requirement type="package" version="2020.8">qiime2</requirement>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
7 </requirements>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
8 <command><![CDATA[
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
9 qiime feature-classifier classify-sklearn
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
10
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
11 --i-reads=$ireads
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
12
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
13 --i-classifier=$iclassifier
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
14
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
15 --p-n-jobs=$pnjobs
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
16
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
17 #if str($pconfidence) != 'None':
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
18 --p-confidence=$pconfidence
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
19 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
20
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
21 #if str($preadorientation) != 'None':
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
22 --p-read-orientation=$preadorientation
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
23 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
24
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
25 --o-classification=oclassification
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
26
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
27 #if str($examples) != 'None':
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
28 --examples=$examples
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
29 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
30
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
31 ;
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
32 cp oclassification.qza $oclassification
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
33
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
34 ]]></command>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
35 <inputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
36 <param format="qza,no_unzip.zip" label="--i-reads: ARTIFACT FeatureData[Sequence] The feature data to be classified. [required]" name="ireads" optional="False" type="data" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
37 <param format="qza,no_unzip.zip" label="--i-classifier: ARTIFACT TaxonomicClassifier The taxonomic classifier for classifying the reads. [required]" name="iclassifier" optional="False" type="data" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
38 <param label="--p-confidence: " name="pconfidence" optional="True" type="select">
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
39 <option selected="True" value="None">Selection is Optional</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
40 <option value="Float % Range(0">Float % Range(0</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
41 <option value="1">1</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
42 <option value="inclusive_end=True">inclusive_end=True</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
43 </param>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
44 <param label="--p-read-orientation: " name="preadorientation" optional="True" type="select">
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
45 <option selected="True" value="None">Selection is Optional</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
46 <option value="same">same</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
47 <option value="reverse-complement">reverse-complement</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
48 <option value="auto">auto</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
49 </param>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
50 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
51
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
52 </inputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
53
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
54 <outputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
55 <data format="qza" label="${tool.name} on ${on_string}: classification.qza" name="oclassification" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
56
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
57 </outputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
58
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
59 <help><![CDATA[
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
60 Pre-fitted sklearn-based taxonomy classifier
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
61 ###############################################################
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
62
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
63 Classify reads by taxon using a fitted classifier.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
64
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
65 Parameters
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
66 ----------
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
67 reads : FeatureData[Sequence]
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
68 The feature data to be classified.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
69 classifier : TaxonomicClassifier
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
70 The taxonomic classifier for classifying the reads.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
71 reads_per_batch : Int % Range(0, None), optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
72 Number of reads to process in each batch. If "auto", this parameter is
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
73 autoscaled to min( number of query sequences / n_jobs, 20000).
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
74 n_jobs : Int, optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
75 The maximum number of concurrently worker processes. If -1 all CPUs are
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
76 used. If 1 is given, no parallel computing code is used at all, which
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
77 is useful for debugging. For n_jobs below -1, (n_cpus + 1 + n_jobs) are
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
78 used. Thus for n_jobs = -2, all CPUs but one are used.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
79 pre_dispatch : Str, optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
80 "all" or expression, as in "3*n_jobs". The number of batches (of tasks)
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
81 to be pre-dispatched.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
82 confidence : Float % Range(0, 1, inclusive_end=True) | Str % Choices('disable'), optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
83 Confidence threshold for limiting taxonomic depth. Set to "disable" to
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
84 disable confidence calculation, or 0 to calculate confidence but not
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
85 apply it to limit the taxonomic depth of the assignments.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
86 read_orientation : Str % Choices('same', 'reverse-complement', 'auto'), optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
87 Direction of reads with respect to reference sequences. same will cause
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
88 reads to be classified unchanged; reverse-complement will cause reads
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
89 to be reversed and complemented prior to classification. "auto" will
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
90 autodetect orientation based on the confidence estimates for the first
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
91 100 reads.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
92
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
93 Returns
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
94 -------
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
95 classification : FeatureData[Taxonomy]
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
96 ]]></help>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
97 <macros>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
98 <import>qiime_citation.xml</import>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
99 </macros>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
100 <expand macro="qiime_citation"/>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
101 </tool>