Mercurial > repos > bebatut > normalize_dataset
diff normalize_dataset.xml @ 0:2ac4623ac41c draft
planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/normalize_dataset commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
author | bebatut |
---|---|
date | Tue, 12 Apr 2016 03:08:08 -0400 |
parents | |
children | de82a5a1469b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/normalize_dataset.xml Tue Apr 12 03:08:08 2016 -0400 @@ -0,0 +1,53 @@ +<tool id="normalize_dataset" name="Normalize a dataset by" version="0.1.0"> + <description>row or column sum</description> + + <requirements> + </requirements> + + <stdio> + <exit_code range="1:" /> + <exit_code range=":-1" /> + </stdio> + + <version_command></version_command> + + <command><![CDATA[ + python $__tool_directory__/normalize_dataset.py + --input_file $input_file + --output_file $output_file + --normalization $normalization + --format $format + ]]></command> + + <inputs> + <param name="input_file" type="data" format="tabular,tsv,csv" label="Input file" help="File in tabular format with tab-separated columns and header in first line (--input_file)"/> + + <param name="normalization" label="Normalization on" type="select" help="(--normalization)"> + <option value="column" selected="True">Column</option> + <option value="row">Row</option> + </param> + + <param name="format" label="Output format" type="select" help="(--format)"> + <option value="proportion" selected="True">Proportion</option> + <option value="percentage">Percentage</option> + </param> + </inputs> + + <outputs> + <data name="output_file" format="tabular" + label="${tool.name} on ${on_string}: Normalized dataset" /> + </outputs> + + <tests> + </tests> + + <help><![CDATA[ + **What it does** + + This tool normalizes each row or column of a dataset by the row or column sum. + + ]]></help> + + <citations> + </citations> +</tool> \ No newline at end of file