annotate qiime2-2020.8/qiime_sample-classifier_scatterplot.xml @ 21:a98d7ab297f1 draft

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