annotate qiime2-2020.8/qiime_sample-classifier_predict-classification.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_sample-classifier_predict-classification" name="qiime sample-classifier predict-classification"
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Use trained classifier to predict target values for new samples.</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 sample-classifier predict-classification
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
10
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
11 --i-table=$itable
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
12
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
13 --i-sample-estimator=$isampleestimator
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 --o-predictions=opredictions
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
18
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
19 --o-probabilities=oprobabilities
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
20
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
21 #if str($examples) != 'None':
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
22 --examples=$examples
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
23 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
24
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
25 ;
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
26 cp oprobabilities.qza $oprobabilities
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
27
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
28 ]]></command>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
29 <inputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
30 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] Feature table containing all features that should be used for target prediction. [required]" name="itable" optional="False" type="data" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
31 <param format="qza,no_unzip.zip" label="--i-sample-estimator: ARTIFACT SampleEstimator[Classifier] Sample classifier trained with fit_classifier. [required]" name="isampleestimator" optional="False" type="data" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
32 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
33
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
34 </inputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
35
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
36 <outputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
37 <data format="qza" label="${tool.name} on ${on_string}: predictions.qza" name="opredictions" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
38 <data format="qza" label="${tool.name} on ${on_string}: probabilities.qza" name="oprobabilities" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
39
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
40 </outputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
41
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
42 <help><![CDATA[
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
43 Use trained classifier to predict target values for new samples.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
44 ###############################################################
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
45
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
46 Use trained estimator to predict target values for new samples. These will
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
47 typically be unseen samples, e.g., test data (derived manually or from
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
48 split_table) or samples with unknown values, but can theoretically be any
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
49 samples present in a feature table that contain overlapping features with
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
50 the feature table used to train the estimator.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
51
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
52 Parameters
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
53 ----------
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
54 table : FeatureTable[Frequency]
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
55 Feature table containing all features that should be used for target
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
56 prediction.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
57 sample_estimator : SampleEstimator[Classifier]
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
58 Sample classifier trained with fit_classifier.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
59 n_jobs : Int, optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
60 Number of jobs to run in parallel.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
61
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
62 Returns
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
63 -------
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
64 predictions : SampleData[ClassifierPredictions]
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
65 Predicted target values for each input sample.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
66 probabilities : SampleData[Probabilities]
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
67 Predicted class probabilities for each input sample.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
68 ]]></help>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
69 <macros>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
70 <import>qiime_citation.xml</import>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
71 </macros>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
72 <expand macro="qiime_citation"/>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
73 </tool>