From: Scott C. <ca...@cs...> - 2006-11-16 16:47:00
|
On Wed, 2006-11-15 at 20:47 +0000, Stephen Taylor wrote: > Hi Andrew, > >Next comes the figuring out how to populate the pop up menu with > >relevant info... > > =20 > > > Yep. This is more tricky... I think we should try and use as many=20 > 'official' GBrowse calls as possible to ensure future compatibility. I=20 > wonder if Lincoln or Scott (if they are reading this) could offer any=20 > advice? >=20 The GBrowse cgi doesn't expose much in terms of fundamentals that one could use for populating popup menus with data. Currently, people who use popups with gbrowse create all of the data up front and encode it in javascript elements in the imagemap. I suppose that works fine from a cgi point of view, but is not as appropriate for an ajax application (is it?). So if we want to make it work in an 'ajaxy' way, we'll need either to expand the api of the gbrowse cgi, or create another cgi for serving up xml for requests like that. If you want to see an example of how people are currently generating popups, you can look at this example: http://www.plasmodb.org/cgi-bin/gbrowse/plasmodb/?start=3D101357;stop=3D121= 356;ref=3DMAL12;width=3D800;version=3D100;label=3DAnnotatedGenes-SyntenySpa= nsVivaxMC-SyntenyGenesVivaxMC;id=3D9cf36ae32368b7ec3e3c516c08c358d4 which is done with this conf file: http://gmod.cvs.sourceforge.net/gmod/Generic-Genome-Browser/contrib/SynView= /gbrowse.conf/plasmodb.conf?revision=3D1.1.2.1&view=3Dmarkup&pathrev=3Dgbro= wse-session Scott --=20 ------------------------------------------------------------------------ Scott Cain, Ph. D. ca...@cs... GMOD Coordinator (http://www.gmod.org/) 216-392-3087 Cold Spring Harbor Laboratory |