annotate qiime2-2020.8/qiime_sample-classifier_scatterplot.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_scatterplot" name="qiime sample-classifier scatterplot"
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Make 2D scatterplot and linear regression of regressor predictions.</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 scatterplot
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
10
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
11 --i-predictions=$ipredictions
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
12
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
13 #if str($mtruthfile) != 'None':
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
14 --m-truth-file=$mtruthfile
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
15 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
16
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
17 #if '__ob__' in str($mtruthcolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
18 #set $mtruthcolumn_temp = $mtruthcolumn.replace('__ob__', '[')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
19 #set $mtruthcolumn = $mtruthcolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
20 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
21 #if '__cb__' in str($mtruthcolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
22 #set $mtruthcolumn_temp = $mtruthcolumn.replace('__cb__', ']')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
23 #set $mtruthcolumn = $mtruthcolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
24 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
25 #if 'X' in str($mtruthcolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
26 #set $mtruthcolumn_temp = $mtruthcolumn.replace('X', '\\')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
27 #set $mtruthcolumn = $mtruthcolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
28 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
29 #if '__sq__' in str($mtruthcolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
30 #set $mtruthcolumn_temp = $mtruthcolumn.replace('__sq__', "'")
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
31 #set $mtruthcolumn = $mtruthcolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
32 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
33 #if '__db__' in str($mtruthcolumn):
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
34 #set $mtruthcolumn_temp = $mtruthcolumn.replace('__db__', '"')
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
35 #set $mtruthcolumn = $mtruthcolumn_temp
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
36 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
37
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
38 --m-truth-column=$mtruthcolumn
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
39
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
40
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
41 #if str($pmissingsamples) != 'None':
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
42 --p-missing-samples=$pmissingsamples
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
43 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
44
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
45 --o-visualization=ovisualization
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
46
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
47 #if str($examples) != 'None':
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
48 --examples=$examples
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
49 #end if
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
50
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
51 ;
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
52 cp ofeatureimportance.qza $ofeatureimportance
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
53
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
54 ;
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
55 qiime tools export ovisualization.qzv --output-path out
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
56 && mkdir -p '$ovisualization.files_path'
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
57 && cp -r out/* '$ovisualization.files_path'
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
58 && mv '$ovisualization.files_path/index.html' '$ovisualization'
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
59
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
60 ]]></command>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
61 <inputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
62 <param format="qza,no_unzip.zip" label="--i-predictions: ARTIFACT SampleData[RegressorPredictions] Predicted values to plot on y axis. Must be predictions of numeric data produced by a sample regressor. [required]" name="ipredictions" optional="False" type="data" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
63 <param label="--m-truth-file: METADATA" name="mtruthfile" optional="False" type="data" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
64 <param label="--m-truth-column: COLUMN MetadataColumn[Numeric] Metadata column (true values) to plot on x axis. [required]" name="mtruthcolumn" optional="False" type="text" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
65 <param label="--p-missing-samples: " name="pmissingsamples" optional="True" type="select">
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
66 <option selected="True" value="None">Selection is Optional</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
67 <option value="error">error</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
68 <option value="ignore">ignore</option>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
69 </param>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
70 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
71
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
72 </inputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
73
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
74 <outputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
75 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
76
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
77 </outputs>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
78
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
79 <help><![CDATA[
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
80 Make 2D scatterplot and linear regression of regressor predictions.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
81 ###############################################################
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
82
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
83 Make a 2D scatterplot and linear regression of predicted vs. true values
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
84 for a set of samples predicted using a sample regressor.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
85
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
86 Parameters
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
87 ----------
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
88 predictions : SampleData[RegressorPredictions]
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
89 Predicted values to plot on y axis. Must be predictions of numeric data
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
90 produced by a sample regressor.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
91 truth : MetadataColumn[Numeric]
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
92 Metadata column (true values) to plot on x axis.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
93 missing_samples : Str % Choices('error', 'ignore'), optional
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
94 How to handle missing samples in metadata. "error" will fail if missing
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
95 samples are detected. "ignore" will cause the feature table and
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
96 metadata to be filtered, so that only samples found in both files are
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
97 retained.
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
98
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
99 Returns
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
100 -------
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
101 visualization : Visualization
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
102 ]]></help>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
103 <macros>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
104 <import>qiime_citation.xml</import>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
105 </macros>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
106 <expand macro="qiime_citation"/>
5c352d975ef7 Uploaded
florianbegusch
parents:
diff changeset
107 </tool>