On Mon, Oct 4, 2010 at 7:36 AM, Bossers, Alex <Alex.Bossers@wur.nl> wrote:
Hi all,
I am probably missing something very obvious. I am struggling to make a tool config file (and/or perl/bash wrapper) that runs some tools that have several input files (no problem) but also several FIXED name output files. I am able to give it some prefix but the extensions (if any) cannot be changed.
Any help appreciated how to link/get this in $output.
Alex
PS: sorry for cross posting users and dev. Not sure where the tool stuff belongs.
Hi Alex, Andreu asked a similar question last month where the tool picked the output filename extension based on the format requested: http://lists.bx.psu.edu/pipermail/galaxy-dev/2010-September/003348.html The same basic work around should work in your example too: have a wrapper script (perl/bash/python) which knows about the fixed output names, and renames them to a filename passed from Galaxy. (As I wrote in the referenced thread, I'm curious if there is a nicer solution within the Galaxy XML wrapper itself.) Peter