Mercurial > repos > galaxyp > regex_find_replace
diff regex_tabular.xml @ 2:538933d9fccc draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/regex_find_replace commit 8871a847daed1f996c0a2069c3e876685bf8d220"
author | galaxyp |
---|---|
date | Tue, 07 Apr 2020 11:31:27 -0400 |
parents | 209b7c5ee9d7 |
children | ae8c4b2488e7 |
line wrap: on
line diff
--- a/regex_tabular.xml Thu Jan 19 11:26:15 2017 -0500 +++ b/regex_tabular.xml Tue Apr 07 11:31:27 2020 -0400 @@ -1,15 +1,23 @@ -<tool id="regexColumn1" name="Column Regex Find And Replace" version="1.0.0"> +<tool id="regexColumn1" name="Column Regex Find And Replace" version="1.0.1"> <description></description> - <command interpreter="python">regex.py --input '$input' --output '$out_file1' --column $field --input_display_name '$input.display_name' - #for $check in $checks: - --pattern='$check.pattern' --replacement='$check.replacement' - #end for + <requirements> + <requirement type="package" version="3.7">python</requirement> + </requirements> + <command> + python '$__tool_requirements__/regex.py' + --input '$input' + --output '$out_file1' + --column $field + --input_display_name '$input.display_name' + #for $check in $checks: + --pattern='$check.pattern' --replacement='$check.replacement' + #end for </command> <inputs> <param format="tabular" name="input" type="data" label="Select cells from"/> <param name="field" label="using column" type="data_column" data_ref="input" /> <repeat name="checks" title="Check"> - <param name="pattern" size="40" type="text" value="chr([0-9A-Za-z])+" label="Find Regex" help="here you can enter text or regular expression (for syntax check lower part of this frame)"> + <param name="pattern" type="text" value="chr([0-9A-Za-z])+" label="Find Regex" help="here you can enter text or regular expression (for syntax check lower part of this frame)"> <sanitizer> <valid> <add preset="string.printable"/> @@ -22,7 +30,7 @@ </mapping> </sanitizer> </param> - <param name="replacement" size="40" type="text" value="newchr\1" label="Replacement"> + <param name="replacement" type="text" value="newchr\1" label="Replacement"> <sanitizer> <valid> <add preset="string.printable"/>