PathwayCommons / cpath2

Biological pathway data integration and access platform (Pathway Commons)
http://www.pathwaycommons.org/pc2/
MIT License
6 stars 5 forks source link

A web service or/and data file: IDs associated with each URI #290

Closed IgorRodchenkov closed 5 years ago

IgorRodchenkov commented 6 years ago

Thinking of PathwayCommons/app-ui#326, we (with @jvwong) suggest, once per Pathway Commons (PC) release, we generate and put to the latest PC downloads another output data file (like we did for #244) and perhaps add a web service, using JSON format, which would be like the following:

[
  {
    "uri" : "http://pathwaycommons.org/pc2/Protein_3f33302b37de15b1610ccd4a8952f7f7",
    "type" : "Protein",
    "generic" : true,
    "label" : "JNK",
    "name": ["blah","blah"],
    "HGNC Symbol":["MAPK8","MAPK9","MAPK10"],
    "UniProt":["blah","blah"],
    "ChEBI":["blah","blah"],
    "datasource":[],
    "organism":[],
  },
]

We could later on extend this format to include other types of entity (e.g., Interaction) or id (e.g., PMID, CHEBI) without breaking existing client apps. E.g., add optional "uniprot_ids" later (for protein/dna entities), and "chebi_ids" - only for small molecule type entries...

@d2fong @hmtinc

IgorRodchenkov commented 6 years ago

Shall we also use id-mapping to add IDs in case a BioPAX object does not have corresponding values (Xrefs)?

IgorRodchenkov commented 5 years ago

The release will generate physical_entities.json output file. Won't implement the web service now - let's reopen the issue if needed later on.