1. Get chemical
Returns chemicals data with project related connections.
1.1. CURL sample 1
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/TEST_PROJECT/chemicals:search?query=stilbene%20oxide' -X GET \
--cookie "MINERVA_AUTH_TOKEN=xxxxxxxx"
1.2. CURL sample 2
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/TEST_PROJECT/chemicals:search?target=ALIAS:756' -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 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 |
|
|
direct evidence |
|
|
list of references |
1.6. Sample Response
[ {
"name" : "stilbene oxide",
"references" : [ {
"link" : "http://id.nlm.nih.gov/mesh/C025906",
"type" : "MESH_2012",
"resource" : "C025906",
"id" : 0,
"annotatorClassName" : ""
} ],
"description" : null,
"synonyms" : [ "stilbene oxide, (cis)-isomer", "stilbene oxide, (trans)-isomer", "stilbene oxide, trans-", "stilbene oxide, (2S-trans)-isomer", "stilbene oxide, (2R-trans)-isomer", "trans-stilbene oxide", "stilbene oxide, trans-(+-)-isomer" ],
"id" : {
"link" : "http://id.nlm.nih.gov/mesh/C025906",
"type" : "MESH_2012",
"resource" : "C025906",
"id" : 0,
"annotatorClassName" : ""
},
"directEvidenceReferences" : [ ],
"directEvidence" : null,
"targets" : [ {
"name" : "GSTA4",
"targetParticipants" : [ {
"link" : "https://www.genenames.org/data/gene-symbol-report/#!/symbol/GSTA4",
"type" : "HGNC_SYMBOL",
"resource" : "GSTA4",
"id" : 0,
"annotatorClassName" : ""
} ],
"references" : [ {
"link" : "https://pubmed.ncbi.nlm.nih.gov/16510128/",
"article" : null,
"type" : "PUBMED",
"resource" : "16510128",
"id" : 0,
"annotatorClassName" : ""
} ],
"targetElements" : [ {
"id" : 713,
"modelId" : 284,
"type" : "ALIAS"
}, {
"id" : 712,
"modelId" : 285,
"type" : "ALIAS"
}, {
"id" : 713,
"modelId" : 284,
"type" : "ALIAS"
} ]
}, {
"name" : "GSTP1",
"targetParticipants" : [ {
"link" : "https://www.genenames.org/data/gene-symbol-report/#!/symbol/GSTP1",
"type" : "HGNC_SYMBOL",
"resource" : "GSTP1",
"id" : 0,
"annotatorClassName" : ""
} ],
"references" : [ {
"link" : "https://pubmed.ncbi.nlm.nih.gov/23721876/",
"article" : null,
"type" : "PUBMED",
"resource" : "23721876",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://pubmed.ncbi.nlm.nih.gov/17190945/",
"article" : null,
"type" : "PUBMED",
"resource" : "17190945",
"id" : 0,
"annotatorClassName" : ""
} ],
"targetElements" : [ ]
} ]
} ]
2. Get suggested chemical queries
Get list of suggested chemical queries in the context of the project.
2.1. CURL sample
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/TEST_PROJECT2/chemicals/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 chemical queries |
2.4. Sample Response
[ ]