comparison aggregation.xml @ 51:a3d002f9e4a2 draft

Uploaded
author nicolas
date Wed, 26 Oct 2016 17:58:24 -0400
parents 7b9b78352811
children
comparison
equal deleted inserted replaced
50:271484f95ede 51:a3d002f9e4a2
1 <tool id="aggreg" name="aggregation" version="1.0.0">
2 <description>predict phenotype by combining multiple classifiers</description>
3 <command interpreter="Rscript">
4 aggregation.R $config &gt; ${output1}
5 </command>
6
7 <inputs>
8 <param name="lassoPred" type="data" optional="true"
9 label="lasso prediction" help="path to rds containing LASSO prediction"
10 />
11
12 <param name="rfPred" type="data" optional="true"
13 label="rf prediction" help="path to rds containing Random Forest prediction"
14 />
15
16 <param name="rrBLUPPred" type="data" optional="true"
17 label="rrBLUP prediction" help="path to rds containing rrBLUP prediction"
18 />
19
20 <param name="svmPred" type="data" optional="true"
21 label="SVM prediction" help="path to rds containing SVM prediction"
22 />
23
24 <param name="phenotype" type="data"
25 label="phenotype data" help=" a tabular datatype containing the phenotypes "
26 />
27
28 <param name="eval" type="integer" value="0"
29 label="do evaluation" help=" whether to produce a model or to use folds to evaluate the tool. 1 means the tool will be evaluate (and a folds argument is required) any other value produces a model "
30 />
31
32 <param name="folds" type="data" optional="true"
33 label="folds" help=" OPTIONAL ARGUMENT path to a folds file containing folds indexes in a R list called /folds/ such as produced by the folds tools in OGHMA suite. "
34 />
35
36 <param name="model" type="data" optional="true"
37 label="model" help= " a path to a file where the results (depending on the chosen mode) will be writen"
38 />
39 <param name="out" type="text"
40 label="output path" help= " a path to a rds file"
41 />
42 <param name="method" type="text" value="svm"
43 label="aggregation method" help= "choose among geneticMean, rrBLUP, lasso, rf or svm"
44 />
45 <param name="kernel" type="text" value="linear"
46 label="kernel for SVM" help= "choose among linear, polynomial, radial, sigmoid"
47 />
48
49 </inputs>
50
51 <configfiles>
52 <configfile name="config">
53 ## Desc: this file is sourced in encode wrapper script
54 ## as means to pass all galaxy params to R
55 "${lassoPred}" -> lassoPred
56 "${rfPred}" -> rfPred
57 "${rrBLUPPred}" -> rrBLUPPred
58 "${svmPred}" -> svmPred
59 "${phenotype}" -> phenotype
60 "${model}" -> model
61 "${out}" -> out
62 "${eval}" -> evaluation
63 "${folds}" -> folds
64 "${method}" -> method
65 "${kernel}" -> kernel
66 "${eval}" -> doEvaluation
67
68 </configfile>
69 </configfiles>
70
71 <outputs>
72 <data format="tabular" name = "output1" label="aggregation output" />
73 </outputs>
74
75 <help>
76
77 </help>
78 </tool>