Mercurial > repos > bgruening > text_processing
annotate unfold_column.xml @ 18:1e974b82380d draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 0ba37c1f33eeb1c77b4d9363d681fe522d9f7fe7
| author | bgruening |
|---|---|
| date | Tue, 27 Feb 2018 17:10:53 -0500 |
| parents | 7725ab6dab67 |
| children | f22a309187a3 |
| rev | line source |
|---|---|
|
18
1e974b82380d
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 0ba37c1f33eeb1c77b4d9363d681fe522d9f7fe7
bgruening
parents:
14
diff
changeset
|
1 <tool id="tp_unfold_column_tool" name="Unfold" version="@BASE_VERSION@.1"> |
| 4 | 2 <description>columns from a table</description> |
| 3 <macros> | |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
|
13
3c685c4106b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
bgruening
parents:
10
diff
changeset
|
6 <requirements> |
|
18
1e974b82380d
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 0ba37c1f33eeb1c77b4d9363d681fe522d9f7fe7
bgruening
parents:
14
diff
changeset
|
7 <requirement type="package" version="2.7.13">python</requirement> |
|
13
3c685c4106b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
bgruening
parents:
10
diff
changeset
|
8 </requirements> |
|
3c685c4106b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
bgruening
parents:
10
diff
changeset
|
9 <command> |
| 4 | 10 <![CDATA[ |
|
13
3c685c4106b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
bgruening
parents:
10
diff
changeset
|
11 python '$__tool_directory__/unfold_column.py' |
| 4 | 12 '${infile}' |
| 13 $column | |
|
10
c78b1767db2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 10052765d6b712cf7d38356af4251fcc38a339b6-dirty
bgruening
parents:
6
diff
changeset
|
14 "${delimiter}" |
| 4 | 15 '${outfile}' |
| 16 ]]> | |
| 17 </command> | |
| 18 <inputs> | |
| 19 <param name="infile" format="tabular" type="data" label="File to unfold" /> | |
| 20 <param name="column" type="data_column" data_ref="infile" accept_default="true" label="Column to use for unfolding" /> | |
| 21 <param name="delimiter" type="select" label="Values in column are delimited by"> | |
| 22 <option value=" ">Whitespace</option> | |
| 23 <option value=".">Dot</option> | |
| 24 <option value=",">Comma</option> | |
| 25 <option value="-">Dash</option> | |
| 26 <option value="_">Underscore</option> | |
| 27 <option value="|">Pipe</option> | |
|
10
c78b1767db2b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 10052765d6b712cf7d38356af4251fcc38a339b6-dirty
bgruening
parents:
6
diff
changeset
|
28 <option value=";">Semicolon</option> |
| 4 | 29 </param> |
| 30 </inputs> | |
| 31 <outputs> | |
| 6 | 32 <data name="outfile" format_source="infile" metadata_source="infile" /> |
| 4 | 33 </outputs> |
| 34 <tests> | |
| 35 <test> | |
| 36 <param name="infile" value="unfold_column1.tabular" ftype="tabular"/> | |
| 37 <param name="delimiter" value=" "/> | |
| 38 <param name="column" value="3"/> | |
| 39 <output name="outfile" file="unfold_column_result1.tabular" ftype="tabular"/> | |
| 40 </test> | |
| 41 </tests> | |
| 42 <help> | |
| 43 <![CDATA[ | |
| 44 **What it does** | |
| 45 | |
| 46 This tool will unfold one column of your input dataset. | |
| 47 | |
| 48 ----- | |
| 49 | |
| 50 Input Example:: | |
| 51 | |
| 52 a b 1,2,3,4,5 c | |
| 53 | |
| 54 | |
| 55 Output Example:: | |
| 56 | |
| 57 a b 1 c | |
| 58 a b 2 c | |
| 59 a b 3 c | |
| 60 a b 4 c | |
| 61 a b 5 c | |
| 62 | |
| 63 @REFERENCES@ | |
| 64 ]]> | |
| 65 </help> | |
|
14
7725ab6dab67
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b'e6ee273f75fff61d1e419283fa8088528cf59470\n'
bgruening
parents:
13
diff
changeset
|
66 <expand macro="citations" /> |
| 4 | 67 </tool> |
