Mercurial > repos > bgruening > text_processing
annotate unfold_column.xml @ 26:f22a309187a3 draft
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:17 +0000 |
| parents | 1e974b82380d |
| children |
| rev | line source |
|---|---|
|
26
f22a309187a3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit c2b1677d1c94433f777c2dc28ac8eec0a99cc6a7
bgruening
parents:
18
diff
changeset
|
1 <tool id="tp_unfold_column_tool" name="Unfold" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
| 4 | 2 <description>columns from a table</description> |
| 3 <macros> | |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
|
26
f22a309187a3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit c2b1677d1c94433f777c2dc28ac8eec0a99cc6a7
bgruening
parents:
18
diff
changeset
|
6 <expand macro="creator"/> |
|
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
|
7 <requirements> |
|
26
f22a309187a3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit c2b1677d1c94433f777c2dc28ac8eec0a99cc6a7
bgruening
parents:
18
diff
changeset
|
8 <requirement type="package" version="3.12">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
|
9 </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
|
10 <command> |
| 4 | 11 <![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
|
12 python '$__tool_directory__/unfold_column.py' |
| 4 | 13 '${infile}' |
| 14 $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
|
15 "${delimiter}" |
| 4 | 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> | |
|
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
|
29 <option value=";">Semicolon</option> |
| 4 | 30 </param> |
| 31 </inputs> | |
| 32 <outputs> | |
| 6 | 33 <data name="outfile" format_source="infile" metadata_source="infile" /> |
| 4 | 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> | |
|
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> |
