Mercurial > repos > bebatut > normalize_dataset
comparison 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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:2ac4623ac41c |
|---|---|
| 1 <tool id="normalize_dataset" name="Normalize a dataset by" version="0.1.0"> | |
| 2 <description>row or column sum</description> | |
| 3 | |
| 4 <requirements> | |
| 5 </requirements> | |
| 6 | |
| 7 <stdio> | |
| 8 <exit_code range="1:" /> | |
| 9 <exit_code range=":-1" /> | |
| 10 </stdio> | |
| 11 | |
| 12 <version_command></version_command> | |
| 13 | |
| 14 <command><![CDATA[ | |
| 15 python $__tool_directory__/normalize_dataset.py | |
| 16 --input_file $input_file | |
| 17 --output_file $output_file | |
| 18 --normalization $normalization | |
| 19 --format $format | |
| 20 ]]></command> | |
| 21 | |
| 22 <inputs> | |
| 23 <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)"/> | |
| 24 | |
| 25 <param name="normalization" label="Normalization on" type="select" help="(--normalization)"> | |
| 26 <option value="column" selected="True">Column</option> | |
| 27 <option value="row">Row</option> | |
| 28 </param> | |
| 29 | |
| 30 <param name="format" label="Output format" type="select" help="(--format)"> | |
| 31 <option value="proportion" selected="True">Proportion</option> | |
| 32 <option value="percentage">Percentage</option> | |
| 33 </param> | |
| 34 </inputs> | |
| 35 | |
| 36 <outputs> | |
| 37 <data name="output_file" format="tabular" | |
| 38 label="${tool.name} on ${on_string}: Normalized dataset" /> | |
| 39 </outputs> | |
| 40 | |
| 41 <tests> | |
| 42 </tests> | |
| 43 | |
| 44 <help><![CDATA[ | |
| 45 **What it does** | |
| 46 | |
| 47 This tool normalizes each row or column of a dataset by the row or column sum. | |
| 48 | |
| 49 ]]></help> | |
| 50 | |
| 51 <citations> | |
| 52 </citations> | |
| 53 </tool> |
