[galaxy-dev] Set output dbkey from parameter value

2014-10-15 Thread Nikos Sidiropoulos
Hi all, I'm trying to set the dbkey of an output file from the value (text) of a parameter. The parameter I want to use is genome. conditional name=bedgraph param name=check type=select label=Produce BedGraph output help=Can be displayed directly on UCSC browser. One file

Re: [galaxy-dev] Set output dbkey from parameter value

2014-10-15 Thread Daniel Blankenberg
Hi Nikos, In the very least, you’ll want to make sure that you have a bounding actions/actions tag set around your actions. It is probably also advisable to add a set of conditional/whens around the action, since you’re only setting the dbkey under certain circumstances. Thanks for using

Re: [galaxy-dev] Set output dbkey from parameter value

2014-10-15 Thread Nikos Sidiropoulos
Hi Daniel, Thanks for the response. I've edited the output to: data format=bedgraph name=bedgraph_slograt label=${tool.name} on ${on_string}: Smoot Log2ratio (bedGraph) from_work_dir=output_dir/slograt.bedgraph filter bedgraph['check'] == 'yes' and slograt['check'] == 'yes'

Re: [galaxy-dev] Set output dbkey from parameter value

2014-10-15 Thread Daniel Blankenberg
Does removing the ‘param_attribute=“value' attribute help? On Oct 15, 2014, at 11:23 AM, Nikos Sidiropoulos nikos.sid...@gmail.com wrote: Hi Daniel, Thanks for the response. I've edited the output to: data format=bedgraph name=bedgraph_slograt label=${tool.name} on

Re: [galaxy-dev] Set output dbkey from parameter value

2014-10-15 Thread Nikos Sidiropoulos
Yes! Thank you very much Daniel. On 15 October 2014 18:14, Daniel Blankenberg d...@bx.psu.edu wrote: Does removing the ‘param_attribute=“value' attribute help? On Oct 15, 2014, at 11:23 AM, Nikos Sidiropoulos nikos.sid...@gmail.com wrote: Hi Daniel, Thanks for the response. I've