Mercurial > repos > bebatut > extract_min_max_lines
comparison extract_min_max_lines.xml @ 0:42e4aee6b1fa draft
planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/extract_min_max_lines commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
| author | bebatut |
|---|---|
| date | Tue, 12 Apr 2016 02:58:49 -0400 |
| parents | |
| children | 07c9ae09ae38 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:42e4aee6b1fa |
|---|---|
| 1 <tool id="extract_min_max_lines" name="Extract lines corresponding" version="0.1.0"> | |
| 2 <description>with minimum and maximum values of a column</description> | |
| 3 | |
| 4 <requirements> | |
| 5 </requirements> | |
| 6 | |
| 7 <stdio> | |
| 8 </stdio> | |
| 9 | |
| 10 <version_command></version_command> | |
| 11 | |
| 12 <command><![CDATA[ | |
| 13 python $__tool_directory__/extract_min_max_lines.py | |
| 14 --input_file $input_file | |
| 15 --output_file $output_file | |
| 16 --column_id $column_id | |
| 17 --extraction_type $extraction_type | |
| 18 --extraction_nb $extraction_nb | |
| 19 ]]></command> | |
| 20 | |
| 21 <inputs> | |
| 22 <param name="input_file" type="data" format="tabular,tsv,csv" label="Input file" help="File in tabular format with tab-separated columns (--input_file)"/> | |
| 23 | |
| 24 <param name="column_id" type="data_column" data_ref="input_file" label="Column containing data to extract minimum or maximum values" multiple="false" numerical="true" help="(--column_id)"/> | |
| 25 | |
| 26 <param name="extraction_type" label="Type of values to extract lines" type="select" help="(--extraction_type)"> | |
| 27 <option value="min" selected="True">Minimal values</option> | |
| 28 <option value="max">Maximal values</option> | |
| 29 </param> | |
| 30 | |
| 31 <param name="extraction_nb" type="integer" value="10" label="Number of lines to extract" help="(--extraction_nb)"/> | |
| 32 </inputs> | |
| 33 | |
| 34 <outputs> | |
| 35 <data name="output_file" format="tabular" | |
| 36 label="${tool.name} on ${on_string}: Extracted lines" /> | |
| 37 </outputs> | |
| 38 | |
| 39 <tests> | |
| 40 </tests> | |
| 41 | |
| 42 <help><![CDATA[ | |
| 43 **What it does** | |
| 44 | |
| 45 This tool extract lines from a tabular file corresponding to minimum or maximum values of a column. | |
| 46 | |
| 47 ]]></help> | |
| 48 | |
| 49 <citations> | |
| 50 </citations> | |
| 51 </tool> |
