Mercurial > repos > iuc > collection_column_join
changeset 4:071084070619 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/collection_column_join commit 11d99b82e4e78f3077bc5f6997403b602b8a8423
author | iuc |
---|---|
date | Thu, 28 Feb 2019 05:04:03 -0500 |
parents | 58228a4d58fe |
children | 3ddd99c7efee |
files | collection_column_join.xml |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/collection_column_join.xml Fri Apr 06 03:44:21 2018 -0400 +++ b/collection_column_join.xml Thu Feb 28 05:04:03 2019 -0500 @@ -56,9 +56,9 @@ <inputs> <param name="input_tabular" type="data" format="tabular" multiple="True" optional="False" label="Tabular files"/> <!-- <param name="identifier_column" type="data_column" data_ref="input_tabular" value="0" min="0" optional="False" label="Identifier column"/> --> - <param name="identifier_column" type="integer" value="1" min="0" optional="False" label="Identifier column"/> - <param name="has_header" type="integer" value="0" min="0" optional="False" label="Number of Header lines in each item"/> - <param name="old_col_in_header" type="boolean" checked="true" label="Keep original column header" help="Disable if you want columns headers to be only composed of the input dataset names"/> + <param name="identifier_column" type="integer" value="1" min="0" optional="False" label="Identifier column" help="The column that will be used to join the input datasets"/> + <param name="has_header" type="integer" value="0" min="0" optional="False" label="Number of header lines in each input file" help="If this is set to 0, a header line will be added containing column names as follows: the identifier column will be named #KEY and the other columns are named by the input dataset names/columns. If you have one or more header lines in your input, set this to the number of header lines."/> + <param name="old_col_in_header" type="boolean" checked="true" label="Add column name to header" help="Disable if you want column headers to only be composed of the input file names, for example, if you want headers like file1 and not file1_column1, see Help section below. Default: Yes"/> <param name="fill_char" type="text" value="." optional="False" label="Fill character"/> <param name="include_outputs" type="select" multiple="True" label="Additional datasets to create"> <option value="output_shell_script" selected="false">Shell script</option> @@ -118,7 +118,7 @@ To join three files, with headers, based on the first column: -**First file (in_1.tabular)**:: +**First file (in_1)**:: #KEY c2 c3 c4 one 1-1 1-2 1-3 @@ -126,14 +126,14 @@ three 1-7 1-8 1-9 -**Second File (in_2.tabular)**:: +**Second File (in_2)**:: #KEY c2 c3 c4 one 2-1 2-2 2-3 two 2-4 2-5 2-6 three 2-7 2-8 2-9 -**Third file (in_3.tabular)**:: +**Third file (in_3)**:: #KEY c2 c3 c4 one 3-3 3-2 3-3 @@ -143,15 +143,15 @@ **Joining** the files, using **identifier column of 1** and a **header lines of 1**, will return:: - #KEY in_1.tabular_c2 in_1.tabular_c3 in_1.tabular_c4 in_2.tabular_c2 in_2.tabular_c3 in_2.tabular_c4 in_3.tabular_c2 in_3.tabular_c3 in_3.tabular_c4 + #KEY in_1_c2 in_1_c3 in_1_c4 in_2_c2 in_2_c3 in_2_c4 in_3_c2 in_3_c3 in_3_c4 one 1-1 1-2 1-3 2-1 2-2 2-3 3-3 3-2 3-3 three 1-7 1-8 1-9 2-7 2-8 2-9 3-7 3-8 3-9 two 1-4 1-5 1-6 2-4 2-5 2-6 3-4 3-5 3-6 -**Joining** the files, using **identifier column of 1** and a **header lines of 1**, but disabling **Keep original column header**, will return:: +**Joining** the files, using **identifier column of 1** and a **header lines of 1**, but disabling **Add column name to header**, will return:: - #KEY in_1.tabular in_1.tabular in_1.tabular in_2.tabular in_2.tabular in_2.tabular in_3.tabular in_3.tabular in_3.tabular + #KEY in_1 in_1 in_1 in_2 in_2 in_2 in_3 in_3 in_3 one 1-1 1-2 1-3 2-1 2-2 2-3 3-3 3-2 3-3 three 1-7 1-8 1-9 2-7 2-8 2-9 3-7 3-8 3-9 two 1-4 1-5 1-6 2-4 2-5 2-6 3-4 3-5 3-6