Mercurial > repos > bgruening > text_processing
view unfold_column.xml @ 25:cd83b5644eab draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 378e99cde623698fb44ee7ac9873f455fb51fdbc"
author | bgruening |
---|---|
date | Sat, 08 Oct 2022 20:59:15 +0000 |
parents | 1e974b82380d |
children | f22a309187a3 |
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>