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=2450
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2475", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2425", "results": [ { "id": 2439, "identifier": "GO:0016524", "identifier_type": "str", "name": "latrotoxin receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016524", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2440, "identifier": "GO:0014842", "identifier_type": "str", "name": "regulation of skeletal muscle satellite cell proliferation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0014842", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2441, "identifier": "9699", "identifier_type": "int", "name": "RIMS2", "properties": { "url": "http://identifiers.org/ncbigene/9699", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "regulating synaptic membrane exocytosis 2" }, "metanode": "Gene" }, { "id": 2442, "identifier": "C1963897", "identifier_type": "str", "name": "Low birth weight baby", "properties": { "url": "http://identifiers.org/umls/C1963897", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2443, "identifier": "GO:0048308", "identifier_type": "str", "name": "organelle inheritance", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048308", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2444, "identifier": "C0920192", "identifier_type": "str", "name": "Descemetitis", "properties": { "url": "http://identifiers.org/umls/C0920192", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2445, "identifier": "341676", "identifier_type": "int", "name": "NEK5", "properties": { "url": "http://identifiers.org/ncbigene/341676", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "NIMA-related kinase 5" }, "metanode": "Gene" }, { "id": 2446, "identifier": "GO:0000436", "identifier_type": "str", "name": "carbon catabolite activation of transcription from RNA polymerase II promoter", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000436", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2447, "identifier": "PC7_1545", "identifier_type": "str", "name": "Activation of PUMA and translocation to mitochondria", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 2448, "identifier": "GO:1903960", "identifier_type": "str", "name": "negative regulation of anion transmembrane transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903960", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2449, "identifier": "83855", "identifier_type": "int", "name": "KLF16", "properties": { "url": "http://identifiers.org/ncbigene/83855", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "Kruppel-like factor 16" }, "metanode": "Gene" }, { "id": 2450, "identifier": "80757", "identifier_type": "int", "name": "TMEM121", "properties": { "url": "http://identifiers.org/ncbigene/80757", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "transmembrane protein 121" }, "metanode": "Gene" }, { "id": 2451, "identifier": "5986", "identifier_type": "int", "name": "RFNG", "properties": { "url": "http://identifiers.org/ncbigene/5986", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "RFNG O-fucosylpeptide 3-beta-N-acetylglucosaminyltransferase" }, "metanode": "Gene" }, { "id": 2452, "identifier": "C0031575", "identifier_type": "str", "name": "Phocomelia", "properties": { "url": "http://identifiers.org/umls/C0031575", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2453, "identifier": "GO:0030677", "identifier_type": "str", "name": "ribonuclease P complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030677", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 2454, "identifier": "GO:0000014", "identifier_type": "str", "name": "single-stranded DNA endodeoxyribonuclease activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000014", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2455, "identifier": "C0231874", "identifier_type": "str", "name": "Wheezing inspiratory", "properties": { "url": "http://identifiers.org/umls/C0231874", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2456, "identifier": "PC7_4917", "identifier_type": "str", "name": "L1CAM interactions", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 2457, "identifier": "C0024031", "identifier_type": "str", "name": "Low back pain", "properties": { "url": "http://identifiers.org/umls/C0024031", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2458, "identifier": "GO:0005818", "identifier_type": "str", "name": "aster", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005818", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 2459, "identifier": "84665", "identifier_type": "int", "name": "MYPN", "properties": { "url": "http://identifiers.org/ncbigene/84665", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "myopalladin" }, "metanode": "Gene" }, { "id": 2460, "identifier": "GO:2001200", "identifier_type": "str", "name": "positive regulation of dendritic cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2001200", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2461, "identifier": "C2242621", "identifier_type": "str", "name": "Erection prolonged", "properties": { "url": "http://identifiers.org/umls/C2242621", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2462, "identifier": "C0857112", "identifier_type": "str", "name": "Glaucoma both eyes", "properties": { "url": "http://identifiers.org/umls/C0857112", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 4737, "identifier": "C0030805", "identifier_type": "str", "name": "Pemphigoid", "properties": { "url": "http://identifiers.org/umls/C0030805", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "