I am implementing a web frontend for a tool I've developed for annotating a particular type of genomic feature. The user can provide their own data via copy/paste or file upload, but I also have sequences for a few model organisms pre-loaded on the site. The tool generates a GFF3 file that is accessible via a web URL.
For users that provide their own data, they are of course on they own for visualizing and analyzing the results. But for the pre-loaded model organisms, I thought it would be useful to provide a links to public GBrowse browsers. For each data point, it would be great to provide a link that will take user to the relevant genome context view in GBrowse. In addition, it would be great if the links could somehow tell GBrowse where the data are and load them as a custom track for that user.
I've been playing with MSU's rice GBrowse instance, and I've come up with something that works. If I provide the following link (filled in with the appropriate values)...
http://rice.plantbiology.msu.edu/cgi-bin/gbrowse/rice/?start=$start;stop=$end;ref=$chr;eurl=$mygff3url
...then MSU's GBrowse will do precisely what I described--go to the relevant genome context view, populate a custom track with data from my site, and display the track. I don't know if this is the right way or best way to do it, but it seems to work.
I've had less success with the GBrowse instances at TAIR and MaizeGDB. I was unable to get any custom data to display at TAIR (even by manual upload), so they may have other issues. I was, however, able to get custom data to display at MaizeGDB by manual upload. Unfortunately, the little trick that worked for MSU does not work on MaizeGDB. It probably has to do with the fact that they are running different versions of GBrowse.
Is there any documentation for what I am trying to do? Is there a solution that will work across different versions of GBrowse?
Thanks!