Question: How To Re-Use A Parameter In A Workflow?
0
gravatar for Robert Curtis Hendrickson
7.4 years ago by
Galaxy Users, I have a workflow where I'd like the user to input a value once, say a number of nucleotides. That value would then be used as an input parameter to several different tasks, for example, to two instances of "Operate on Genomic Intervals > Get flanks" , where it would be used both for the "offset" and "length of flanking regions(s)" in one instance, and it's value and it's *negative* would be used for the second instance. Thus, the user inputs "20", and Get_flanks(20,20) and Get_flanks(-20,20) get run. For this workflow, it's important that those parameters all be of the same magnitude, or things will get messy later, so I don't want the user having to input them separately, or to have to remember which one gets negated... All suggestions welcome, Curtis
galaxy • 1.1k views
ADD COMMENTlink modified 7.4 years ago by Daniel Blankenberg ♦♦ 1.7k • written 7.4 years ago by Robert Curtis Hendrickson130
0
gravatar for Daniel Blankenberg
7.4 years ago by
Daniel Blankenberg ♦♦ 1.7k
United States
Daniel Blankenberg ♦♦ 1.7k wrote:
Hi Curtis, In the workflow editor, you can specify a parameter name within the text boxes for the tool inputs that you want to be set at runtime to the same value. This is done using notation like "${A user entered value}", as seen in these screen shots: Please let us know if we can provide further assistance. Thanks for using Galaxy, Dan
ADD COMMENTlink written 7.4 years ago by Daniel Blankenberg ♦♦ 1.7k
Daniel, Great. That exactly and perfectly solves my problem! Thanks so much. Regards, Curtis To: Robert Curtis Hendrickson Cc: galaxy-user@lists.bx.psu.edu Subject: Re: [galaxy-user] How to re-use a parameter in a workflow? Hi Curtis, In the workflow editor, you can specify a parameter name within the text boxes for the tool inputs that you want to be set at runtime to the same value. This is done using notation like "${A user entered value}", as seen in these screen shots: [cid:image001.png@01CC3D87.DE617530] [cid:image002.png@01CC3D87.DE617530] Please let us know if we can provide further assistance. Thanks for using Galaxy, Dan Galaxy Users, I have a workflow where I'd like the user to input a value once, say a number of nucleotides. That value would then be used as an input parameter to several different tasks, for example, to two instances of "Operate on Genomic Intervals > Get flanks" , where it would be used both for the "offset" and "length of flanking regions(s)" in one instance, and it's value and it's *negative* would be used for the second instance. Thus, the user inputs "20", and Get_flanks(20,20) and Get_flanks(-20,20) get run. For this workflow, it's important that those parameters all be of the same magnitude, or things will get messy later, so I don't want the user having to input them separately, or to have to remember which one gets negated... All suggestions welcome, Curtis ___________________________________________________________ The Galaxy User list should be used for the discussion of Galaxy analysis and other features on the public server at usegalaxy.org<http: usegalaxy.org="">. Please keep all replies on the list by using "reply all" in your mail client. For discussion of local Galaxy instances and the Galaxy source code, please use the Galaxy Development list: http://lists.bx.psu.edu/listinfo/galaxy-dev To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
ADD REPLYlink written 7.4 years ago by Robert Curtis Hendrickson130

Hi,

I encounter the same problem and your screenshots aren't visible anymore. Is this answer still valid ?

ADD REPLYlink written 4.0 years ago by akress0
Please log in to add an answer.

Help
Access

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