Mercurial > repos > bgruening > text_processing
view unfold_column.xml @ 15:9ff72e942410 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 8faf3df412291710c7523b5810da7a76771df9bf"
author | bgruening |
---|---|
date | Sun, 17 May 2020 12:29:41 -0400 |
parents | 74a8bef53a00 |
children | 12615d397df7 |
line wrap: on
line source
<tool id="tp_unfold_column_tool" name="Unfold" version="@BASE_VERSION@.1"> <description>columns from a table</description> <macros> <import>macros.xml</import> </macros> <requirements> <requirement type="package" version="2.7.13">python</requirement> </requirements> <command> <![CDATA[ python '$__tool_directory__/unfold_column.py' '${infile}' $column "${delimiter}" '${outfile}' ]]> </command> <inputs> <param name="infile" format="tabular" type="data" label="File to unfold" /> <param name="column" type="data_column" data_ref="infile" accept_default="true" label="Column to use for unfolding" /> <param name="delimiter" type="select" label="Values in column are delimited by"> <option value=" ">Whitespace</option> <option value=".">Dot</option> <option value=",">Comma</option> <option value="-">Dash</option> <option value="_">Underscore</option> <option value="|">Pipe</option> <option value=";">Semicolon</option> </param> </inputs> <outputs> <data name="outfile" format_source="infile" metadata_source="infile" /> </outputs> <tests> <test> <param name="infile" value="unfold_column1.tabular" ftype="tabular"/> <param name="delimiter" value=" "/> <param name="column" value="3"/> <output name="outfile" file="unfold_column_result1.tabular" ftype="tabular"/> </test> </tests> <help> <![CDATA[ **What it does** This tool will unfold one column of your input dataset. ----- Input Example:: a b 1,2,3,4,5 c Output Example:: a b 1 c a b 2 c a b 3 c a b 4 c a b 5 c @REFERENCES@ ]]> </help> <expand macro="citations" /> </tool>