changeset 88:aef3240b58ac draft

Uploaded
author nicolas
date Fri, 28 Oct 2016 08:49:24 -0400
parents 2f423d8656ae
children c2efdf0c23a1
files rrBLUP.xml
diffstat 1 files changed, 50 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rrBLUP.xml	Fri Oct 28 08:49:24 2016 -0400
@@ -0,0 +1,50 @@
+<tool id="rrBLUP" name="rrBLUP" version="1.0.0">
+  <description>predict phenotype using a rrBLUP approach</description>
+  <command interpreter="Rscript">
+	  rrBLUP.R $config &gt; ${output1}
+  </command>
+  
+  <inputs>
+	<param name="genotype" type="data"
+		label="genotype data" help="a tabular datatype containing the encoded genotypes" 
+	/>
+		  
+	<param name="phenotype" type="data"
+			label="phenotype data" help=" a tabular datatype containing the phenotypes " 
+			/>
+	
+	<param name="eval" type="integer" value="0"
+			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 " 
+			/>
+			
+	<param name="folds" type="data" optional="true"
+			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. " 
+			/>
+			
+	<!-- <param name="model" type="text"
+			label="path to the output folds" help= " a path to a file where the results (depending on the chosen mode) 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
+"${phenotype}" -> phenotype
+"${output1}" -> out
+"${eval}" -> evaluation
+"${folds}" -> folds
+
+
+    </configfile>
+</configfiles>
+  
+<outputs>
+	<data format="tabular" name = "output1" label="rrBLUP output" />
+</outputs>
+  
+  <help>
+	  make the classification using the rrBLUP method
+  </help>
+  </tool>
\ No newline at end of file