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=650
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=675", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=625", "results": [ { "id": 648, "identifier": "GO:0090195", "identifier_type": "str", "name": "chemokine secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090195", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 649, "identifier": "10252", "identifier_type": "int", "name": "SPRY1", "properties": { "url": "http://identifiers.org/ncbigene/10252", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "sprouty homolog 1, antagonist of FGF signaling (Drosophila)" }, "metanode": "Gene" }, { "id": 650, "identifier": "C0687133", "identifier_type": "str", "name": "Drug interaction", "properties": { "url": "http://identifiers.org/umls/C0687133", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 651, "identifier": "GO:0006936", "identifier_type": "str", "name": "muscle contraction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006936", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 652, "identifier": "PC7_4306", "identifier_type": "str", "name": "Growth hormone receptor signaling", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 653, "identifier": "4214", "identifier_type": "int", "name": "MAP3K1", "properties": { "url": "http://identifiers.org/ncbigene/4214", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "mitogen-activated protein kinase kinase kinase 1, E3 ubiquitin protein ligase" }, "metanode": "Gene" }, { "id": 654, "identifier": "C0852711", "identifier_type": "str", "name": "Hand and foot syndrome secondary to sickle cell anaemia", "properties": { "url": "http://identifiers.org/umls/C0852711", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 655, "identifier": "GO:0031272", "identifier_type": "str", "name": "regulation of pseudopodium assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031272", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 656, "identifier": "GO:2000373", "identifier_type": "str", "name": "positive regulation of DNA topoisomerase (ATP-hydrolyzing) activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000373", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 657, "identifier": "84520", "identifier_type": "int", "name": "C14orf142", "properties": { "url": "http://identifiers.org/ncbigene/84520", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "chromosome 14 open reading frame 142" }, "metanode": "Gene" }, { "id": 658, "identifier": "C0016722", "identifier_type": "str", "name": "Frigidity", "properties": { "url": "http://identifiers.org/umls/C0016722", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 659, "identifier": "6539", "identifier_type": "int", "name": "SLC6A12", "properties": { "url": "http://identifiers.org/ncbigene/6539", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "solute carrier family 6 (neurotransmitter transporter), member 12" }, "metanode": "Gene" }, { "id": 660, "identifier": "GO:0051365", "identifier_type": "str", "name": "cellular response to potassium ion starvation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051365", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 661, "identifier": "245973", "identifier_type": "int", "name": "ATP6V1C2", "properties": { "url": "http://identifiers.org/ncbigene/245973", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "ATPase, H+ transporting, lysosomal 42kDa, V1 subunit C2" }, "metanode": "Gene" }, { "id": 662, "identifier": "257236", "identifier_type": "int", "name": "CCDC96", "properties": { "url": "http://identifiers.org/ncbigene/257236", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "coiled-coil domain containing 96" }, "metanode": "Gene" }, { "id": 663, "identifier": "GO:0004309", "identifier_type": "str", "name": "exopolyphosphatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004309", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 664, "identifier": "1371", "identifier_type": "int", "name": "CPOX", "properties": { "url": "http://identifiers.org/ncbigene/1371", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "coproporphyrinogen oxidase" }, "metanode": "Gene" }, { "id": 665, "identifier": "9878", "identifier_type": "int", "name": "TOX4", "properties": { "url": "http://identifiers.org/ncbigene/9878", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "TOX high mobility group box family member 4" }, "metanode": "Gene" }, { "id": 666, "identifier": "C0346392", "identifier_type": "str", "name": "Choroidal nevus", "properties": { "url": "http://identifiers.org/umls/C0346392", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 667, "identifier": "105379433", "identifier_type": "int", "name": "LOC105379433", "properties": { "url": "http://identifiers.org/ncbigene/105379433", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "immunoglobulin superfamily member 2-like" }, "metanode": "Gene" }, { "id": 668, "identifier": "GO:0071698", "identifier_type": "str", "name": "olfactory placode development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071698", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 669, "identifier": "3824", "identifier_type": "int", "name": "KLRD1", "properties": { "url": "http://identifiers.org/ncbigene/3824", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "killer cell lectin-like receptor subfamily D, member 1" }, "metanode": "Gene" }, { "id": 670, "identifier": "165324", "identifier_type": "int", "name": "UBXN2A", "properties": { "url": "http://identifiers.org/ncbigene/165324", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "UBX domain protein 2A" }, "metanode": "Gene" }, { "id": 671, "identifier": "2069", "identifier_type": "int", "name": "EREG", "properties": { "url": "http://identifiers.org/ncbigene/2069", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "epiregulin" }, "metanode": "Gene" }, { "id": 672, "identifier": "10816", "identifier_type": "int", "name": "SPINT3", "properties": { "url": "http://identifiers.org/ncbigene/10816", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "serine peptidase inhibitor, Kunitz type, 3" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "