Inform tool interface with data specific to selected dataset
Hi Eric, the following should work, but is a real hack and not recommended, I think. https://galaxy-dist.readthedocs.org/en/latest/_modules/galaxy/tools/paramete... <code file="filter_genome_from_file.py"> <param name = "a" label = "one input" format = "data" type = "select" dynamic_options = "get_genomes_from_b($input_b)" /> Hope that will work for you. Bjoern Am 09.05.2014 16:42, schrieb Eric Rasche:
Howdy All,
I have a set of tools in two parts; the first part builds some databases and prepares some data structures, the second tool plots a subset of the data in the data structure. Specifically, the data in the structures are named genomes. The second tools needs to know which genomes, and I'd like to allow the user to be able to select from a list rather than typing in manually.
Essentially what I'd like to be able to do is create a set of options for an <input type="select"> from the results of executing a perl/python script. Is there any way to do this as of now? (ugly hacks are OK as this is a private server)
-- Eric Rasche Programmer II Center for Phage Technology Texas A&M University College Station, TX 77843 404-692-2048 <tel:4046922048> esr@tamu.edu <mailto:esr@tamu.edu>
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
Hi Björn, Brilliant, thank you. That should be exactly what I need. Good to know all of these dynamic options filters exist. 09.05.2014, 15:54, "Björn Grüning" <bjoern.gruening@gmail.com>:
Hi Eric,
the following should work, but is a real hack and not recommended, I think.
https://galaxy-dist.readthedocs.org/en/latest/_modules/galaxy/tools/paramete...
<code file="filter_genome_from_file.py"> <param name = "a" label = "one input" format = "data" type = "select" dynamic_options = "get_genomes_from_b($input_b)" />
Hope that will work for you. Bjoern
Am 09.05.2014 16:42, schrieb Eric Rasche:
Howdy All,
I have a set of tools in two parts; the first part builds some databases and prepares some data structures, the second tool plots a subset of the data in the data structure. Specifically, the data in the structures are named genomes. The second tools needs to know which genomes, and I'd like to allow the user to be able to select from a list rather than typing in manually.
Essentially what I'd like to be able to do is create a set of options for an <input type="select"> from the results of executing a perl/python script. Is there any way to do this as of now? (ugly hacks are OK as this is a private server)
-- Eric Rasche Programmer II Center for Phage Technology Texas A&M University College Station, TX 77843 404-692-2048 <tel:4046922048> esr@tamu.edu <mailto:esr@tamu.edu>
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
-- Eric Rasche Programmer II Center for Phage Technology Texas A&M Univesity College Station, TX 77843 Ph: 4046922048
participants (2)
-
Björn Grüning
-
Eric Rasche