Question: How to prevent parsing ">" into "__lt__" in Galaxy wrapper
gravatar for md2587
11 months ago by
md258710 wrote:


I am writing Galaxy tool wrapper which should accept as an input regular expression for example like this: (?P<cell_1>.{16})(?P<umi_1>.{10})

But when I run the tool it is parsed into: (?P__lt__cell_1__gt__.__oc__16__cc__)(?P__lt__umi_1__gt__.__oc__10__cc__)

Any idea how should I prevent singes ">" to be parsed into __lt__ ?

Thanks, Marija

ADD COMMENTlink modified 11 months ago by Hotz, Hans-Rudolf1.8k • written 11 months ago by md258710
gravatar for Hotz, Hans-Rudolf
11 months ago by
Hotz, Hans-Rudolf1.8k wrote:

Hi Marija

Special characters are sanitized for security purposes. See: ~/lib/galaxy/util/ for all the mapped characters.

Have a look at: for ways to handle this on a per tool basis. However, keep in mind, that passing such characters unsanitized is a potential security risk.

Hope this helps Regards, Hans-Rudolf

PS: This is the same answer as here:

ADD COMMENTlink written 11 months ago by Hotz, Hans-Rudolf1.8k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 165 users visited in the last hour