Skip to content

Service Provider

Back to KPs

Service Provider is a Translator System Knowledge Provider created by Team Service Provider with support from Team Exploring Agent. It supports queries expressed in the TRAPI format which are acyclic. Service provider leverages the BioThings API stack to build and deploy Translator KP APIs from external data sources. By registering and annotating these KP APIs in the SmartAPI registry, these KP APIs can be quickly integrated into the Translator ecosystem and used to answer the user queries. Access to Service Provider is provided through BioThings Explorer, which also acts as the Autonomous Relay Agent Exploring Agent.

Modes of Access

Tools and KP APIs

  • BioThings SDK
  • Intro: A knowledge source KP API SDK
  • Docs: https://docs.biothings.io
  • PyPI package: https://pypi.org/project/biothings
  • GitHub: BioThings API

  • BioThings Studio

  • Intro: A web UI for managing underlying datasource updates
  • GitHub: https://github.com/biothings/biothings_studio

  • SmartAPI: https://smart-api.info

  • Intro: Translator’s API registry
  • Translator portal at SmartAPI
  • GitHub: SmartAPI

  • MyGene.info: https://mygene.info

  • Intro: A gene-centric knowledge KP
  • Docs: https://docs.mygene.info
  • GitHub: MyGene.info

  • MyVariant.info: https://myvariant.info

  • Intro: A genetic variant-centric KP
  • Docs: https://docs.myvariant.info
  • GitHub: MyVariant.info

  • MyChem.info: https://mychem.info

  • Intro: A drug and chemical-centric KP
  • Docs: https://docs.mychem.info = GitHub: MyChem.info

  • MyDisease.info: https://mydisease.info

  • Intro: A disease and phenotype-centric KP
  • Docs: https://docs.mydisease.info
  • GitHub: MyDisease.info

All other KPs hosted at: https://biothings.ncats.io

Live Translator ‘Meta Knowledge Graph’ (MetaKG): https://smart-api.info/api/metakg

Issues using Service Provider should be logged in the BioThings Explorer issue tracker

Use Cases

One-hop query:

echo '{
  "message": {
    "query_graph": {
      "nodes": {
        "sn": { "categories": ["biolink:SmallMolecule"] },
        "on": { "categories": ["biolink:Gene"], "ids": ["NCBIGene:154"] }
      },
      "edges": {
        "e1": {
          "subject": "sn",
          "object": "on",
          "predicates": ["biolink:affects"]
        }
      }
    }
  }
}' > onehop.json

# To all of Service Provider
curl -X POST \
"https://bte.transltr.io/v1/team/service-provider/query" \
-H "Content-Type: application/json" \
-H "accept: application/json" \
-d @onehop.json

# To a specific Service Provider BioThings API
# For this example, BioThings DGIdb
curl -X POST \
"https://bte.transltr.io/v1/smartapi/e3edd325c76f2992a111b43a907a4870/query" \
-H "Content-Type: application/json" \
-H "accept: application/json" \
-d @onehop.json

Other Translator KP APIs Powered by BioThings SDK

Knowledge Sources Accessed

Aeolus (MyChem) • agrkb (BioThings AGR) • bindingdb (BioThings BindingDB) • bioplanet (BioThings Bioplanet Pathway-Disease and Pathway-Gene APIs) • Chebi xrefs to reactome and rhea (MyChem) • Chembl (MyChem) • CIViC (MyVariant) • ClinGen (MyGene) • Clinvar (MyVariant) • complex-portal (ComplexPortal’s API) • ConsensusPathDB (MyGene) • CTD’s API (MyDisease) • dbsnp (MyVariant) • ddinter (BioThings DDInter) • dgidb (BioThings DGIdb) • DISEASES (BioThings DISEASES) • disgenet (MyDisease) • Drugcentral (MyChem) • EBI gene2phenotype (BioThings EBIgene2phenotype) • FDA orphan drug data (MyChem) • FooDB (BioThings FooDB) • FoodData Central (BioThings FoodData Central) • GO (BioThings GO Biological Process, BioThings GO Cellular Component, BioThings GO Molecular Function) • GO annotations - NCBI Gene (MyGene) • GTRx (BioThings GTRx) • HPO (BioThings HPO) • HPO Annotations (MyDisease, BioThings HPO) • iDISK (BioThings IDISK) • InnateDB (BioThings InnateDB) • MGI gene-disease/gene-phenotype info (BioThings MGI gene2phenotype) • monarchinitiative (Monarch API) • mondo (MyDisease) • NCATS RARe-SOURCE (BioThings RARe-SOURCE) • Panther (MyGene) • pfocr (BioThings PFOCR) • reactome (MyGene) • repoDB (BioThings repoDB API) • rhea (BioThings Rhea) • semmeddb (BioThings SEMMEDDB) • suppKG (BioThings suppKG) • TTD (BioThings TTD) • uberon (BioThings UBERON) • uniprot gene -> rhea reaction mapping (through EBI Proteins API)

External Documentation