|
7
|
1 <tool id="folds" name="folds" version="1.0.0">
|
|
|
2 <description>create folds for classifiers evaluation through cross-validation</description>
|
|
|
3 <command interpreter="Rscript">
|
|
|
4 folds.R $config > ${output1}
|
|
|
5 </command>
|
|
|
6
|
|
|
7 <inputs>
|
|
|
8 <param name="genotype" type="data"
|
|
|
9 label="encoded data" help="encoded must be a .rds file"
|
|
|
10 />
|
|
|
11
|
|
|
12 <param name="n" type="integer" value ="7"
|
|
34
|
13 label="number of folds" help=" must be an integer. You may want its value be at least 5"
|
|
7
|
14 />
|
|
|
15
|
|
|
16 <param name="foldsFile" type="text"
|
|
34
|
17 label="path to the output file" help= " a valid path is expected "
|
|
7
|
18 />
|
|
|
19 </inputs>
|
|
|
20
|
|
|
21 <configfiles>
|
|
|
22 <configfile name="config">
|
|
|
23 ## Desc: this file is sourced in encode wrapper script
|
|
|
24 ## as means to pass all galaxy params to R
|
|
|
25 "${genotype}" -> genotype
|
|
|
26 "${n}" -> n
|
|
|
27 "${foldsFile}" -> out
|
|
|
28
|
|
|
29 </configfile>
|
|
|
30 </configfiles>
|
|
|
31
|
|
|
32 <outputs>
|
|
|
33 <data format="tabular" name = "output1" label="folds" />
|
|
|
34 </outputs>
|
|
|
35
|
|
|
36 <help>
|
|
|
37 Takes the genotypes and use it to determine the different folds for further cross-valisations
|
|
|
38 return a rda file that contains a list of indexes of the genotype, each element of the list is a fold
|
|
|
39 the list is made to be used by other tools of the OGHMA suite.
|
|
|
40 </help>
|
|
|
41 </tool> |