Mercurial > repos > nicolas > oghma
diff encode.xml @ 74:dea79015dfc9 draft
Uploaded
author | nicolas |
---|---|
date | Fri, 28 Oct 2016 08:45:32 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/encode.xml Fri Oct 28 08:45:32 2016 -0400 @@ -0,0 +1,40 @@ +<tool id="encode" name="encode" version="1.0.0"> + <description>encode genotypes for further machine learning analysis</description> + <command interpreter="Rscript"> + encode.R $config > ${output1} + </command> + + <inputs> + <param name="genotype" type="data" + label="genotype data" help="genotype must be a .csv" + /> + + <param name="separator" type="text" value="/" + label="separator of the heterozygous" help=" caracter used to separate heterozygous in the genotype" + /> + + <!-- <param name="encodedPath" type="text" + label="path to the output file" help= " a .csv extension is automatically added by OGHMA" + /> --> + </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 +"${separator}" -> sep +"${output1}" -> out + + </configfile> +</configfiles> + +<outputs> + <data format="tabular" name="output1" label="encoded data" /> +</outputs> + + <help> + Takes the genotype and encode them in the desired schem (usually 3 integer like 1/2/3) for minor homozygous/heterozygous/major homozygous. The output is a .csv file that may be use by other tools in the OGHMA workflow. + </help> + </tool> \ No newline at end of file