monarch-initiative / monarch-legacy

Monarch web application and API
BSD 3-Clause "New" or "Revised" License
42 stars 37 forks source link

New page: annotation page #705

Open cmungall opened 9 years ago

cmungall commented 9 years ago

All our pages are currently object-centric (geme, ontology term, etc). We would like to have an association centric page.

/annotation/:id

We have these in golr as the id field (e.g /solr/golr/select/?q=id:bb7ae97d-ab5d-4179-ac0f-1a9151bfc7e7).

Alternately we may wish to show all the sources for any given pairing, e.g.

/annotations/:subj/:obj

Opinions on display welcome, but it may simply be the same as the row in the subject/object pages with each column a row. But here we can actually show more in terms of the chain of evidence.

We could directly render the evidence json object as a graph using cytoscape.js (see existing code in labs). @ccondit will add the json objects back into golr, using the bbop-js model with additional info in the metas.

We could also render this as plain html too; e.g. [gene] is association with [disease] via [source, ref], and [disease] is associated with [phenotype] via [ref,source].

kshefchek commented 9 years ago

Created very basic association pages, see http://beta.monarchinitiative.org/association/MONARCH:fe2c101594dc486c9e954022746d240a

jmcmurry commented 9 years ago

@kshefchek This doesn't seem to be working on beta or on production; any ideas as to why? Is this just an issue of a non persistent identifier, or is the basic infrastructure no longer working? Also, what are the links (now and envisioned) that get you to an association page?

kshefchek commented 9 years ago

The page should work; it is most likely an out dated ID. Right now these are not linked from anywhere, but could eventually be linked from any of our data tables on other pages.

cmungall commented 8 years ago

is this the ticket for evidence graphs (continuing from #1232)?

it would be good if we could capture the original cypher query used in the meta field (see also https://github.com/monarch-initiative/configs/issues/18).