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=775
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=800", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=750", "results": [ { "id": 772, "identifier": "C0728899", "identifier_type": "str", "name": "Intoxication", "properties": { "url": "http://identifiers.org/umls/C0728899", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 773, "identifier": "2202", "identifier_type": "int", "name": "EFEMP1", "properties": { "url": "http://identifiers.org/ncbigene/2202", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "EGF containing fibulin-like extracellular matrix protein 1" }, "metanode": "Gene" }, { "id": 774, "identifier": "10965", "identifier_type": "int", "name": "ACOT2", "properties": { "url": "http://identifiers.org/ncbigene/10965", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "acyl-CoA thioesterase 2" }, "metanode": "Gene" }, { "id": 775, "identifier": "9913", "identifier_type": "int", "name": "SUPT7L", "properties": { "url": "http://identifiers.org/ncbigene/9913", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "suppressor of Ty 7 (S. cerevisiae)-like" }, "metanode": "Gene" }, { "id": 776, "identifier": "GO:1903225", "identifier_type": "str", "name": "negative regulation of endodermal cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903225", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 777, "identifier": "155465", "identifier_type": "int", "name": "AGR3", "properties": { "url": "http://identifiers.org/ncbigene/155465", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "anterior gradient 3" }, "metanode": "Gene" }, { "id": 778, "identifier": "4671", "identifier_type": "int", "name": "NAIP", "properties": { "url": "http://identifiers.org/ncbigene/4671", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "NLR family, apoptosis inhibitory protein" }, "metanode": "Gene" }, { "id": 779, "identifier": "PC7_1815", "identifier_type": "str", "name": "Assembly of the RAD51-ssDNA nucleoprotein complex", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 780, "identifier": "GO:0018126", "identifier_type": "str", "name": "protein hydroxylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0018126", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 781, "identifier": "7252", "identifier_type": "int", "name": "TSHB", "properties": { "url": "http://identifiers.org/ncbigene/7252", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "thyroid stimulating hormone, beta" }, "metanode": "Gene" }, { "id": 782, "identifier": "57146", "identifier_type": "int", "name": "TMEM159", "properties": { "url": "http://identifiers.org/ncbigene/57146", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "transmembrane protein 159" }, "metanode": "Gene" }, { "id": 783, "identifier": "GO:0046598", "identifier_type": "str", "name": "positive regulation of viral entry into host cell", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046598", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 784, "identifier": "GO:0097384", "identifier_type": "str", "name": "cellular lipid biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0097384", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 785, "identifier": "1828", "identifier_type": "int", "name": "DSG1", "properties": { "url": "http://identifiers.org/ncbigene/1828", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "desmoglein 1" }, "metanode": "Gene" }, { "id": 786, "identifier": "55647", "identifier_type": "int", "name": "RAB20", "properties": { "url": "http://identifiers.org/ncbigene/55647", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "RAB20, member RAS oncogene family" }, "metanode": "Gene" }, { "id": 787, "identifier": "GO:0007197", "identifier_type": "str", "name": "adenylate cyclase-inhibiting G-protein coupled acetylcholine receptor signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007197", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 788, "identifier": "GO:0045602", "identifier_type": "str", "name": "negative regulation of endothelial cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045602", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 789, "identifier": "GO:0001588", "identifier_type": "str", "name": "dopamine neurotransmitter receptor activity, coupled via Gs", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001588", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 790, "identifier": "79180", "identifier_type": "int", "name": "EFHD2", "properties": { "url": "http://identifiers.org/ncbigene/79180", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "EF-hand domain family, member D2" }, "metanode": "Gene" }, { "id": 791, "identifier": "C1142172", "identifier_type": "str", "name": "Incision site complication", "properties": { "url": "http://identifiers.org/umls/C1142172", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 792, "identifier": "C0406458", "identifier_type": "str", "name": "Diffuse alopecia", "properties": { "url": "http://identifiers.org/umls/C0406458", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 793, "identifier": "GO:0001541", "identifier_type": "str", "name": "ovarian follicle development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001541", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 794, "identifier": "185", "identifier_type": "int", "name": "AGTR1", "properties": { "url": "http://identifiers.org/ncbigene/185", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "angiotensin II receptor, type 1" }, "metanode": "Gene" }, { "id": 795, "identifier": "GO:0032934", "identifier_type": "str", "name": "sterol binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032934", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 796, "identifier": "D006356", "identifier_type": "str", "name": "Heartburn", "properties": { "url": "http://identifiers.org/mesh/D006356", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" } ] }{ "count": 47031, "next": "