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=1475
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1500", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1450", "results": [ { "id": 1472, "identifier": "283159", "identifier_type": "int", "name": "OR8D1", "properties": { "url": "http://identifiers.org/ncbigene/283159", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 8, subfamily D, member 1" }, "metanode": "Gene" }, { "id": 1473, "identifier": "5629", "identifier_type": "int", "name": "PROX1", "properties": { "url": "http://identifiers.org/ncbigene/5629", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "prospero homeobox 1" }, "metanode": "Gene" }, { "id": 1474, "identifier": "GO:0051256", "identifier_type": "str", "name": "mitotic spindle midzone assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051256", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1475, "identifier": "GO:0098792", "identifier_type": "str", "name": "xenophagy", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0098792", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1476, "identifier": "C0683369", "identifier_type": "str", "name": "Consciousness clouding", "properties": { "url": "http://identifiers.org/umls/C0683369", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1477, "identifier": "DB01114", "identifier_type": "str", "name": "Chlorphenamine", "properties": { "url": "http://www.drugbank.ca/drugs/DB01114", "inchi": "InChI=1S/C16H19ClN2/c1-19(2)12-10-15(16-5-3-4-11-18-16)13-6-8-14(17)9-7-13/h3-9,11,15H,10,12H2,1-2H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=SOYKEARSMXGVTM-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1478, "identifier": "GO:0044241", "identifier_type": "str", "name": "lipid digestion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044241", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1479, "identifier": "GO:0009082", "identifier_type": "str", "name": "branched-chain amino acid biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009082", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1480, "identifier": "PC7_7679", "identifier_type": "str", "name": "Sterols are 12-hydroxylated by CYP8B1", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1481, "identifier": "23468", "identifier_type": "int", "name": "CBX5", "properties": { "url": "http://identifiers.org/ncbigene/23468", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "chromobox homolog 5" }, "metanode": "Gene" }, { "id": 1482, "identifier": "84436", "identifier_type": "int", "name": "ZNF528", "properties": { "url": "http://identifiers.org/ncbigene/84436", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 528" }, "metanode": "Gene" }, { "id": 1483, "identifier": "C0549288", "identifier_type": "str", "name": "Pelvic venous thrombosis", "properties": { "url": "http://identifiers.org/umls/C0549288", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1484, "identifier": "105374299", "identifier_type": "int", "name": "LOC105374299", "properties": { "url": "http://identifiers.org/ncbigene/105374299", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "proline-rich protein 36-like" }, "metanode": "Gene" }, { "id": 1485, "identifier": "GO:0070178", "identifier_type": "str", "name": "D-serine metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070178", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1486, "identifier": "6327", "identifier_type": "int", "name": "SCN2B", "properties": { "url": "http://identifiers.org/ncbigene/6327", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "sodium channel, voltage gated, type II beta subunit" }, "metanode": "Gene" }, { "id": 1487, "identifier": "105376752", "identifier_type": "int", "name": "LOC105376752", "properties": { "url": "http://identifiers.org/ncbigene/105376752", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "NPIP-like protein 1" }, "metanode": "Gene" }, { "id": 1488, "identifier": "PC7_1543", "identifier_type": "str", "name": "Activation of PKB", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1489, "identifier": "PC7_4159", "identifier_type": "str", "name": "Glucagon-type ligand receptors", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1490, "identifier": "1031", "identifier_type": "int", "name": "CDKN2C", "properties": { "url": "http://identifiers.org/ncbigene/1031", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "cyclin-dependent kinase inhibitor 2C (p18, inhibits CDK4)" }, "metanode": "Gene" }, { "id": 1491, "identifier": "9650", "identifier_type": "int", "name": "MTFR1", "properties": { "url": "http://identifiers.org/ncbigene/9650", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "mitochondrial fission regulator 1" }, "metanode": "Gene" }, { "id": 1492, "identifier": "51181", "identifier_type": "int", "name": "DCXR", "properties": { "url": "http://identifiers.org/ncbigene/51181", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "dicarbonyl/L-xylulose reductase" }, "metanode": "Gene" }, { "id": 1493, "identifier": "GO:0035735", "identifier_type": "str", "name": "intraciliary transport involved in cilium morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035735", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1494, "identifier": "C0162566", "identifier_type": "str", "name": "Porphyria cutanea tarda", "properties": { "url": "http://identifiers.org/umls/C0162566", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1495, "identifier": "644058", "identifier_type": "int", "name": "LOC644058", "properties": { "url": "http://identifiers.org/ncbigene/644058", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "hCG2045048" }, "metanode": "Gene" }, { "id": 1496, "identifier": "C0162292", "identifier_type": "str", "name": "External ophthalmoplegia", "properties": { "url": "http://identifiers.org/umls/C0162292", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "