Re: [galaxy-dev] pass regular expression

2013-10-26 Thread Björn Grüning
Hi Jun and John, we have a repository in the test toolshed that can address these use cases and much more ... I think ... http://testtoolshed.g2.bx.psu.edu/view/bgruening/text_processing Its based on the awesome unix-tools from Assaf Gordon and are mainly based on gnu core-utils with special pat

Re: [galaxy-dev] pass regular expression

2013-10-26 Thread John Chilton
We have a pair of tools that do just this we (Jim Johnson and myself) have developed at MSI that have proven useful in a broad range of scenarios (these are implemented in Python instead of Perl). I have attached them if you are interested if using/extending them instead of building up new ones. I

Re: [galaxy-dev] pass regular expression

2013-10-26 Thread Jun Fan
@lists.bx.psu.edu Subject: Re: [galaxy-dev] pass regular expression Hi, Jun. The inbuilt parameter sanitizer can be controlled - see http://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Csanitizer.3E_tag_set The sub-tag allows precise control and you can specify eg string.printable if you want ANY

Re: [galaxy-dev] pass regular expression

2013-10-25 Thread Ross
Hi, Jun. The inbuilt parameter sanitizer can be controlled - see http://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Csanitizer.3E_tag_set The sub-tag allows precise control and you can specify eg string.printable if you want ANY printable character in your parameter Here's an example

[galaxy-dev] pass regular expression

2013-10-25 Thread Jun Fan
Hi all, I am trying to develop a tool which allows the user to use regular expression to only keep the lines matching the given pattern in the output. There are many special characters, e.g. \ in \d. In the perl script the wrapper invokes, the regular expression is printed as Xd+ for the r