Mercurial > repos > bgruening > text_processing
comparison find_and_replace.xml @ 14:fb4ff3c42cd3 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 09b22cceacb34dd4c6c1b42890f93232df128208"
author | bgruening |
---|---|
date | Sat, 21 Mar 2020 13:49:11 -0400 |
parents | 0a8c6b61f0f4 |
children | d698c222f354 |
comparison
equal
deleted
inserted
replaced
13:0a8c6b61f0f4 | 14:fb4ff3c42cd3 |
---|---|
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" /> |