Mercurial > repos > bgruening > text_processing
comparison find_and_replace.xml @ 21:0e3b611245f7 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 9c4d4fe09cbbd818532d793d01d1cb16edbd496b-dirty"
| author | bgruening |
|---|---|
| date | Sun, 15 Mar 2020 22:58:18 +0000 |
| parents | 1aa30b2c73c9 |
| children | cd83b5644eab |
comparison
equal
deleted
inserted
replaced
| 20:1aa30b2c73c9 | 21:0e3b611245f7 |
|---|---|
| 1 <tool id="tp_find_and_replace" name="Replace" version="@BASE_VERSION@.2"> | 1 <tool id="tp_find_and_replace" name="Replace" version="@BASE_VERSION@.3"> |
| 2 <description>parts of text</description> | 2 <description>parts of text</description> |
| 3 <macros> | 3 <macros> |
| 4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
| 5 </macros> | 5 </macros> |
| 6 <requirements> | 6 <requirements> |
| 78 <param name="global" value="true" /> | 78 <param name="global" value="true" /> |
| 79 <param name="caseinsensitive" value="False" /> | 79 <param name="caseinsensitive" value="False" /> |
| 80 <param name="wholewords" value="True" /> | 80 <param name="wholewords" value="True" /> |
| 81 <output name="outfile" file="find_and_replace_results1.txt" /> | 81 <output name="outfile" file="find_and_replace_results1.txt" /> |
| 82 </test> | 82 </test> |
| 83 <!-- test that columns are split by tab not space. input has no tab loads of spaces | |
| 84 .. therefore the ftype needs to be set. | |
| 85 result should be the same as in test 1 which works on whole line --> | |
| 86 <test> | |
| 87 <param name="infile" value="find_and_replace1.txt" ftype="tabular" /> | |
| 88 <param name="find_pattern" value="day" /> | |
| 89 <param name="replace_pattern" value="great day" /> | |
| 90 <param name="is_regex" value="False" /> | |
| 91 <param name="global" value="true" /> | |
| 92 <param name="caseinsensitive" value="False" /> | |
| 93 <param name="wholewords" value="True" /> | |
| 94 <conditional name="searchwhere"> | |
| 95 <param name="searchwhere_select" value="column"/> | |
| 96 <param name="column" value="1" /> | |
| 97 </conditional> | |
| 98 <output name="outfile" file="find_and_replace_results1.txt" /> | |
| 99 </test> | |
| 83 <test> | 100 <test> |
| 84 <param name="infile" value="find_and_replace2.txt" /> | 101 <param name="infile" value="find_and_replace2.txt" /> |
| 85 <param name="find_pattern" value="^chr" /> | 102 <param name="find_pattern" value="^chr" /> |
| 86 <param name="replace_pattern" value="" /> | 103 <param name="replace_pattern" value="" /> |
| 87 <param name="is_regex" value="True" /> | 104 <param name="is_regex" value="True" /> |
