Node
Return nodes, sorted by similarity to the search term.
Use search=<str>
to search identifier
for prefix match, and name
for substring and trigram searches (similarity defaults to 0.3);
Use search=<str>&similarity=<value>
to set your own similarity
value in the range of (0, 1.0].
Set similarity=1.0
to exclude trigram search.
Filter for select metanodes using metanodes=<str>
, where <str>
is a comma-separated list of metanode abbreviations.
For example, metanodes=C,D
will restrict to Compound and Disease nodes.
Set other-node=<node_id>
to return non-null values for metapath_count
.
metapath_counts
measures the number of metapaths stored in the database between the result node and other node.
If search
and other-node
and both specified, results are sorted by search similarity and results with metapath_count == 0
are returned.
If other-node
is specified but not search
, results are sorted by metapath_count
(descending) and only results with metapath_count > 0
are returned.
GET /v1/nodes/?format=api&offset=2375
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2400", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2350", "results": [ { "id": 2365, "identifier": "C0428895", "identifier_type": "str", "name": "Labile blood pressure", "properties": { "url": "http://identifiers.org/umls/C0428895", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2366, "identifier": "GO:0060342", "identifier_type": "str", "name": "photoreceptor inner segment membrane", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060342", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 2367, "identifier": "2065", "identifier_type": "int", "name": "ERBB3", "properties": { "url": "http://identifiers.org/ncbigene/2065", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "erb-b2 receptor tyrosine kinase 3" }, "metanode": "Gene" }, { "id": 2368, "identifier": "UBERON:0001352", "identifier_type": "str", "name": "external acoustic meatus", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001352", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D004424" }, "metanode": "Anatomy" }, { "id": 2369, "identifier": "C1455780", "identifier_type": "str", "name": "Aortic valve sclerosis", "properties": { "url": "http://identifiers.org/umls/C1455780", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2370, "identifier": "344787", "identifier_type": "int", "name": "ZNF860", "properties": { "url": "http://identifiers.org/ncbigene/344787", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "zinc finger protein 860" }, "metanode": "Gene" }, { "id": 2371, "identifier": "C2004491", "identifier_type": "str", "name": "Scar", "properties": { "url": "http://identifiers.org/umls/C2004491", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2372, "identifier": "GO:0034434", "identifier_type": "str", "name": "sterol esterification", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034434", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2373, "identifier": "4534", "identifier_type": "int", "name": "MTM1", "properties": { "url": "http://identifiers.org/ncbigene/4534", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "myotubularin 1" }, "metanode": "Gene" }, { "id": 2374, "identifier": "54556", "identifier_type": "int", "name": "ING3", "properties": { "url": "http://identifiers.org/ncbigene/54556", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "inhibitor of growth family, member 3" }, "metanode": "Gene" }, { "id": 2375, "identifier": "347240", "identifier_type": "int", "name": "KIF24", "properties": { "url": "http://identifiers.org/ncbigene/347240", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "kinesin family member 24" }, "metanode": "Gene" }, { "id": 2376, "identifier": "3908", "identifier_type": "int", "name": "LAMA2", "properties": { "url": "http://identifiers.org/ncbigene/3908", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "laminin, alpha 2" }, "metanode": "Gene" }, { "id": 2377, "identifier": "729353", "identifier_type": "int", "name": "LOC729353", "properties": { "url": "http://identifiers.org/ncbigene/729353", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "uncharacterized LOC729353" }, "metanode": "Gene" }, { "id": 2378, "identifier": "255231", "identifier_type": "int", "name": "MCOLN2", "properties": { "url": "http://identifiers.org/ncbigene/255231", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "mucolipin 2" }, "metanode": "Gene" }, { "id": 2379, "identifier": "GO:0060302", "identifier_type": "str", "name": "negative regulation of cytokine activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060302", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2380, "identifier": "GO:0004748", "identifier_type": "str", "name": "ribonucleoside-diphosphate reductase activity, thioredoxin disulfide as acceptor", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004748", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2381, "identifier": "GO:0001958", "identifier_type": "str", "name": "endochondral ossification", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001958", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2382, "identifier": "PC7_3016", "identifier_type": "str", "name": "Death Receptor Signalling", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 2383, "identifier": "GO:0072673", "identifier_type": "str", "name": "lamellipodium morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072673", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2384, "identifier": "C1096701", "identifier_type": "str", "name": "Medical device discomfort", "properties": { "url": "http://identifiers.org/umls/C1096701", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2385, "identifier": "GO:0030091", "identifier_type": "str", "name": "protein repair", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030091", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2386, "identifier": "89890", "identifier_type": "int", "name": "KBTBD6", "properties": { "url": "http://identifiers.org/ncbigene/89890", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "kelch repeat and BTB (POZ) domain containing 6" }, "metanode": "Gene" }, { "id": 2387, "identifier": "C0151599", "identifier_type": "str", "name": "Drug level increased", "properties": { "url": "http://identifiers.org/umls/C0151599", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2388, "identifier": "48", "identifier_type": "int", "name": "ACO1", "properties": { "url": "http://identifiers.org/ncbigene/48", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "aconitase 1, soluble" }, "metanode": "Gene" }, { "id": 2389, "identifier": "8811", "identifier_type": "int", "name": "GALR2", "properties": { "url": "http://identifiers.org/ncbigene/8811", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "galanin receptor 2" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "