Mercurial > repos > iuc > collection_column_join
comparison collection_column_join.xml @ 4:b9d49988b597 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:03:43 -0500 |
| parents | a01da64e34a1 |
| children | 89b1a96ad4dd |
comparison
equal
deleted
inserted
replaced
| 3:a01da64e34a1 | 4:b9d49988b597 |
|---|---|
| 54 </configfile> | 54 </configfile> |
| 55 </configfiles> | 55 </configfiles> |
| 56 <inputs> | 56 <inputs> |
| 57 <param name="input_tabular" type="data" format="tabular" multiple="True" optional="False" label="Tabular files"/> | 57 <param name="input_tabular" type="data" format="tabular" multiple="True" optional="False" label="Tabular files"/> |
| 58 <!-- <param name="identifier_column" type="data_column" data_ref="input_tabular" value="0" min="0" optional="False" label="Identifier column"/> --> | 58 <!-- <param name="identifier_column" type="data_column" data_ref="input_tabular" value="0" min="0" optional="False" label="Identifier column"/> --> |
| 59 <param name="identifier_column" type="integer" value="1" min="0" optional="False" label="Identifier column"/> | 59 <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"/> |
| 60 <param name="has_header" type="integer" value="0" min="0" optional="False" label="Number of Header lines in each item"/> | 60 <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."/> |
| 61 <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"/> | 61 <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"/> |
| 62 <param name="fill_char" type="text" value="." optional="False" label="Fill character"/> | 62 <param name="fill_char" type="text" value="." optional="False" label="Fill character"/> |
| 63 <param name="include_outputs" type="select" multiple="True" label="Additional datasets to create"> | 63 <param name="include_outputs" type="select" multiple="True" label="Additional datasets to create"> |
| 64 <option value="output_shell_script" selected="false">Shell script</option> | 64 <option value="output_shell_script" selected="false">Shell script</option> |
| 65 </param> | 65 </param> |
| 66 </inputs> | 66 </inputs> |
| 116 | 116 |
| 117 **Example** | 117 **Example** |
| 118 | 118 |
| 119 To join three files, with headers, based on the first column: | 119 To join three files, with headers, based on the first column: |
| 120 | 120 |
| 121 **First file (in_1.tabular)**:: | 121 **First file (in_1)**:: |
| 122 | 122 |
| 123 #KEY c2 c3 c4 | 123 #KEY c2 c3 c4 |
| 124 one 1-1 1-2 1-3 | 124 one 1-1 1-2 1-3 |
| 125 two 1-4 1-5 1-6 | 125 two 1-4 1-5 1-6 |
| 126 three 1-7 1-8 1-9 | 126 three 1-7 1-8 1-9 |
| 127 | 127 |
| 128 | 128 |
| 129 **Second File (in_2.tabular)**:: | 129 **Second File (in_2)**:: |
| 130 | 130 |
| 131 #KEY c2 c3 c4 | 131 #KEY c2 c3 c4 |
| 132 one 2-1 2-2 2-3 | 132 one 2-1 2-2 2-3 |
| 133 two 2-4 2-5 2-6 | 133 two 2-4 2-5 2-6 |
| 134 three 2-7 2-8 2-9 | 134 three 2-7 2-8 2-9 |
| 135 | 135 |
| 136 **Third file (in_3.tabular)**:: | 136 **Third file (in_3)**:: |
| 137 | 137 |
| 138 #KEY c2 c3 c4 | 138 #KEY c2 c3 c4 |
| 139 one 3-3 3-2 3-3 | 139 one 3-3 3-2 3-3 |
| 140 two 3-4 3-5 3-6 | 140 two 3-4 3-5 3-6 |
| 141 three 3-7 3-8 3-9 | 141 three 3-7 3-8 3-9 |
| 142 | 142 |
| 143 | 143 |
| 144 **Joining** the files, using **identifier column of 1** and a **header lines of 1**, will return:: | 144 **Joining** the files, using **identifier column of 1** and a **header lines of 1**, will return:: |
| 145 | 145 |
| 146 #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 | 146 #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 |
| 147 one 1-1 1-2 1-3 2-1 2-2 2-3 3-3 3-2 3-3 | 147 one 1-1 1-2 1-3 2-1 2-2 2-3 3-3 3-2 3-3 |
| 148 three 1-7 1-8 1-9 2-7 2-8 2-9 3-7 3-8 3-9 | 148 three 1-7 1-8 1-9 2-7 2-8 2-9 3-7 3-8 3-9 |
| 149 two 1-4 1-5 1-6 2-4 2-5 2-6 3-4 3-5 3-6 | 149 two 1-4 1-5 1-6 2-4 2-5 2-6 3-4 3-5 3-6 |
| 150 | 150 |
| 151 | 151 |
| 152 **Joining** the files, using **identifier column of 1** and a **header lines of 1**, but disabling **Keep original column header**, will return:: | 152 **Joining** the files, using **identifier column of 1** and a **header lines of 1**, but disabling **Add column name to header**, will return:: |
| 153 | 153 |
| 154 #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 | 154 #KEY in_1 in_1 in_1 in_2 in_2 in_2 in_3 in_3 in_3 |
| 155 one 1-1 1-2 1-3 2-1 2-2 2-3 3-3 3-2 3-3 | 155 one 1-1 1-2 1-3 2-1 2-2 2-3 3-3 3-2 3-3 |
| 156 three 1-7 1-8 1-9 2-7 2-8 2-9 3-7 3-8 3-9 | 156 three 1-7 1-8 1-9 2-7 2-8 2-9 3-7 3-8 3-9 |
| 157 two 1-4 1-5 1-6 2-4 2-5 2-6 3-4 3-5 3-6 | 157 two 1-4 1-5 1-6 2-4 2-5 2-6 3-4 3-5 3-6 |
| 158 | 158 |
| 159 ]]> | 159 ]]> |
