Previous changeset 73:ca6af7b12073 (2016-10-28) Next changeset 75:dcbee2f7b600 (2016-10-28) |
Commit message:
Uploaded |
added:
encode.xml |
b |
diff -r ca6af7b12073 -r dea79015dfc9 encode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/encode.xml Fri Oct 28 08:45:32 2016 -0400 |
b |
@@ -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 |