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=225
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=250", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=200", "results": [ { "id": 224, "identifier": "5729", "identifier_type": "int", "name": "PTGDR", "properties": { "url": "http://identifiers.org/ncbigene/5729", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "prostaglandin D2 receptor (DP)" }, "metanode": "Gene" }, { "id": 225, "identifier": "GO:0042985", "identifier_type": "str", "name": "negative regulation of amyloid precursor protein biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042985", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 226, "identifier": "GO:0045576", "identifier_type": "str", "name": "mast cell activation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045576", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 227, "identifier": "23568", "identifier_type": "int", "name": "ARL2BP", "properties": { "url": "http://identifiers.org/ncbigene/23568", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "ADP-ribosylation factor-like 2 binding protein" }, "metanode": "Gene" }, { "id": 228, "identifier": "GO:0008514", "identifier_type": "str", "name": "organic anion transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008514", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 229, "identifier": "C0153567", "identifier_type": "str", "name": "Uterine cancer", "properties": { "url": "http://identifiers.org/umls/C0153567", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 230, "identifier": "N0000000122", "identifier_type": "str", "name": "Adrenergic Agonists", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000000122", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 231, "identifier": "C0235032", "identifier_type": "str", "name": "Neurotoxicity", "properties": { "url": "http://identifiers.org/umls/C0235032", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 232, "identifier": "GO:0043535", "identifier_type": "str", "name": "regulation of blood vessel endothelial cell migration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043535", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 233, "identifier": "114836", "identifier_type": "int", "name": "SLAMF6", "properties": { "url": "http://identifiers.org/ncbigene/114836", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "SLAM family member 6" }, "metanode": "Gene" }, { "id": 234, "identifier": "C0151544", "identifier_type": "str", "name": "Gastrointestinal carcinoma", "properties": { "url": "http://identifiers.org/umls/C0151544", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 235, "identifier": "6427", "identifier_type": "int", "name": "SRSF2", "properties": { "url": "http://identifiers.org/ncbigene/6427", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "serine/arginine-rich splicing factor 2" }, "metanode": "Gene" }, { "id": 236, "identifier": "GO:0002579", "identifier_type": "str", "name": "positive regulation of antigen processing and presentation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002579", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 237, "identifier": "65084", "identifier_type": "int", "name": "TMEM135", "properties": { "url": "http://identifiers.org/ncbigene/65084", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "transmembrane protein 135" }, "metanode": "Gene" }, { "id": 238, "identifier": "GO:1903516", "identifier_type": "str", "name": "regulation of single strand break repair", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903516", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 239, "identifier": "GO:0010669", "identifier_type": "str", "name": "epithelial structure maintenance", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010669", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 240, "identifier": "349149", "identifier_type": "int", "name": "GJC3", "properties": { "url": "http://identifiers.org/ncbigene/349149", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "gap junction protein, gamma 3, 30.2kDa" }, "metanode": "Gene" }, { "id": 241, "identifier": "GO:0030516", "identifier_type": "str", "name": "regulation of axon extension", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030516", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 242, "identifier": "117289", "identifier_type": "int", "name": "TAGAP", "properties": { "url": "http://identifiers.org/ncbigene/117289", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "T-cell activation RhoGTPase activating protein" }, "metanode": "Gene" }, { "id": 243, "identifier": "1259", "identifier_type": "int", "name": "CNGA1", "properties": { "url": "http://identifiers.org/ncbigene/1259", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "cyclic nucleotide gated channel alpha 1" }, "metanode": "Gene" }, { "id": 244, "identifier": "9766", "identifier_type": "int", "name": "SUSD6", "properties": { "url": "http://identifiers.org/ncbigene/9766", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "sushi domain containing 6" }, "metanode": "Gene" }, { "id": 245, "identifier": "GO:0034713", "identifier_type": "str", "name": "type I transforming growth factor beta receptor binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034713", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 246, "identifier": "C0231856", "identifier_type": "str", "name": "Breath sounds abnormal", "properties": { "url": "http://identifiers.org/umls/C0231856", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 247, "identifier": "GO:0004497", "identifier_type": "str", "name": "monooxygenase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004497", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 248, "identifier": "390649", "identifier_type": "int", "name": "OR4F15", "properties": { "url": "http://identifiers.org/ncbigene/390649", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "olfactory receptor, family 4, subfamily F, member 15" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "