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