0
|
1 <?xml version="1.0" ?>
|
|
2 <tool id="qiime_sample-classifier_scatterplot" name="qiime sample-classifier scatterplot" version="2019.4">
|
|
3 <description> - Make 2D scatterplot and linear regression of regressor predictions.</description>
|
|
4 <requirements>
|
|
5 <requirement type="package" version="2019.4">qiime2</requirement>
|
|
6 </requirements>
|
|
7 <command><![CDATA[
|
|
8 qiime sample-classifier scatterplot
|
|
9
|
|
10 --i-predictions=$ipredictions
|
|
11 --m-truth-column="$mtruthcolumn"
|
|
12
|
5
|
13 --m-truth-file="$mtruthfile"
|
0
|
14
|
|
15 #if str($pmissingsamples) != 'None':
|
|
16 --p-missing-samples=$pmissingsamples
|
|
17 #end if
|
|
18
|
|
19 --o-visualization=ovisualization
|
|
20 ;
|
|
21 qiime tools export --input-path ovisualization.qzv --output-path out && mkdir -p '$ovisualization.files_path'
|
|
22 && cp -r out/* '$ovisualization.files_path'
|
|
23 && mv '$ovisualization.files_path/index.html' '$ovisualization';
|
|
24 ]]></command>
|
|
25 <inputs>
|
|
26 <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"/>
|
|
27 <param label="--m-truth-column: COLUMN MetadataColumn[Numeric] Metadata column (true values) to plot on x axis. [required]" name="mtruthcolumn" optional="False" type="text"/>
|
|
28 <param label="--p-missing-samples: " name="pmissingsamples" optional="True" type="select">
|
|
29 <option selected="True" value="None">Selection is Optional</option>
|
|
30 <option value="error">error</option>
|
|
31 <option value="ignore">ignore</option>
|
|
32 </param>
|
|
33
|
5
|
34 <param label="--m-truth-file: Metadata file or artifact viewable as metadata." name="mtruthfile" type="data" format="tabular,qza,no_unzip.zip" />
|
0
|
35
|
|
36 </inputs>
|
|
37 <outputs>
|
|
38 <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/>
|
|
39 </outputs>
|
|
40 <help><![CDATA[
|
|
41 Make 2D scatterplot and linear regression of regressor predictions.
|
|
42 ###################################################################
|
|
43
|
|
44 Make a 2D scatterplot and linear regression of predicted vs. true values
|
|
45 for a set of samples predicted using a sample regressor.
|
|
46
|
|
47 Parameters
|
|
48 ----------
|
|
49 predictions : SampleData[RegressorPredictions]
|
|
50 Predicted values to plot on y axis. Must be predictions of numeric data
|
|
51 produced by a sample regressor.
|
|
52 truth : MetadataColumn[Numeric]
|
|
53 Metadata column (true values) to plot on x axis.
|
|
54 missing_samples : Str % Choices('error', 'ignore'), optional
|
|
55 How to handle missing samples in metadata. "error" will fail if missing
|
|
56 samples are detected. "ignore" will cause the feature table and
|
|
57 metadata to be filtered, so that only samples found in both files are
|
|
58 retained.
|
|
59
|
|
60 Returns
|
|
61 -------
|
|
62 visualization : Visualization
|
|
63 ]]></help>
|
|
64 <macros>
|
|
65 <import>qiime_citation.xml</import>
|
|
66 </macros>
|
|
67 <expand macro="qiime_citation"/>
|
|
68 </tool>
|