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&limit=25&offset=25
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=50", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25", "results": [ { "id": 25, "identifier": "137797", "identifier_type": "int", "name": "LYPD2", "properties": { "url": "http://identifiers.org/ncbigene/137797", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "LY6/PLAUR domain containing 2" }, "metanode": "Gene" }, { "id": 26, "identifier": "101929991", "identifier_type": "int", "name": "LOC101929991", "properties": { "url": "http://identifiers.org/ncbigene/101929991", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 93-like" }, "metanode": "Gene" }, { "id": 27, "identifier": "GO:0001886", "identifier_type": "str", "name": "endothelial cell morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001886", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 28, "identifier": "105376910", "identifier_type": "int", "name": "LOC105376910", "properties": { "url": "http://identifiers.org/ncbigene/105376910", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "uncharacterized LOC105376910" }, "metanode": "Gene" }, { "id": 29, "identifier": "DB01359", "identifier_type": "str", "name": "Penbutolol", "properties": { "url": "http://www.drugbank.ca/drugs/DB01359", "inchi": "InChI=1S/C18H29NO2/c1-18(2,3)19-12-15(20)13-21-17-11-7-6-10-16(17)14-8-4-5-9-14/h6-7,10-11,14-15,19-20H,4-5,8-9,12-13H2,1-3H3/t15-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=KQXKVJAGOJTNJS-HNNXBMFYSA-N" }, "metanode": "Compound" }, { "id": 30, "identifier": "C0281863", "identifier_type": "str", "name": "Hepatitis C antibody positive", "properties": { "url": "http://identifiers.org/umls/C0281863", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 31, "identifier": "1301", "identifier_type": "int", "name": "COL11A1", "properties": { "url": "http://identifiers.org/ncbigene/1301", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "collagen, type XI, alpha 1" }, "metanode": "Gene" }, { "id": 32, "identifier": "10048", "identifier_type": "int", "name": "RANBP9", "properties": { "url": "http://identifiers.org/ncbigene/10048", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "RAN binding protein 9" }, "metanode": "Gene" }, { "id": 33, "identifier": "GO:0072643", "identifier_type": "str", "name": "interferon-gamma secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072643", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 34, "identifier": "GO:0002894", "identifier_type": "str", "name": "positive regulation of type II hypersensitivity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002894", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 251, "identifier": "GO:0006829", "identifier_type": "str", "name": "zinc II ion transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006829", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 35, "identifier": "150468", "identifier_type": "int", "name": "CKAP2L", "properties": { "url": "http://identifiers.org/ncbigene/150468", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "cytoskeleton associated protein 2-like" }, "metanode": "Gene" }, { "id": 36, "identifier": "3754", "identifier_type": "int", "name": "KCNF1", "properties": { "url": "http://identifiers.org/ncbigene/3754", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "potassium channel, voltage gated modifier subfamily F, member 1" }, "metanode": "Gene" }, { "id": 37, "identifier": "PC7_8639", "identifier_type": "str", "name": "Urokinase-type plasminogen activator (uPA) and uPAR-mediated signaling", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" }, { "id": 38, "identifier": "GO:0032400", "identifier_type": "str", "name": "melanosome localization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032400", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 39, "identifier": "C2584688", "identifier_type": "str", "name": "Testicular swelling", "properties": { "url": "http://identifiers.org/umls/C2584688", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 40, "identifier": "C1141938", "identifier_type": "str", "name": "Ocular icterus", "properties": { "url": "http://identifiers.org/umls/C1141938", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 41, "identifier": "C0013220", "identifier_type": "str", "name": "Drug tolerance", "properties": { "url": "http://identifiers.org/umls/C0013220", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 42, "identifier": "2255", "identifier_type": "int", "name": "FGF10", "properties": { "url": "http://identifiers.org/ncbigene/2255", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "fibroblast growth factor 10" }, "metanode": "Gene" }, { "id": 43, "identifier": "10874", "identifier_type": "int", "name": "NMU", "properties": { "url": "http://identifiers.org/ncbigene/10874", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "neuromedin U" }, "metanode": "Gene" }, { "id": 44, "identifier": "GO:0009435", "identifier_type": "str", "name": "NAD biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009435", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45, "identifier": "C0520962", "identifier_type": "str", "name": "Pain localised", "properties": { "url": "http://identifiers.org/umls/C0520962", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46, "identifier": "PC7_2525", "identifier_type": "str", "name": "Cell surface interactions at the vascular wall", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 47, "identifier": "GO:0044789", "identifier_type": "str", "name": "modulation by host of viral release from host cell", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044789", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 48, "identifier": "C0235234", "identifier_type": "str", "name": "Dry throat", "properties": { "url": "http://identifiers.org/umls/C0235234", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "