|
5
|
1 <tool id="evaluation" name="evaluation" version="1.0.0">
|
|
|
2 <description>evaluate results of classifiers prediction</description>
|
|
|
3 <command interpreter="Rscript">
|
|
|
4 evaluation.R $config > ${output1}
|
|
|
5 </command>
|
|
|
6
|
|
|
7 <inputs>
|
|
|
8 <param name="genotype" type="data"
|
|
|
9 label="genotype data"
|
|
|
10 />
|
|
|
11
|
|
|
12 <param name="prediction" type="data"
|
|
|
13 label="results of prediction"
|
|
|
14 />
|
|
|
15
|
|
|
16 <param name="phenotype" type="data"
|
|
|
17 label="phenotype file"
|
|
|
18 />
|
|
|
19
|
|
|
20 <param name="r2" type="integer" value="1"
|
|
|
21 label="compute r-squared distance" help=" whether or not to compute the r-squared distance. 1 means the tool will compute it, any other argument means it will not be computed "
|
|
|
22 />
|
|
|
23
|
|
|
24 <param name="cor" type="integer" value="1"
|
|
|
25 label="compute correlation" help=" whether or not to compute the correlation between predictions and ture values. 1 means the tool will compute it, any other argument means it will not be computed "
|
|
|
26 />
|
|
|
27
|
|
|
28 <param name="folds" type="data"
|
|
|
29 label="folds" help=" path to a folds file containing folds indexes in a R list called /folds/ such as produced by the folds tools in OGHMA suite. "
|
|
|
30 />
|
|
|
31
|
|
|
32 <param name="evaluationPath" type="text"
|
|
|
33 label="path to the output folds" help= " a path to a FOLDER where the results (depending on the chosen mode) will be writen"
|
|
|
34 />
|
|
|
35 <param name="filePrefix" type="text" value="evaluated"
|
|
|
36 label="prefix of output files" help= "prefix to give to all files generate by evaluation"
|
|
|
37 />
|
|
|
38 </inputs>
|
|
|
39
|
|
|
40
|
|
|
41 <configfiles>
|
|
|
42 <configfile name="config">
|
|
|
43 ## Desc: this file is sourced in encode wrapper script
|
|
|
44 ## as means to pass all galaxy params to R
|
|
|
45 "${genotype}" -> genotype
|
|
|
46 "${phenotype}" -> phenotype
|
|
|
47 "${prediction}" -> prediction
|
|
|
48 "${r2}" -> doR2
|
|
|
49 "${cor}" -> doCor
|
|
|
50 "${folds}" -> folds
|
|
|
51 "${evaluationPath}" -> out
|
|
|
52 "${filePrefix}" -> name
|
|
|
53
|
|
|
54 </configfile>
|
|
|
55 </configfiles>
|
|
|
56
|
|
|
57 <outputs>
|
|
|
58 <data format="tabular" name = "output1" label="classifier prediction" />
|
|
|
59 </outputs>
|
|
|
60
|
|
|
61 <help>
|
|
|
62 evaluate the predictions of classifiers. For now correlation between true valeus and predictions, and r-squared distance are implemeted
|
|
|
63 </help>
|
|
|
64 </tool> |