NCATS-Tangerine / translator-api-registry

This repo hosts the API metadata for the Translator project
13 stars 31 forks source link

add record for iPTMnet API #89

Open andrewsu opened 2 years ago

andrewsu commented 2 years ago

Data Source

Optional. Name of the preferred source for this data. E.g. OMIM, DrugBank

Main Entity Type

What kind of entity are you interested in? Biolink type preferred, e.g. variant, disease, gene

Connected Entity Type

What kind of thing should the subject be connected to? E.g. for drug-disease links this would be 'disease'. Biolink type preferred

Example statement

Enter one or more examples of statements/edges you would expect to retrieve using this source. For example, "aldehydes exacerbates Fanconi anemia". In future this could be used to drive integration tests

From https://research.bioinformatics.udel.edu/iptmnet/api/P24941/substrate, this snippet asserts that CDK7 phosphorylates CDK2 with various bits of provenance

{
  "residue": "T",
  "site": "T165",
  "ptm_type": "Phosphorylation",
  "score": 3,
  "sources": [
    {
      "name": "RLIMS-P",
      "label": "rlimsp",
      "url": "http://research.bioinformatics.udel.edu/rlimsp/"
    },
    {
      "name": "PSP",
      "label": "psp",
      "url": "http://www.phosphosite.org/"
    }
  ],
  "enzymes": [
    {
      "id": "P50613",
      "enz_type": "uniprot_ac",
      "name": "CDK7"
    }
  ],
  "pmids": [
    "18396144"
  ]
}

From https://research.bioinformatics.udel.edu/iptmnet/api/P24941/as-enzyme, this snippet asserts that CDK2 phosphorylates MCM4 with various bits of provenance

{
  "substrate": "P33991",
  "substrate_symbol": "MCM4",
  "site": "S3",
  "score": 0,
  "sources": [
    {
      "name": "HPRD",
      "label": "hprd",
      "url": "http://www.hprd.org/"
    }
  ],
  "pmids": [
    "19651622",
    "16519687",
    "20068231"
  ]
}

Preferred format or ingest method

How would you prefer to get the data? Via API or Data dump that can be ingested into your KG? Would you prefer a smart API registry entry, a neo4j dump, biolink-compliant CSV/RDF/JSON that can be loaded with KGX?

colleenXu commented 11 months ago

I've written a SmartAPI yaml w/ x-bte annotation for this resource based on the resource's swagger v2 doc (page, source json). It covers the two endpoints / situations Andrew described above.

However, this isn't ready yet:

Notes:

colleenXu commented 11 months ago

Related infores stuff is ready but not deployed yet:

colleenXu commented 11 months ago

Small update

while the api page (swagger v2) and website are back up as of Monday, the GET requests are still failing tonight:

So I haven't tested the x-bte annotation yet...

colleenXu commented 10 months ago

Moving to on-hold in https://github.com/orgs/biothings/projects/12/views/1, still waiting for the GET requests to succeed so I can test the x-bte annotation

colleenXu commented 9 months ago

@newgene @andrewsu

I haven't been able to get a successful response from this API since 12/6. I've been occasionally doing the example queries to see if I get a successful response and haven't gotten one.

It may be a good idea to contact that group to ask about their API? They wrote a paper on their API work in 2020, which isn't that long ago https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7216315/

I'm also wondering if standing up a BioThings API for this data is a good idea...

newgene commented 9 months ago

👍 seems a good candidate of building an API out of their data