1. Get drug

Returns drugs data with project related connections.

1.1. CURL sample

$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/test_project/drugs:search?query=aspirin' -i -X GET

1.2. Path Parameters

Table 1. /api/projects/{projectId}/drugs:search
Parameter Description

projectId

project identifier

1.3. Response Fields

Path Type Description

[].id

object

identifier of the chemical

[].name

string

name

[].description

string

description

[].synonyms

array<string>

list of synonyms

[].brandNames

array<string>

list of brand names

[].bloodBrainBarrier

string

does drug cross blood brain barrier

[].references

array<Reference>

list of references

[].targets

array<Target>

list of targets

[].targets[].name

string

target name

[].targets[].references

array<Reference>

list of target references

[].targets[].targetElements

array<object>

list of elements on the map associated with this target

[].targets[].targetParticipants

array<object>

list of identifiers associated with this target

1.4. Sample Response

[ {
  "name" : "ASPIRIN",
  "references" : [ {
    "link" : "https://www.ebi.ac.uk/chembl/compound/inspect/CHEMBL25",
    "type" : "CHEMBL_COMPOUND",
    "resource" : "CHEMBL25",
    "id" : 0,
    "annotatorClassName" : ""
  } ],
  "description" : null,
  "bloodBrainBarrier" : "N/A",
  "brandNames" : [ ],
  "synonyms" : [ "8-HOUR BAYER", "Acetosalic Acid", "ACETYLSALIC ACID", "ACETYL SALICYLATE", "Acetylsalicylic Acid", "Acetylsalicylic Acid", "ACETYLSALICYLIC ACID", "ACETYLSALICYLIC ACID", "ACETYLSALICYLIC ACID (WHO-IP)", "ACETYLSALICYLICUM ACIDUM", "ACIDUM ACETYLSALICYLICUM", "ALKA RAPID", "ANADIN ALL NIGHT", "ANGETTES 75", "Aspirin", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPIRIN", "ASPRO CLR", "BAY1019036", "BAYER EXTRA STRENGTH ASPIRIN FOR MIGRAINE PAIN", "BENZOIC ACID, 2-(ACETYLOXY)-", "DANAMEP", "DISPRIN CV", "DISPRIN DIRECT", "DURLAZA", "Ecotrin", "ENPRIN", "Equi-Prin", "GENCARDIA", "LEVIUS", "MAX STRGH ASPRO CLR", "MEASURIN", "MICROPIRIN EC", "NSC-27223", "NSC-406186", "NU-SEALS 300", "NU-SEALS 600", "NU-SEALS 75", "NU-SEALS CARDIO 75", "PAYNOCIL", "PLATET", "PLATET 300", "POSTMI 300", "POSTMI 75", "Salicylic Acid Acetate", "VAZALORE" ],
  "id" : "ASPIRIN",
  "targets" : [ {
    "name" : "Cyclooxygenase",
    "targetParticipants" : [ {
      "link" : "https://www.genenames.org/cgi-bin/gene_symbol_report?match=PTGS2",
      "type" : "HGNC_SYMBOL",
      "resource" : "PTGS2",
      "id" : 0,
      "annotatorClassName" : ""
    }, {
      "link" : "https://www.genenames.org/cgi-bin/gene_symbol_report?match=PTGS1",
      "type" : "HGNC_SYMBOL",
      "resource" : "PTGS1",
      "id" : 0,
      "annotatorClassName" : ""
    } ],
    "references" : [ {
      "link" : "https://www.ncbi.nlm.nih.gov/pubmed/17258197",
      "article" : {
        "title" : "Interaction between cyclooxygenase (COX)-1- and COX-2-products modulates COX-2 expression in the late phase of acute inflammation.",
        "authors" : [ "Nakano M", " Denda N", " Matsumoto M", " Kawamura M", " Kawakubo Y", " Hatanaka K", " Hiramoto Y", " Sato Y", " Noshiro M", " Harada Y." ],
        "journal" : "European journal of pharmacology",
        "year" : 2007,
        "link" : "https://www.ncbi.nlm.nih.gov/pubmed/17258197",
        "pubmedId" : "17258197",
        "citationCount" : 6
      },
      "type" : "PUBMED",
      "resource" : "17258197",
      "id" : 0,
      "annotatorClassName" : ""
    }, {
      "link" : "https://www.ncbi.nlm.nih.gov/pubmed/17131625",
      "article" : {
        "title" : "Aspirin resistance: a review of diagnostic methodology, mechanisms, and clinical utility.",
        "authors" : [ "Schwartz KA." ],
        "journal" : "Advances in clinical chemistry",
        "year" : 2006,
        "link" : "https://www.ncbi.nlm.nih.gov/pubmed/17131625",
        "pubmedId" : "17131625",
        "citationCount" : 6
      },
      "type" : "PUBMED",
      "resource" : "17131625",
      "id" : 0,
      "annotatorClassName" : ""
    } ],
    "targetElements" : [ ]
  } ]
} ]

2. Get suggested drug queries

Get list of suggested drug queries in the context of the project.

2.1. CURL sample

$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/test_project/drugs/suggestedQueryList' -i -X GET

2.2. Path Parameters

Table 2. /api/projects/{projectId}/drugs/suggestedQueryList
Parameter Description

projectId

project identifier

2.3. Response Fields

Path Type Description

[]

array<string>

list of suggested drug queries

2.4. Sample Response

[ ]