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=2325
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2350", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2300", "results": [ { "id": 2315, "identifier": "23368", "identifier_type": "int", "name": "PPP1R13B", "properties": { "url": "http://identifiers.org/ncbigene/23368", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "protein phosphatase 1, regulatory subunit 13B" }, "metanode": "Gene" }, { "id": 2316, "identifier": "GO:1900028", "identifier_type": "str", "name": "negative regulation of ruffle assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1900028", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2317, "identifier": "GO:0070569", "identifier_type": "str", "name": "uridylyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070569", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 34629, "identifier": "PC7_1213", "identifier_type": "str", "name": "ATR signaling pathway", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" }, { "id": 2319, "identifier": "C0741921", "identifier_type": "str", "name": "Cardiac enzymes increased", "properties": { "url": "http://identifiers.org/umls/C0741921", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2320, "identifier": "C0001231", "identifier_type": "str", "name": "Ectopic ACTH syndrome", "properties": { "url": "http://identifiers.org/umls/C0001231", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2321, "identifier": "92715", "identifier_type": "int", "name": "DPH7", "properties": { "url": "http://identifiers.org/ncbigene/92715", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "diphthamide biosynthesis 7" }, "metanode": "Gene" }, { "id": 2322, "identifier": "339345", "identifier_type": "int", "name": "NANOS2", "properties": { "url": "http://identifiers.org/ncbigene/339345", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "nanos homolog 2 (Drosophila)" }, "metanode": "Gene" }, { "id": 2323, "identifier": "DB00546", "identifier_type": "str", "name": "Adinazolam", "properties": { "url": "http://www.drugbank.ca/drugs/DB00546", "inchi": "InChI=1S/C19H18ClN5/c1-24(2)12-18-23-22-17-11-21-19(13-6-4-3-5-7-13)15-10-14(20)8-9-16(15)25(17)18/h3-10H,11-12H2,1-2H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=GJSLOMWRLALDCT-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 2324, "identifier": "6227", "identifier_type": "int", "name": "RPS21", "properties": { "url": "http://identifiers.org/ncbigene/6227", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "ribosomal protein S21" }, "metanode": "Gene" }, { "id": 2325, "identifier": "C3203358", "identifier_type": "str", "name": "Hypoventilation", "properties": { "url": "http://identifiers.org/umls/C3203358", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2326, "identifier": "56121", "identifier_type": "int", "name": "PCDHB15", "properties": { "url": "http://identifiers.org/ncbigene/56121", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "protocadherin beta 15" }, "metanode": "Gene" }, { "id": 2327, "identifier": "C0851883", "identifier_type": "str", "name": "Neisseria infection", "properties": { "url": "http://identifiers.org/umls/C0851883", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2328, "identifier": "79670", "identifier_type": "int", "name": "ZCCHC6", "properties": { "url": "http://identifiers.org/ncbigene/79670", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "zinc finger, CCHC domain containing 6" }, "metanode": "Gene" }, { "id": 2329, "identifier": "UBERON:0002363", "identifier_type": "str", "name": "dura mater", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002363", "bto_id": "BTO:0001637", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D004388" }, "metanode": "Anatomy" }, { "id": 2330, "identifier": "C1168174", "identifier_type": "str", "name": "Absolute neutrophil count decreased", "properties": { "url": "http://identifiers.org/umls/C1168174", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2331, "identifier": "C1260926", "identifier_type": "str", "name": "Abnormal pigmentation", "properties": { "url": "http://identifiers.org/umls/C1260926", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2332, "identifier": "C0035410", "identifier_type": "str", "name": "Rhabdomyolysis", "properties": { "url": "http://identifiers.org/umls/C0035410", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2333, "identifier": "C0853875", "identifier_type": "str", "name": "Myoglobin urine present", "properties": { "url": "http://identifiers.org/umls/C0853875", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2334, "identifier": "220074", "identifier_type": "int", "name": "LRTOMT", "properties": { "url": "http://identifiers.org/ncbigene/220074", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "leucine rich transmembrane and O-methyltransferase domain containing" }, "metanode": "Gene" }, { "id": 2335, "identifier": "5991", "identifier_type": "int", "name": "RFX3", "properties": { "url": "http://identifiers.org/ncbigene/5991", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "regulatory factor X, 3 (influences HLA class II expression)" }, "metanode": "Gene" }, { "id": 2336, "identifier": "PC7_5530", "identifier_type": "str", "name": "Mitotic M-M/G1 phases", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 2337, "identifier": "GO:0045161", "identifier_type": "str", "name": "neuronal ion channel clustering", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045161", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2338, "identifier": "GO:0006997", "identifier_type": "str", "name": "nucleus organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006997", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2339, "identifier": "GO:0000229", "identifier_type": "str", "name": "cytoplasmic chromosome", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000229", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" } ] }{ "count": 47031, "next": "