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=1850
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1875", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1825", "results": [ { "id": 1846, "identifier": "C0743525", "identifier_type": "str", "name": "Enterobacter sepsis", "properties": { "url": "http://identifiers.org/umls/C0743525", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1847, "identifier": "GO:0002475", "identifier_type": "str", "name": "antigen processing and presentation via MHC class Ib", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002475", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1848, "identifier": "219959", "identifier_type": "int", "name": "OR1S1", "properties": { "url": "http://identifiers.org/ncbigene/219959", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 1, subfamily S, member 1 (gene/pseudogene)" }, "metanode": "Gene" }, { "id": 1849, "identifier": "3899", "identifier_type": "int", "name": "AFF3", "properties": { "url": "http://identifiers.org/ncbigene/3899", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "AF4/FMR2 family, member 3" }, "metanode": "Gene" }, { "id": 1850, "identifier": "8566", "identifier_type": "int", "name": "PDXK", "properties": { "url": "http://identifiers.org/ncbigene/8566", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "pyridoxal (pyridoxine, vitamin B6) kinase" }, "metanode": "Gene" }, { "id": 1851, "identifier": "GO:0005451", "identifier_type": "str", "name": "monovalent cation:proton antiporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005451", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1852, "identifier": "C0848383", "identifier_type": "str", "name": "Eye ulcer", "properties": { "url": "http://identifiers.org/umls/C0848383", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1853, "identifier": "GO:0032688", "identifier_type": "str", "name": "negative regulation of interferon-beta production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032688", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1854, "identifier": "10891", "identifier_type": "int", "name": "PPARGC1A", "properties": { "url": "http://identifiers.org/ncbigene/10891", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "peroxisome proliferator-activated receptor gamma, coactivator 1 alpha" }, "metanode": "Gene" }, { "id": 1855, "identifier": "GO:0016485", "identifier_type": "str", "name": "protein processing", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016485", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1856, "identifier": "114132", "identifier_type": "int", "name": "SIGLEC11", "properties": { "url": "http://identifiers.org/ncbigene/114132", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "sialic acid binding Ig-like lectin 11" }, "metanode": "Gene" }, { "id": 1857, "identifier": "C0006370", "identifier_type": "str", "name": "Bulimia", "properties": { "url": "http://identifiers.org/umls/C0006370", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1858, "identifier": "GO:0010899", "identifier_type": "str", "name": "regulation of phosphatidylcholine catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010899", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1859, "identifier": "4853", "identifier_type": "int", "name": "NOTCH2", "properties": { "url": "http://identifiers.org/ncbigene/4853", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "notch 2" }, "metanode": "Gene" }, { "id": 1860, "identifier": "54875", "identifier_type": "int", "name": "CNTLN", "properties": { "url": "http://identifiers.org/ncbigene/54875", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "centlein, centrosomal protein" }, "metanode": "Gene" }, { "id": 1861, "identifier": "90427", "identifier_type": "int", "name": "BMF", "properties": { "url": "http://identifiers.org/ncbigene/90427", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "Bcl2 modifying factor" }, "metanode": "Gene" }, { "id": 1862, "identifier": "GO:0031648", "identifier_type": "str", "name": "protein destabilization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031648", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1863, "identifier": "124222", "identifier_type": "int", "name": "PAQR4", "properties": { "url": "http://identifiers.org/ncbigene/124222", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "progestin and adipoQ receptor family member IV" }, "metanode": "Gene" }, { "id": 1864, "identifier": "GO:2000609", "identifier_type": "str", "name": "regulation of thyroid hormone generation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000609", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1865, "identifier": "GO:0035434", "identifier_type": "str", "name": "copper ion transmembrane transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035434", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1866, "identifier": "7178", "identifier_type": "int", "name": "TPT1", "properties": { "url": "http://identifiers.org/ncbigene/7178", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "tumor protein, translationally-controlled 1" }, "metanode": "Gene" }, { "id": 1867, "identifier": "GO:0016363", "identifier_type": "str", "name": "nuclear matrix", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016363", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1868, "identifier": "PC7_4488", "identifier_type": "str", "name": "Homologous Recombination Repair", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1869, "identifier": "26031", "identifier_type": "int", "name": "OSBPL3", "properties": { "url": "http://identifiers.org/ncbigene/26031", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "oxysterol binding protein-like 3" }, "metanode": "Gene" }, { "id": 1870, "identifier": "2010", "identifier_type": "int", "name": "EMD", "properties": { "url": "http://identifiers.org/ncbigene/2010", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "emerin" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "