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=2475
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2500", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2450", "results": [ { "id": 2463, "identifier": "403239", "identifier_type": "int", "name": "OR2T27", "properties": { "url": "http://identifiers.org/ncbigene/403239", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "olfactory receptor, family 2, subfamily T, member 27" }, "metanode": "Gene" }, { "id": 2464, "identifier": "C0948050", "identifier_type": "str", "name": "Small bowel angioedema", "properties": { "url": "http://identifiers.org/umls/C0948050", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2465, "identifier": "5575", "identifier_type": "int", "name": "PRKAR1B", "properties": { "url": "http://identifiers.org/ncbigene/5575", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "protein kinase, cAMP-dependent, regulatory, type I, beta" }, "metanode": "Gene" }, { "id": 2466, "identifier": "GO:1990635", "identifier_type": "str", "name": "proximal dendrite", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1990635", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 2467, "identifier": "3841", "identifier_type": "int", "name": "KPNA5", "properties": { "url": "http://identifiers.org/ncbigene/3841", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "karyopherin alpha 5 (importin alpha 6)" }, "metanode": "Gene" }, { "id": 2468, "identifier": "GO:0034091", "identifier_type": "str", "name": "regulation of maintenance of sister chromatid cohesion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034091", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2469, "identifier": "GO:0021610", "identifier_type": "str", "name": "facial nerve morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021610", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2470, "identifier": "389151", "identifier_type": "int", "name": "PRR23B", "properties": { "url": "http://identifiers.org/ncbigene/389151", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "proline rich 23B" }, "metanode": "Gene" }, { "id": 2471, "identifier": "2214", "identifier_type": "int", "name": "FCGR3A", "properties": { "url": "http://identifiers.org/ncbigene/2214", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "Fc fragment of IgG, low affinity IIIa, receptor (CD16a)" }, "metanode": "Gene" }, { "id": 2472, "identifier": "10961", "identifier_type": "int", "name": "ERP29", "properties": { "url": "http://identifiers.org/ncbigene/10961", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "endoplasmic reticulum protein 29" }, "metanode": "Gene" }, { "id": 2473, "identifier": "GO:0033186", "identifier_type": "str", "name": "CAF-1 complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033186", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 2474, "identifier": "C0409962", "identifier_type": "str", "name": "Localized osteoarthritis", "properties": { "url": "http://identifiers.org/umls/C0409962", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2475, "identifier": "266811", "identifier_type": "int", "name": "NPSA", "properties": { "url": "http://identifiers.org/ncbigene/266811", "source": "Entrez Gene", "license": "CC0 1.0", "description": "novel prostate-specific antigen" }, "metanode": "Gene" }, { "id": 2476, "identifier": "7248", "identifier_type": "int", "name": "TSC1", "properties": { "url": "http://identifiers.org/ncbigene/7248", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "tuberous sclerosis 1" }, "metanode": "Gene" }, { "id": 2477, "identifier": "168620", "identifier_type": "int", "name": "BHLHA15", "properties": { "url": "http://identifiers.org/ncbigene/168620", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "basic helix-loop-helix family, member a15" }, "metanode": "Gene" }, { "id": 2478, "identifier": "GO:0030888", "identifier_type": "str", "name": "regulation of B cell proliferation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030888", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2479, "identifier": "DB00590", "identifier_type": "str", "name": "Doxazosin", "properties": { "url": "http://www.drugbank.ca/drugs/DB00590", "inchi": "InChI=1S/C23H25N5O5/c1-30-18-11-14-15(12-19(18)31-2)25-23(26-21(14)24)28-9-7-27(8-10-28)22(29)20-13-32-16-5-3-4-6-17(16)33-20/h3-6,11-12,20H,7-10,13H2,1-2H3,(H2,24,25,26)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=RUZYUOTYCVRMRZ-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 2480, "identifier": "C1696110", "identifier_type": "str", "name": "Vessel puncture site haematoma", "properties": { "url": "http://identifiers.org/umls/C1696110", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2481, "identifier": "GO:0038111", "identifier_type": "str", "name": "interleukin-7-mediated signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0038111", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2482, "identifier": "GO:0008068", "identifier_type": "str", "name": "extracellular-glutamate-gated chloride channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008068", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2483, "identifier": "GO:0046503", "identifier_type": "str", "name": "glycerolipid catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046503", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2484, "identifier": "GO:0034115", "identifier_type": "str", "name": "negative regulation of heterotypic cell-cell adhesion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034115", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2485, "identifier": "1824", "identifier_type": "int", "name": "DSC2", "properties": { "url": "http://identifiers.org/ncbigene/1824", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "desmocollin 2" }, "metanode": "Gene" }, { "id": 2486, "identifier": "55643", "identifier_type": "int", "name": "BTBD2", "properties": { "url": "http://identifiers.org/ncbigene/55643", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "BTB (POZ) domain containing 2" }, "metanode": "Gene" }, { "id": 2487, "identifier": "GO:1902850", "identifier_type": "str", "name": "microtubule cytoskeleton organization involved in mitosis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902850", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "