-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Goal
Feature a the top pathway search hit and include a visual preview (SBGN) when a query references at least one of the molecular participants.
Primary use case
Referral from public entity databases. In these cases, the query will be in the form of a (a) UniProt accession (referrer: UniProt) and/or b) HGNC symbol (referrer: GeneCards). The response should contain information necessary to populate a Feature Component for the pathway: name, source, #participants, and a URL pointing to an SBGN preview]
Restrictions & Limitations
Main concern is slowing down the "time to interactive" of the search, which degrades the user experience. Several potential bottlenecks:
- Generating an SBGN snapshot on-the-fly
- Identifying entity IDs from the query
- Retrieving a pathway's participants (UnificationXref db, id).
Edge cases
Integrating with case where Biofactoid is contained in a Feature view (i.e. triggered when top search hit source is Biofactoid)
Notes
To reduce bottlenecks, might consider
a. Rendering and caching SBGN previews for all pathways instread of on-the-fly, which might also be useful in Google indexing
- https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1010635
- https://gist.github.com/cannin/7e35f3fae274370bd0a70c7b1840c743
b. Have cPath2 index and return UnificationXrefs to bypass need to retrieve these on-the-fly information separately