|
80
|
1 <tool id="lasso" name="LASSO" version="1.0.0">
|
|
|
2 <description>predict phenotype using a LASSO approach</description>
|
|
|
3 <command interpreter="Rscript">
|
|
|
4 lasso.R $config > ${output1}
|
|
|
5 </command>
|
|
|
6
|
|
|
7 <inputs>
|
|
|
8 <param name="genotype" type="data"
|
|
|
9 label="genotype data" help="a tabular datatype containing the encoded genotypes"
|
|
|
10 />
|
|
|
11
|
|
|
12 <param name="phenotype" type="data"
|
|
|
13 label="phenotype data" help=" a tabular datatype containing the phenotypes "
|
|
|
14 />
|
|
|
15
|
|
|
16 <param name="eval" type="integer" value="0"
|
|
|
17 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 "
|
|
|
18 />
|
|
|
19
|
|
|
20 <param name="alpha" type="float" value="-1"
|
|
|
21 label="alpha" help="the alpha parameter of LASSO. -1 means the parameter must be optimized by the tool "
|
|
|
22 />
|
|
|
23
|
|
|
24 <param name="folds" type="data" optional="true"
|
|
|
25 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. "
|
|
|
26 />
|
|
|
27
|
|
|
28 <!-- <param name="model" type="text"
|
|
|
29 label="path to the output folds" help= " a path to a file where the results (depending on the chosen mode) will be writen"
|
|
|
30 /> -->
|
|
|
31 </inputs>
|
|
|
32
|
|
|
33 <configfiles>
|
|
|
34 <configfile name="config">
|
|
|
35 ## Desc: this file is sourced in encode wrapper script
|
|
|
36 ## as means to pass all galaxy params to R
|
|
|
37 "${genotype}" -> genotype
|
|
|
38 "${phenotype}" -> phenotype
|
|
|
39 "${eval}" -> doEvaluation
|
|
|
40 "${folds}" -> folds
|
|
|
41 "${output1}" -> out
|
|
|
42 "${alpha}" -> alpha
|
|
|
43
|
|
|
44 </configfile>
|
|
|
45 </configfiles>
|
|
|
46
|
|
|
47 <outputs>
|
|
|
48 <data format="tabular" name = "output1" label="LASSO output" />
|
|
|
49 </outputs>
|
|
|
50
|
|
|
51 <help>
|
|
|
52 make the classification using the LASSO method
|
|
|
53 </help>
|
|
|
54 </tool> |