Mercurial > repos > bgruening > text_processing
annotate unfold_column.xml @ 18:d698c222f354 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 21:01:33 +0000 |
parents | 74a8bef53a00 |
children | 12615d397df7 |
rev | line source |
---|---|
11
74a8bef53a00
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 0ba37c1f33eeb1c77b4d9363d681fe522d9f7fe7
bgruening
parents:
6
diff
changeset
|
1 <tool id="tp_unfold_column_tool" name="Unfold" version="@BASE_VERSION@.1"> |
0 | 2 <description>columns from a table</description> |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
5
20344ce0c811
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
bgruening
parents:
3
diff
changeset
|
6 <requirements> |
11
74a8bef53a00
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 0ba37c1f33eeb1c77b4d9363d681fe522d9f7fe7
bgruening
parents:
6
diff
changeset
|
7 <requirement type="package" version="2.7.13">python</requirement> |
5
20344ce0c811
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
bgruening
parents:
3
diff
changeset
|
8 </requirements> |
20344ce0c811
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
bgruening
parents:
3
diff
changeset
|
9 <command> |
0 | 10 <![CDATA[ |
5
20344ce0c811
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
bgruening
parents:
3
diff
changeset
|
11 python '$__tool_directory__/unfold_column.py' |
0 | 12 '${infile}' |
13 $column | |
3
37e1eb05b1b4
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 10052765d6b712cf7d38356af4251fcc38a339b6-dirty
bgruening
parents:
0
diff
changeset
|
14 "${delimiter}" |
0 | 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> | |
3
37e1eb05b1b4
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 10052765d6b712cf7d38356af4251fcc38a339b6-dirty
bgruening
parents:
0
diff
changeset
|
28 <option value=";">Semicolon</option> |
0 | 29 </param> |
30 </inputs> | |
31 <outputs> | |
32 <data name="outfile" format_source="infile" metadata_source="infile" /> | |
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> | |
6
60edf2f8c28f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b'e6ee273f75fff61d1e419283fa8088528cf59470\n'
bgruening
parents:
5
diff
changeset
|
66 <expand macro="citations" /> |
0 | 67 </tool> |