Skip to content

Server-side module that wraps pc xref-to-uri mapper (/pc2/miriam/uri)  #1128

@jvwong

Description

@jvwong

Background

There are instances in the app where we provide hyperlinks for an entity. These hyperlinks are intended to resolve to a human-readable web page concerning a 'record' (e.g. P04637) within a 'collection' ('UniProt Knowledgebase') from a 'resource' (e.g. 'Universal Protein Resource using Persistent URL system'). There, users can learn more about the entity and link to resources therein.

The Pathways node tooltip data derives from BioPAX Xrefs. However, it is more useful to supply clients with label - url pairs, rather than db - id pairs. This could be aided by using the pc metadata web service to map Xref db, id pairs to a resolvable url.

Description of new feature

A server-side module that wraps the pc metadata web service. Takes in (xref) db and id and returns url.

Motivation for new feature

Towards a more robust approach to map pathway xrefs to label, url pairs that can be sent to clients. This is used in pathway metadata tooltip.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions