23
|
1 <tool id="prediction" name="prediction" version="1.0.0">
|
|
2 <description>use machine learning model to predict phenotype from genotype</description>
|
|
3 <command interpreter="Rscript">
|
|
4 prediction.R $config > ${output1}
|
|
5 </command>
|
|
6
|
|
7 <inputs>
|
|
8 <param name="genotype" type="data"
|
|
9 label="genotype data" help="genotype must be a .rda file
|
|
10 containing a R dataframe/matrix called /encoded/ "
|
|
11 />
|
|
12
|
|
13 <param name="model" type="data"
|
|
14 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/"
|
|
15 />
|
|
16
|
|
17 <!-- deprecated
|
|
18 <param name="name" type="text"
|
|
19 label="names" help=" prefixe given to all results of the evaluation in the output folder (see -o option) to distinguish them"
|
|
20 />
|
|
21
|
|
22
|
|
23 <param name="outputPath" type="data"
|
|
24 label="path to the output folds" help= " a path to a FOLDER where the results will be writen"
|
|
25 /> -->
|
|
26 </inputs>
|
|
27
|
|
28 <configfiles>
|
|
29 <configfile name="config">
|
|
30 ## Desc: this file is sourced in encode wrapper script
|
|
31 ## as means to pass all galaxy params to R
|
|
32 "${genotype}" -> genotype
|
|
33 "${model}" -> model
|
|
34 "${output1}" -> out
|
|
35
|
|
36 </configfile>
|
|
37 </configfiles>
|
|
38
|
|
39 <outputs>
|
|
40 <data format="tabular" name = "output1" label="classifier prediction" />
|
|
41 </outputs>
|
|
42
|
|
43 <help>
|
|
44 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
|
|
45 </help>
|
|
46 </tool> |