Mercurial > repos > nicolas > oghma
changeset 103:e7115e44d8d8 draft default tip
Uploaded
author | nicolas |
---|---|
date | Mon, 31 Oct 2016 07:20:49 -0400 |
parents | 7482def43360 |
children | |
files | aggregation.xml |
diffstat | 1 files changed, 64 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aggregation.xml Mon Oct 31 07:20:49 2016 -0400 @@ -0,0 +1,64 @@ +<tool id="aggreg" name="aggregation" version="1.0.0"> + <description>predict phenotype by combining multiple classifiers</description> + <command interpreter="Rscript"> + aggregation.R $config > ${output1} + </command> + + <inputs> + <param name="lassoPred" type="data" optional="true" + label="lasso prediction" help="path to rds containing LASSO prediction" + /> + + <param name="rfPred" type="data" optional="true" + label="rf prediction" help="path to rds containing Random Forest prediction" + /> + + <param name="rrBLUPPred" type="data" optional="true" + label="rrBLUP prediction" help="path to rds containing rrBLUP prediction" + /> + + <param name="svmPred" type="data" optional="true" + label="SVM prediction" help="path to rds containing SVM prediction" + /> + + <param name="phenotype" type="data" optional="true" + label="phenotype data" help=" a tabular datatype containing the phenotypes " + /> + + <param name="model" type="data" optional="true" + label="model" help= " a path to a file where the results (depending on the chosen mode) will be writen" + /> + <param name="method" type="text" value="svm" + label="aggregation method" help= "choose among geneticMean, dt, lasso, rf or svm" + /> + <param name="kernel" type="text" value="linear" + label="kernel for SVM" help= "choose among linear, polynomial, radial, sigmoid" + /> + + </inputs> + + <configfiles> + <configfile name="config"> +## Desc: this file is sourced in encode wrapper script +## as means to pass all galaxy params to R +"${lassoPred}" -> lassoPred +"${rfPred}" -> rfPred +"${rrBLUPPred}" -> rrBLUPPred +"${svmPred}" -> svmPred +"${phenotype}" -> phenotype +"${model}" -> model +"${output1}" -> out +"${method}" -> method +"${kernel}" -> kernel + + </configfile> +</configfiles> + +<outputs> + <data format="tabular" name = "output1" label="aggregation output" /> +</outputs> + + <help> + + </help> + </tool> \ No newline at end of file