together python python '$__tool_directory__/mergeCols.py' '$input1' '$out_file1' '$col1' '$col2' #for $col in $columns '${col.datacol}' #end for .. class:: infomark **TIP:** If your data is not TAB delimited, use *Text Manipulation->Convert* ----- **What it does** This tool merges columns together. Any number of valid columns can be merged in any order. ----- **Example** Input dataset (five columns: c1, c2, c3, c4, and c5):: 1 10 1000 gene1 chr 2 100 1500 gene2 chr merging columns "**c5,c1**" will return:: 1 10 1000 gene1 chr chr1 2 100 1500 gene2 chr chr2 .. class:: warningmark Note that all original columns are preserved and the result of merge is added as the rightmost column.