[Bioperl-l] Bio::Graphics inside PHP
Scott Cain
scott at scottcain.net
Mon Feb 8 14:41:53 EST 2010
Lincoln,
Something I've been thinking about recently is whether it would be
possible to have gbrowse_img generate the image and the image map
separately so that they could be used in something like this (a php
page). It could just return the image map if something like map=1
were supplied as an argument. Could that be done?
Scott
On Mon, Feb 8, 2010 at 11:33 AM, Lincoln Stein <lincoln.stein at gmail.com> wrote:
> There's an embeddable version of gbrowse_img that generates the imagemap so
> it is clickable. If you use an <iframe> the formatting usually works out
> pretty well.
>
> Lincoln
>
> On Mon, Feb 8, 2010 at 11:20 AM, Daniel Renfro <bluecurio at gmail.com> wrote:
>
>> I've been trying different ways to do this same thing. At EcoliWiki.net we
>> use GBrowse to show all the strains of Ecoli and assoc phage, plasmids,
>> etc.
>> so this is definitely something I think many other model-organism databases
>> could use.
>>
>> The final solution was to construct a link to gbrowse_img with all the
>> necessary variables coming in from $_REQUEST and throw it in the src=""
>> attribute of the <img> tag. This works pretty good for what we're doing.
>> Good luck.
>>
>> -Daniel Renfro
>>
>> Hu Lab Research Associate
>> Dept. of Biochemistry and Biophysics
>> 2128 TAMU
>> Texas A&M Univ.
>> College Station, TX 77843-2128
>> 979-862-4055
>> _______________________________________________
>> Bioperl-l mailing list
>> Bioperl-l at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>>
>
>
>
> --
> Lincoln D. Stein
> Director, Informatics and Biocomputing Platform
> Ontario Institute for Cancer Research
> 101 College St., Suite 800
> Toronto, ON, Canada M5G0A3
> 416 673-8514
> Assistant: Renata Musa <Renata.Musa at oicr.on.ca>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>
--
------------------------------------------------------------------------
Scott Cain, Ph. D. scott at scottcain dot net
GMOD Coordinator (http://gmod.org/) 216-392-3087
Ontario Institute for Cancer Research
More information about the Bioperl-l
mailing list