Mercurial > repos > nicolas > oghma
changeset 84:4eea5c2313d2 draft
Uploaded
author | nicolas |
---|---|
date | Fri, 28 Oct 2016 08:48:06 -0400 |
parents | eab9bce19e04 |
children | 94aa63659613 |
files | prediction.xml |
diffstat | 1 files changed, 46 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/prediction.xml Fri Oct 28 08:48:06 2016 -0400 @@ -0,0 +1,46 @@ +<tool id="prediction" name="prediction" version="1.0.0"> + <description>use machine learning model to predict phenotype from genotype</description> + <command interpreter="Rscript"> + prediction.R $config > ${output1} + </command> + + <inputs> + <param name="genotype" type="data" + label="genotype data" help="genotype must be a .rda file + containing a R dataframe/matrix called /encoded/ " + /> + + <param name="model" type="data" + label="classifier model" help="model created by one of the classifier tool of the OGHMA suite. Represented as a .rda file, containing a dataframe called /model/" + /> + + <!-- deprecated + <param name="name" type="text" + label="names" help=" prefixe given to all results of the evaluation in the output folder (see -o option) to distinguish them" + /> + + + <param name="outputPath" type="data" + label="path to the output folds" help= " a path to a FOLDER where the results will be writen" + /> --> + </inputs> + + <configfiles> + <configfile name="config"> +## Desc: this file is sourced in encode wrapper script +## as means to pass all galaxy params to R +"${genotype}" -> genotype +"${model}" -> model +"${output1}" -> out + + </configfile> +</configfiles> + +<outputs> + <data format="tabular" name = "output1" label="classifier prediction" /> +</outputs> + + <help> + Use model designed by any clasifier tool from the OGHMA suite to predict the phenotype of a dataset provided as input. results are stored in a folder under a .rda file + </help> +</tool> \ No newline at end of file