geneontology / noctua

Graph-based modeling environment for biology, including prototype editor and services
http://noctua.geneontology.org/
BSD 3-Clause "New" or "Revised" License
38 stars 12 forks source link

Create embeddable widget or thumbnail for other databases to embed #221

Closed cmungall closed 8 years ago

cmungall commented 8 years ago

Attached is a super-fake mockup of how a page like http://flybase.org/reports/FBgn0000490.html may be enhanced with a noctua thumbnail. The example is fake (gene is dpp, but dpp doesn't appear in the example model)

screen shot 2015-11-20 at 1 03 51 pm

Is this the right approach?

Some genes may be in multiple models. What do we do here?

If there are no models for the gene, we could also show models 'one hop along' - e.g. to an ortholog, to an interacting gene...

Gene pages would have highest impact, but we of course could have BP pages. Most groups don't do this though, and just like to amigo, where we would have the models on a per GO-term basis.

kltm commented 8 years ago

Some points for consideration:

cmungall commented 8 years ago

embedded image: if we went this route we would probably want imagemaps, with genes going to right page etc

kltm commented 8 years ago

It will almost certainly be images; not sure if the package I'm thinking of supports imagemaps, will check.

On 12/09/2015 12:34 PM, Chris Mungall wrote:

embedded image: if we went this route we would probably want imagemaps, with genes going to right page etc

— Reply to this email directly or view it on GitHub https://github.com/geneontology/noctua/issues/221#issuecomment-163195317.

kltm commented 8 years ago

To add to the above list of possible methods, we could also have the client sites use JS as we do. This would allow for better API freezing (although we don't version GOlr itself, so hm) through npm, at the cost of putting more effort at their end.

Further considering image generation, it would probably have to be a service that passed over the current contents of the index and added/updated the images where model information was found.

kltm commented 8 years ago

With discussion by @vanaukenk and others, it looks like the system is now in place to deliver data (via AmiGO) and manage/parse it (via the usual JS request, response, and manager libraries). It seems likely that the heavy lifting, at least initially, may be done by consumers. But we may fold any useful patterns back into this upstream code.

The initial plan is to just get the data, create the graphs (these first two items are us), and then render it in cytoscape (downstream embedder).