Mercurial > repos > bgruening > text_processing
annotate unfold_column.xml @ 21:86755160afbf draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit c2b1677d1c94433f777c2dc28ac8eec0a99cc6a7
author | bgruening |
---|---|
date | Fri, 16 Aug 2024 10:41:54 +0000 |
parents | 12615d397df7 |
children |
rev | line source |
---|---|
19
12615d397df7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 70980e329cd9fa78e74bf14a76fd4ded9bd2b91f
bgruening
parents:
11
diff
changeset
|
1 <tool id="tp_unfold_column_tool" name="Unfold" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
0 | 2 <description>columns from a table</description> |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
19
12615d397df7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 70980e329cd9fa78e74bf14a76fd4ded9bd2b91f
bgruening
parents:
11
diff
changeset
|
6 <expand macro="creator"/> |
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
|
7 <requirements> |
19
12615d397df7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 70980e329cd9fa78e74bf14a76fd4ded9bd2b91f
bgruening
parents:
11
diff
changeset
|
8 <requirement type="package" version="3.12">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
|
9 </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
|
10 <command> |
0 | 11 <![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
|
12 python '$__tool_directory__/unfold_column.py' |
0 | 13 '${infile}' |
14 $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
|
15 "${delimiter}" |
0 | 16 '${outfile}' |
17 ]]> | |
18 </command> | |
19 <inputs> | |
20 <param name="infile" format="tabular" type="data" label="File to unfold" /> | |
21 <param name="column" type="data_column" data_ref="infile" accept_default="true" label="Column to use for unfolding" /> | |
22 <param name="delimiter" type="select" label="Values in column are delimited by"> | |
23 <option value=" ">Whitespace</option> | |
24 <option value=".">Dot</option> | |
25 <option value=",">Comma</option> | |
26 <option value="-">Dash</option> | |
27 <option value="_">Underscore</option> | |
28 <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
|
29 <option value=";">Semicolon</option> |
0 | 30 </param> |
31 </inputs> | |
32 <outputs> | |
33 <data name="outfile" format_source="infile" metadata_source="infile" /> | |
34 </outputs> | |
35 <tests> | |
36 <test> | |
37 <param name="infile" value="unfold_column1.tabular" ftype="tabular"/> | |
38 <param name="delimiter" value=" "/> | |
39 <param name="column" value="3"/> | |
40 <output name="outfile" file="unfold_column_result1.tabular" ftype="tabular"/> | |
41 </test> | |
42 </tests> | |
43 <help> | |
44 <![CDATA[ | |
45 **What it does** | |
46 | |
47 This tool will unfold one column of your input dataset. | |
48 | |
49 ----- | |
50 | |
51 Input Example:: | |
52 | |
53 a b 1,2,3,4,5 c | |
54 | |
55 | |
56 Output Example:: | |
57 | |
58 a b 1 c | |
59 a b 2 c | |
60 a b 3 c | |
61 a b 4 c | |
62 a b 5 c | |
63 | |
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> |