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=400
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=425", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=375", "results": [ { "id": 400, "identifier": "4995", "identifier_type": "int", "name": "OR3A2", "properties": { "url": "http://identifiers.org/ncbigene/4995", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "olfactory receptor, family 3, subfamily A, member 2" }, "metanode": "Gene" }, { "id": 401, "identifier": "55145", "identifier_type": "int", "name": "THAP1", "properties": { "url": "http://identifiers.org/ncbigene/55145", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "THAP domain containing, apoptosis associated protein 1" }, "metanode": "Gene" }, { "id": 402, "identifier": "8407", "identifier_type": "int", "name": "TAGLN2", "properties": { "url": "http://identifiers.org/ncbigene/8407", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "transgelin 2" }, "metanode": "Gene" }, { "id": 403, "identifier": "GO:0021692", "identifier_type": "str", "name": "cerebellar Purkinje cell layer morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021692", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 404, "identifier": "7448", "identifier_type": "int", "name": "VTN", "properties": { "url": "http://identifiers.org/ncbigene/7448", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "vitronectin" }, "metanode": "Gene" }, { "id": 405, "identifier": "GO:0042713", "identifier_type": "str", "name": "sperm ejaculation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042713", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 406, "identifier": "GO:0010873", "identifier_type": "str", "name": "positive regulation of cholesterol esterification", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010873", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 407, "identifier": "WP2889_r79753", "identifier_type": "str", "name": "Oxytocin signaling", "properties": { "url": "http://www.wikipathways.org/instance/WP2889_r79753", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 408, "identifier": "148738", "identifier_type": "int", "name": "HFE2", "properties": { "url": "http://identifiers.org/ncbigene/148738", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "hemochromatosis type 2 (juvenile)" }, "metanode": "Gene" }, { "id": 409, "identifier": "26301", "identifier_type": "int", "name": "GBGT1", "properties": { "url": "http://identifiers.org/ncbigene/26301", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "globoside alpha-1,3-N-acetylgalactosaminyltransferase 1" }, "metanode": "Gene" }, { "id": 410, "identifier": "C1868912", "identifier_type": "str", "name": "Uric acid increased", "properties": { "url": "http://identifiers.org/umls/C1868912", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 411, "identifier": "55843", "identifier_type": "int", "name": "ARHGAP15", "properties": { "url": "http://identifiers.org/ncbigene/55843", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "Rho GTPase activating protein 15" }, "metanode": "Gene" }, { "id": 412, "identifier": "PC7_6923", "identifier_type": "str", "name": "Regulatory RNA pathways", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 413, "identifier": "378", "identifier_type": "int", "name": "ARF4", "properties": { "url": "http://identifiers.org/ncbigene/378", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "ADP-ribosylation factor 4" }, "metanode": "Gene" }, { "id": 414, "identifier": "525", "identifier_type": "int", "name": "ATP6V1B1", "properties": { "url": "http://identifiers.org/ncbigene/525", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "ATPase, H+ transporting, lysosomal 56/58kDa, V1 subunit B1" }, "metanode": "Gene" }, { "id": 415, "identifier": "9144", "identifier_type": "int", "name": "SYNGR2", "properties": { "url": "http://identifiers.org/ncbigene/9144", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "synaptogyrin 2" }, "metanode": "Gene" }, { "id": 416, "identifier": "C0264909", "identifier_type": "str", "name": "Defect conduction intraventricular", "properties": { "url": "http://identifiers.org/umls/C0264909", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 417, "identifier": "GO:2000646", "identifier_type": "str", "name": "positive regulation of receptor catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000646", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 418, "identifier": "280636", "identifier_type": "int", "name": "C11orf31", "properties": { "url": "http://identifiers.org/ncbigene/280636", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "chromosome 11 open reading frame 31" }, "metanode": "Gene" }, { "id": 419, "identifier": "27255", "identifier_type": "int", "name": "CNTN6", "properties": { "url": "http://identifiers.org/ncbigene/27255", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "contactin 6" }, "metanode": "Gene" }, { "id": 420, "identifier": "2978", "identifier_type": "int", "name": "GUCA1A", "properties": { "url": "http://identifiers.org/ncbigene/2978", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "guanylate cyclase activator 1A (retina)" }, "metanode": "Gene" }, { "id": 421, "identifier": "C0151737", "identifier_type": "str", "name": "Intentional injury", "properties": { "url": "http://identifiers.org/umls/C0151737", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 422, "identifier": "GO:1903413", "identifier_type": "str", "name": "cellular response to bile acid", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903413", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 423, "identifier": "GO:0000060", "identifier_type": "str", "name": "protein import into nucleus, translocation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000060", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 424, "identifier": "GO:1902626", "identifier_type": "str", "name": "assembly of large subunit precursor of preribosome", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902626", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "