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=44800
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44825", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44775", "results": [ { "id": 44800, "identifier": "6094", "identifier_type": "int", "name": "ROM1", "properties": { "url": "http://identifiers.org/ncbigene/6094", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "retinal outer segment membrane protein 1" }, "metanode": "Gene" }, { "id": 44801, "identifier": "10617", "identifier_type": "int", "name": "STAMBP", "properties": { "url": "http://identifiers.org/ncbigene/10617", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "STAM binding protein" }, "metanode": "Gene" }, { "id": 44802, "identifier": "GO:0071786", "identifier_type": "str", "name": "endoplasmic reticulum tubular network organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071786", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44803, "identifier": "28983", "identifier_type": "int", "name": "TMPRSS11E", "properties": { "url": "http://identifiers.org/ncbigene/28983", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "transmembrane protease, serine 11E" }, "metanode": "Gene" }, { "id": 44804, "identifier": "C0006272", "identifier_type": "str", "name": "Obliterative bronchiolitis", "properties": { "url": "http://identifiers.org/umls/C0006272", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44805, "identifier": "C0302870", "identifier_type": "str", "name": "Microcytic", "properties": { "url": "http://identifiers.org/umls/C0302870", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44806, "identifier": "286205", "identifier_type": "int", "name": "SCAI", "properties": { "url": "http://identifiers.org/ncbigene/286205", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "suppressor of cancer cell invasion" }, "metanode": "Gene" }, { "id": 44807, "identifier": "GO:0048588", "identifier_type": "str", "name": "developmental cell growth", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048588", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44808, "identifier": "GO:0016600", "identifier_type": "str", "name": "flotillin complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016600", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 44809, "identifier": "54984", "identifier_type": "int", "name": "PINX1", "properties": { "url": "http://identifiers.org/ncbigene/54984", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "PIN2/TERF1 interacting, telomerase inhibitor 1" }, "metanode": "Gene" }, { "id": 44810, "identifier": "728113", "identifier_type": "int", "name": "ANXA8L1", "properties": { "url": "http://identifiers.org/ncbigene/728113", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "annexin A8-like 1" }, "metanode": "Gene" }, { "id": 44811, "identifier": "C1868809", "identifier_type": "str", "name": "Catheter thrombosis", "properties": { "url": "http://identifiers.org/umls/C1868809", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44812, "identifier": "400120", "identifier_type": "int", "name": "SERTM1", "properties": { "url": "http://identifiers.org/ncbigene/400120", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "serine-rich and transmembrane domain containing 1" }, "metanode": "Gene" }, { "id": 44813, "identifier": "GO:0004376", "identifier_type": "str", "name": "glycolipid mannosyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004376", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 44814, "identifier": "56942", "identifier_type": "int", "name": "CMC2", "properties": { "url": "http://identifiers.org/ncbigene/56942", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "C-x(9)-C motif containing 2" }, "metanode": "Gene" }, { "id": 44815, "identifier": "9068", "identifier_type": "int", "name": "ANGPTL1", "properties": { "url": "http://identifiers.org/ncbigene/9068", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "angiopoietin-like 1" }, "metanode": "Gene" }, { "id": 44816, "identifier": "1608", "identifier_type": "int", "name": "DGKG", "properties": { "url": "http://identifiers.org/ncbigene/1608", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "diacylglycerol kinase, gamma 90kDa" }, "metanode": "Gene" }, { "id": 44817, "identifier": "GO:1900543", "identifier_type": "str", "name": "negative regulation of purine nucleotide metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1900543", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44818, "identifier": "D001835", "identifier_type": "str", "name": "Body Weight", "properties": { "url": "http://identifiers.org/mesh/D001835", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 44819, "identifier": "C0858603", "identifier_type": "str", "name": "Wave slowing", "properties": { "url": "http://identifiers.org/umls/C0858603", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44820, "identifier": "GO:0042149", "identifier_type": "str", "name": "cellular response to glucose starvation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042149", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44821, "identifier": "GO:0031103", "identifier_type": "str", "name": "axon regeneration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031103", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44822, "identifier": "4077", "identifier_type": "int", "name": "NBR1", "properties": { "url": "http://identifiers.org/ncbigene/4077", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "neighbor of BRCA1 gene 1" }, "metanode": "Gene" }, { "id": 44823, "identifier": "58510", "identifier_type": "int", "name": "PRODH2", "properties": { "url": "http://identifiers.org/ncbigene/58510", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "proline dehydrogenase (oxidase) 2" }, "metanode": "Gene" }, { "id": 44824, "identifier": "C1112346", "identifier_type": "str", "name": "Prostate induration", "properties": { "url": "http://identifiers.org/umls/C1112346", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "