view folds.xml @ 95:5a0b751594e6 draft

Deleted selected files
author nicolas
date Mon, 31 Oct 2016 05:55:16 -0400
parents 5a56e1e3b235
children
line wrap: on
line source

<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>