Mercurial > repos > nicolas > oghma
view encode.xml @ 56:374c9a2bc1c2 draft
Uploaded
author | nicolas |
---|---|
date | Wed, 26 Oct 2016 18:08:42 -0400 |
parents | e85041eeda80 |
children |
line wrap: on
line source
<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 "${encodedPath}" -> 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>