Re: [galaxy-dev] Inform tool interface with data specific to selected dataset

2014-05-09 Thread Dooley, Damion
lude: if num in lines: f_out.write('\t'.join(cols[:-1])+'\n') else: if not num in lines: f_out.write('\t'.join(cols[:-1])+'\n') f_in.close() f_out.close() print 'Done.' ___

Re: [galaxy-dev] Inform tool interface with data specific to selected dataset

2014-05-09 Thread Igor Topcin
Hi Damion, Would you mind sharing your approach with us all? Thanks! Igor On May 9, 2014 1:51 PM, "Dooley, Damion" wrote: > Hello, Eric, > > If the dynamic filters approach doesn't work out I can send you an > approach that worked for me. It involves creating a tool-generated html > report that

Re: [galaxy-dev] Inform tool interface with data specific to selected dataset

2014-05-09 Thread Dooley, Damion
Hello, Eric, If the dynamic filters approach doesn't work out I can send you an approach that worked for me. It involves creating a tool-generated html report that contains a form which provides selection choices; and the form is set to submit to a 2nd tool of your choice tool (it contains the

Re: [galaxy-dev] Inform tool interface with data specific to selected dataset

2014-05-09 Thread Eric Rasche
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" : > Hi Eric, > > the following should work, but is a real hack and not recommended, I think. > > https://galaxy-dist.readthedocs.org/en/

Re: [galaxy-dev] Inform tool interface with data specific to selected dataset

2014-05-09 Thread Björn Grüning
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/parameters/dynamic_options.html Hope that will work for you. Bjoern Am 09.05.2014 16:42, schrieb Eric Rasche: Howdy All, I have a set o

[galaxy-dev] Inform tool interface with data specific to selected dataset

2014-05-09 Thread 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