Ebi

CROssBAR Data API

About CROssBAR & data CROssBAR: Comprehensive Resource of Biomedical Relations with Deep Learning Applications and Knowledge Graph Representations CROssBAR is…

Data & analytics#openapi#open-data

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

About CROssBAR & data

CROssBAR: Comprehensive Resource of Biomedical Relations with Deep Learning Applications and Knowledge Graph Representations
CROssBAR is a comprehensive system that integrates large-scale biomedical data from various resources e.g UniProt, ChEMBL, Drugbank, EFO, HPO, InterPro & PubChem and stores them in a new NoSQL database, enrich these data with deep learning based prediction of relations between numerous biomedical entities, rigorously analyse the enriched data to obtain biologically meaningful modules and display them to the user via easy to interpret, interactive and heterogeneous knowledge graphs.
CROssBAR platform exposes a set of 12 endpoints to query data stored in the CROssBAR database. These endpoints help the user to find data of interest using different parameters provided by the API endpoint.
For example,
https://www.ebi.ac.uk/tools/crossbar/proteins?accession=A0A023GRW5 -> will provide protein information about accession 'A0A023GRW5' including its interactions, functions, cross-references, variations and more.
https://www.ebi.ac.uk/tools/crossbar/activities?moleculeChemblId=CHEMBL465983 -> will provide ChEMBL bio-interactions related information including targets and bio-activity measurements associated with molecule chembl id 'CHEMBL465983'

Knowledge graphs
Another use case of CROssBAR's API endpoints is in building knowledge graphs. These endpoints can be weaved together (output from one API endpoint fed as input to another API endpoint) programmatically to link nodes like protein, disease, drugs etc. as nodes of the graph. The endpoints are designed to be independent from each other which allows users the flexibility to drive biological networks from any facet e.g drug-centric, disease-centric, gene-centric etc. Our service for knowledge graph construction is available at https://crossbar.kansil.org.
An example for the part of the background queries on the CROssBAR API during the construction of a knowledge graph,
(with the aim of keeping the example simple, we have only included the processes related to pathways, genes/proteins and drugs/compounds)
In this example, we would like to find bio-active compounds (with a pChEMBL value threshold of at least 6.0) & drugs targeting all proteins belonging to "WNT ligand biogenesis and trafficking" pathway (based on Reactome pathway annotations).
This can be achieved by using endpoints listed on this swagger documentation as illustrated in following steps-
Find bio-active compounds (with a pChEMBL value threshold of at least 6.0) & drugs targeting all proteins belonging to "WNT ligand biogenesis and trafficking" pathway (based on Reactome annotations)
This can be achieved by using endpoints listed on this swagger documentation as illustrated in following steps-

  1. Get all proteins from “/proteins” API endpoint which have a reactome pathway name equal to "WNT ligand biogenesis and trafficking".
  2. From the collection of uniprot protein accessions collected from step 1 above, we query “/targets” API endpoint to obtain the ‘target_chembl_id’s of these proteins.
  3. From the collection of target_chembl_ids collected from step 2 above, we query “/activities” API endpoint with pChEMBL value >=6, to obtain the ’molecule_chembl_id’s of the molecules that we need.
  4. From the collection of uniprot protein accessions collected from step 1 above, we find out Drug names and ids from the “/drugs” API endpoint that targets our proteins.
  5. From the collection of ’molecule_chembl_id’s obtained in step3, we query “/molecules” endpoint to get the compounds that are interacting with the genes/proteins belonging to the “WNT ligand biogenesis and trafficking” pathway.

Endpoints 13

Activities

  • GETGet ChEMBL activities/activities?assayChemblId=string&limit=10&moleculeChemblId=string&page=0&pchemblValue=0.0&targetChemblId=string

Assays

  • GETGet ChEMBL assays/assays?assayChemblId=string&assayOrg=string&assayType=string&limit=10&page=0&targetChemblId=string

Drugs

  • GETdrugs collected from Drugbank/drugs?accession=string&chemblId=string&identifier=string&limit=10&name=string&page=0&pubchemCid=string

EFO disease terms

  • GETGet EFO diseases data/efo?doid=string&label=string&limit=10&mesh=string&oboId=string&omimId=string&page=0&synonym=string

HPO

  • GETGet HPO phenotypes data/hpo?genesymbol=string&hpotermname=string&limit=10&page=0&synonym=string

Intact

  • GETMolecular Interactions collected from IntAct/intact?accession=string&confidence=0.0&gene=string&limit=10&page=0

Molecules

  • GETGet ChEMBL molecules/molecules?canonicalSmiles=string&inchiKey=string&limit=10&moleculeChemblId=string&page=0

Proteins

  • GETProteins collected from Uniprot for selective tax ids HUMAN(9606), MOUSE(10090), RAT(10116), BOVINE(9913), ESCHERICHIA_COLI(83333), SUS_SCROFA(9823), MYCOBACTERIUM_TUBERCULOSIS(83332), ORYCTOLAGUS_CUNICULUS(9986), SACCHAROMYCES_CEREVISIAE(559292), CVHSA(694009) & SARS2(2697049)/proteins?accession=string&ec=string&fullName=string&gene=string&go=string&interpro=string&limit=10&omim=string&orphanet=string&page=0&pfam=string&reactome=string&taxId=0

PubChem Bioassay Sids

  • GETGet pubchem bioassays associated to particular substance ids (sid) & outcome/pubchem/bioassays/sids?limit=10&outcome=string&page=0&sids=string

PubChem Biossays

  • GETGet pubchem bioassays/pubchem/bioassays?accession=string&assayPubchemId=string&limit=1&ncbiProteinId=string&page=0

PubChem Compounds

  • GETGet pubchem compounds/pubchem/compounds?canonicalSmiles=string&cid=string&inchiKey=string&limit=10&page=0

PubChem Substances

  • GETGet pubchem substances/pubchem/substances?cid=string&limit=10&page=0&sid=string

Targets

  • GETGet ChEMBL targets/targets?accession=string&limit=10&page=0&targetIds=string

API details

Base URL
https://www.ebi.ac.uk/Tools/crossbar
Authentication
None declared in the description
Operations
13 operations on 13 pathsGET 13
Main resources
Activities 1Assays 1Drugs 1EFO disease terms 1HPO 1Intact 1Molecules 1Proteins 1PubChem Bioassay Sids 1PubChem Biossays 1
Description format
Swagger 2.0, API version 1.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the CROssBAR Data API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the CROssBAR Data API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Get ChEMBL activities” (GET /activities?assayChemblId=string&limit=10&moleculeChemblId=string&page=0&pchemblValue=0.0&targetChemblId=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the CROssBAR Data API?

About CROssBAR & data CROssBAR: Comprehensive Resource of Biomedical Relations with Deep Learning Applications and Knowledge Graph Representations CROssBAR is… It is listed under Data & analytics and has 13 endpoints.

Who publishes the CROssBAR Data API?

It is listed from Ebi's public API description (an OpenAPI document), not published by Ebi on Swastik Codes. Anyone who controls ebi.ac.uk can claim the profile by adding a DNS TXT record.

What is the base URL of the CROssBAR Data API?

Requests go to https://www.ebi.ac.uk/Tools/crossbar. Endpoint paths are added to this base URL.

How do I authenticate with the CROssBAR Data API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the CROssBAR Data API have?

13 operations on 13 paths (13 GET). The largest groups are Activities, Assays, Drugs, EFO disease terms.

Is forking the CROssBAR Data API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.