1. Get drug
Returns drug 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:74' -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 |
|
|
source database of the target |
|
|
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" : "Small molecule drug with a maximum clinical trial phase of IV (across all indications) that was first approved in 1950 and has 19 approved and 148 investigational indications.",
"bloodBrainBarrier" : "N/A",
"brandNames" : [ "8-hour bayer", "Acetosalic acid", "Acetylsalic acid", "Alka rapid", "Anadin all night", "Angettes 75", "Aspirin", "Aspirin component of -pc", "Aspirin component of aggrenox", "Aspirin component of axotal", "Aspirin component of azdone", "Aspirin component of carisoprodol compound", "Aspirin component of clopidogrel/acetylsalicylic acid", "Aspirin component of codoxy", "Aspirin component of darvon compound", "Aspirin component of duocover", "Aspirin component of duoplavin", "Aspirin component of equagesic", "Aspirin component of excedrin", "Aspirin component of fiorinal", "Aspirin component of invagesic", "Aspirin component of invagesic forte", "Aspirin component of lanorinal", "Aspirin component of mepro-", "Aspirin component of micrainin", "Aspirin component of norgesic", "Aspirin component of orphengesic", "Aspirin component of orphengesic forte", "Aspirin component of pa-32540", "Aspirin component of percodan", "Aspirin component of percodan-demi", "Aspirin component of pl2200", "Aspirin component of pravigard pac", "Aspirin component of q-gesic", "Aspirin component of robaxisal", "Aspirin component of roxiprin", "Aspirin component of soma compound", "Aspirin component of synalgos-dc", "Aspirin component of talwin compound", "Aspirin component of vicoprin", "Aspirin component of yosprala", "Aspro clr", "Bayer extra strength aspirin for migraine pain", "Danamep", "Disprin cv", "Disprin direct", "Durlaza", "Enprin", "Equi-prin", "Gencardia", "Levius", "Max strgh aspro clr", "Measurin", "Micropirin ec", "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" ],
"synonyms" : [ "Acetyl salicylate", "Acetylsalicylic acid", "Acetylsalicylic acid (who-ip)", "Acetylsalicylicum acidum", "Acidum acetylsalicylicum", "Acidum acetylsalicylicum (who-ip)", "Aspirin", "BAY1019036", "Benzoic acid, 2-(acetyloxy)-", "NSC-27223", "NSC-406186" ],
"id" : "ASPIRIN",
"targets" : [ {
"source" : {
"link" : null,
"type" : "CHEMBL_TARGET",
"resource" : "ENSG00000095303",
"id" : 0,
"annotatorClassName" : ""
},
"name" : "prostaglandin-endoperoxide synthase 1",
"targetParticipants" : [ {
"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/27715371/",
"article" : null,
"type" : "PUBMED",
"resource" : "27715371",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/16380543/",
"article" : null,
"type" : "PUBMED",
"resource" : "16380543",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/33059704/",
"article" : null,
"type" : "PUBMED",
"resource" : "33059704",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/35798558/",
"article" : null,
"type" : "PUBMED",
"resource" : "35798558",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/25972361/",
"article" : null,
"type" : "PUBMED",
"resource" : "25972361",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/29147175/",
"article" : null,
"type" : "PUBMED",
"resource" : "29147175",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/17959725/",
"article" : null,
"type" : "PUBMED",
"resource" : "17959725",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/22579447/",
"article" : null,
"type" : "PUBMED",
"resource" : "22579447",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/16508388/",
"article" : null,
"type" : "PUBMED",
"resource" : "16508388",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/37425048/",
"article" : null,
"type" : "PUBMED",
"resource" : "37425048",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/30760327/",
"article" : null,
"type" : "PUBMED",
"resource" : "30760327",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/31421091/",
"article" : null,
"type" : "PUBMED",
"resource" : "31421091",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/25432964/",
"article" : null,
"type" : "PUBMED",
"resource" : "25432964",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/22022466/",
"article" : null,
"type" : "PUBMED",
"resource" : "22022466",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/15831902/",
"article" : null,
"type" : "PUBMED",
"resource" : "15831902",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/15041270/",
"article" : null,
"type" : "PUBMED",
"resource" : "15041270",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/11936618/",
"article" : null,
"type" : "PUBMED",
"resource" : "11936618",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/11740205/",
"article" : null,
"type" : "PUBMED",
"resource" : "11740205",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/39963884/",
"article" : null,
"type" : "PUBMED",
"resource" : "39963884",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/24793085/",
"article" : null,
"type" : "PUBMED",
"resource" : "24793085",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/23886173/",
"article" : null,
"type" : "PUBMED",
"resource" : "23886173",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/20112001/",
"article" : null,
"type" : "PUBMED",
"resource" : "20112001",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/19152549/",
"article" : null,
"type" : "PUBMED",
"resource" : "19152549",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/18759857/",
"article" : null,
"type" : "PUBMED",
"resource" : "18759857",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/16962117/",
"article" : null,
"type" : "PUBMED",
"resource" : "16962117",
"id" : 0,
"annotatorClassName" : ""
} ],
"targetElements" : [ ]
}, {
"source" : {
"link" : null,
"type" : "CHEMBL_TARGET",
"resource" : "ENSG00000073756",
"id" : 0,
"annotatorClassName" : ""
},
"name" : "prostaglandin-endoperoxide synthase 2",
"targetParticipants" : [ {
"link" : "https://www.genenames.org/data/gene-symbol-report/#!/symbol/PTGS2",
"type" : "HGNC_SYMBOL",
"resource" : "PTGS2",
"id" : 0,
"annotatorClassName" : ""
} ],
"references" : [ {
"link" : "https://pubmed.ncbi.nlm.nih.gov/12209745/",
"article" : null,
"type" : "PUBMED",
"resource" : "12209745",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/14521730/",
"article" : null,
"type" : "PUBMED",
"resource" : "14521730",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/29800798/",
"article" : null,
"type" : "PUBMED",
"resource" : "29800798",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/19758985/",
"article" : null,
"type" : "PUBMED",
"resource" : "19758985",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/15746988/",
"article" : null,
"type" : "PUBMED",
"resource" : "15746988",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/16099663/",
"article" : null,
"type" : "PUBMED",
"resource" : "16099663",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/35566202/",
"article" : null,
"type" : "PUBMED",
"resource" : "35566202",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/20299600/",
"article" : null,
"type" : "PUBMED",
"resource" : "20299600",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/18230181/",
"article" : null,
"type" : "PUBMED",
"resource" : "18230181",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/24469308/",
"article" : null,
"type" : "PUBMED",
"resource" : "24469308",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/22465430/",
"article" : null,
"type" : "PUBMED",
"resource" : "22465430",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/20608938/",
"article" : null,
"type" : "PUBMED",
"resource" : "20608938",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/17352658/",
"article" : null,
"type" : "PUBMED",
"resource" : "17352658",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/16632868/",
"article" : null,
"type" : "PUBMED",
"resource" : "16632868",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/16203791/",
"article" : null,
"type" : "PUBMED",
"resource" : "16203791",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/15813652/",
"article" : null,
"type" : "PUBMED",
"resource" : "15813652",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/11289104/",
"article" : null,
"type" : "PUBMED",
"resource" : "11289104",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/9836773/",
"article" : null,
"type" : "PUBMED",
"resource" : "9836773",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/9016346/",
"article" : null,
"type" : "PUBMED",
"resource" : "9016346",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/34592918/",
"article" : null,
"type" : "PUBMED",
"resource" : "34592918",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/23799898/",
"article" : null,
"type" : "PUBMED",
"resource" : "23799898",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/25144313/",
"article" : null,
"type" : "PUBMED",
"resource" : "25144313",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/22442604/",
"article" : null,
"type" : "PUBMED",
"resource" : "22442604",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/36425143/",
"article" : null,
"type" : "PUBMED",
"resource" : "36425143",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/25544576/",
"article" : null,
"type" : "PUBMED",
"resource" : "25544576",
"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
[ ]