1. Get drug
Returns drugs data with project related connections.
1.1. CURL sample 1
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/test_project/drugs:search?query=aspirin' -X GET \
--cookie "MINERVA_AUTH_TOKEN=xxxxxxxx"
1.2. CURL sample 2
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/Some_id/drugs:search?target=ALIAS:993' -X GET \
--cookie "MINERVA_AUTH_TOKEN=xxxxxxxx"
1.3. Path Parameters
Parameter | Description |
---|---|
|
project identifier |
1.4. Request Parameters
Parameter | Description |
---|---|
|
set of columns (all by default). Available options: name, references, description, synonyms, id, directEvidenceReferences, directEvidence, targets |
|
name of chemical that we are searching for |
|
target element that we are searching for in format TYPE:ID |
1.5. Response Fields
Path | Type | Description |
---|---|---|
|
|
identifier of the chemical |
|
|
name |
|
|
description |
|
|
list of synonyms |
|
|
list of brand names |
|
|
does drug cross blood brain barrier |
|
|
list of references |
|
|
list of targets |
|
|
target name |
|
|
list of target references |
|
|
list of elements on the map associated with this target |
|
|
list of identifiers associated with this target |
1.6. 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", "ACIDUM ACETYLSALICYLICUM (WHO-IP)", "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/data/gene-symbol-report/#!/symbol/PTGS2",
"type" : "HGNC_SYMBOL",
"resource" : "PTGS2",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.genenames.org/data/gene-symbol-report/#!/symbol/PTGS1",
"type" : "HGNC_SYMBOL",
"resource" : "PTGS1",
"id" : 0,
"annotatorClassName" : ""
} ],
"references" : [ {
"link" : "https://pubmed.ncbi.nlm.nih.gov/17258197/",
"article" : null,
"type" : "PUBMED",
"resource" : "17258197",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/17131625/",
"article" : null,
"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' -X GET \
--cookie "MINERVA_AUTH_TOKEN=xxxxxxxx"
2.2. Path Parameters
Parameter | Description |
---|---|
|
project identifier |
2.3. Response Fields
Path | Type | Description |
---|---|---|
|
|
list of suggested drug queries |
2.4. Sample Response
[ ]