Mercurial > repos > galaxyp > regex_find_replace
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1:209b7c5ee9d7 | 2:538933d9fccc |
|---|---|
| 1 <tool id="regexColumn1" name="Column Regex Find And Replace" version="1.0.0"> | 1 <tool id="regexColumn1" name="Column Regex Find And Replace" version="1.0.1"> |
| 2 <description></description> | 2 <description></description> |
| 3 <command interpreter="python">regex.py --input '$input' --output '$out_file1' --column $field --input_display_name '$input.display_name' | 3 <requirements> |
| 4 #for $check in $checks: | 4 <requirement type="package" version="3.7">python</requirement> |
| 5 --pattern='$check.pattern' --replacement='$check.replacement' | 5 </requirements> |
| 6 #end for | 6 <command> |
| 7 python '$__tool_requirements__/regex.py' | |
| 8 --input '$input' | |
| 9 --output '$out_file1' | |
| 10 --column $field | |
| 11 --input_display_name '$input.display_name' | |
| 12 #for $check in $checks: | |
| 13 --pattern='$check.pattern' --replacement='$check.replacement' | |
| 14 #end for | |
| 7 </command> | 15 </command> |
| 8 <inputs> | 16 <inputs> |
| 9 <param format="tabular" name="input" type="data" label="Select cells from"/> | 17 <param format="tabular" name="input" type="data" label="Select cells from"/> |
| 10 <param name="field" label="using column" type="data_column" data_ref="input" /> | 18 <param name="field" label="using column" type="data_column" data_ref="input" /> |
| 11 <repeat name="checks" title="Check"> | 19 <repeat name="checks" title="Check"> |
| 12 <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)"> | 20 <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)"> |
| 13 <sanitizer> | 21 <sanitizer> |
| 14 <valid> | 22 <valid> |
| 15 <add preset="string.printable"/> | 23 <add preset="string.printable"/> |
| 16 <remove value="\" /> | 24 <remove value="\" /> |
| 17 <remove value="'" /> | 25 <remove value="'" /> |
| 20 <add source="\" target="__backslash__" /> | 28 <add source="\" target="__backslash__" /> |
| 21 <add source="'" target="__sq__"/> | 29 <add source="'" target="__sq__"/> |
| 22 </mapping> | 30 </mapping> |
| 23 </sanitizer> | 31 </sanitizer> |
| 24 </param> | 32 </param> |
| 25 <param name="replacement" size="40" type="text" value="newchr\1" label="Replacement"> | 33 <param name="replacement" type="text" value="newchr\1" label="Replacement"> |
| 26 <sanitizer> | 34 <sanitizer> |
| 27 <valid> | 35 <valid> |
| 28 <add preset="string.printable"/> | 36 <add preset="string.printable"/> |
| 29 <remove value="\" /> | 37 <remove value="\" /> |
| 30 <remove value="'" /> | 38 <remove value="'" /> |
