Mercurial > repos > bebatut > extract_min_max_lines
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extract_min_max_lines.xml Tue Apr 12 02:58:49 2016 -0400 @@ -0,0 +1,51 @@ +<tool id="extract_min_max_lines" name="Extract lines corresponding" version="0.1.0"> + <description>with minimum and maximum values of a column</description> + + <requirements> + </requirements> + + <stdio> + </stdio> + + <version_command></version_command> + + <command><![CDATA[ + python $__tool_directory__/extract_min_max_lines.py + --input_file $input_file + --output_file $output_file + --column_id $column_id + --extraction_type $extraction_type + --extraction_nb $extraction_nb + ]]></command> + + <inputs> + <param name="input_file" type="data" format="tabular,tsv,csv" label="Input file" help="File in tabular format with tab-separated columns (--input_file)"/> + + <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)"/> + + <param name="extraction_type" label="Type of values to extract lines" type="select" help="(--extraction_type)"> + <option value="min" selected="True">Minimal values</option> + <option value="max">Maximal values</option> + </param> + + <param name="extraction_nb" type="integer" value="10" label="Number of lines to extract" help="(--extraction_nb)"/> + </inputs> + + <outputs> + <data name="output_file" format="tabular" + label="${tool.name} on ${on_string}: Extracted lines" /> + </outputs> + + <tests> + </tests> + + <help><![CDATA[ + **What it does** + + This tool extract lines from a tabular file corresponding to minimum or maximum values of a column. + + ]]></help> + + <citations> + </citations> +</tool> \ No newline at end of file
