changeset 78:5a56e1e3b235 draft

Uploaded
author nicolas
date Fri, 28 Oct 2016 08:46:32 -0400
parents d388ee8c2d87
children 14b976f46889
files folds.xml
diffstat 1 files changed, 41 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/folds.xml	Fri Oct 28 08:46:32 2016 -0400
@@ -0,0 +1,41 @@
+<tool id="folds" name="folds" version="1.0.0">
+  <description>create folds for classifiers evaluation through cross-validation</description>
+  <command interpreter="Rscript">
+	  folds.R $config &gt; ${output1}
+  </command>
+  
+  <inputs>
+	<param name="genotype" type="data"
+		  label="encoded data" help="encoded must be a .rds file" 
+	/>
+		  
+	<param name="n" type="integer" value ="7"
+			  label="number of folds" help=" must be an integer. You may want its value be at least 5" 
+	/>
+	
+	<!-- <param name="foldsFile" type="text"
+			label="path to the output file" help= " a valid path is expected " 
+	/> -->
+  </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
+"${n}" -> n
+"${output1}" -> out
+
+    </configfile>
+</configfiles>
+  
+<outputs>
+	<data format="tabular" name = "output1" label="folds" />
+</outputs>
+  
+  <help>
+	  Takes the genotypes and use it to determine the different folds for further cross-valisations
+	  return a rda file that contains a list of indexes of the genotype, each element of the list is a fold
+	  the list is made to be used by other tools of the OGHMA suite.
+  </help>
+  </tool>
\ No newline at end of file