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=2575
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2600", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2550", "results": [ { "id": 2562, "identifier": "C0022408", "identifier_type": "str", "name": "Arthropathy", "properties": { "url": "http://identifiers.org/umls/C0022408", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2563, "identifier": "GO:0007029", "identifier_type": "str", "name": "endoplasmic reticulum organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007029", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2564, "identifier": "C0729552", "identifier_type": "str", "name": "Genital infection", "properties": { "url": "http://identifiers.org/umls/C0729552", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2565, "identifier": "84942", "identifier_type": "int", "name": "WDR73", "properties": { "url": "http://identifiers.org/ncbigene/84942", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "WD repeat domain 73" }, "metanode": "Gene" }, { "id": 2566, "identifier": "50999", "identifier_type": "int", "name": "TMED5", "properties": { "url": "http://identifiers.org/ncbigene/50999", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "transmembrane emp24 protein transport domain containing 5" }, "metanode": "Gene" }, { "id": 2567, "identifier": "255061", "identifier_type": "int", "name": "TAC4", "properties": { "url": "http://identifiers.org/ncbigene/255061", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "tachykinin 4 (hemokinin)" }, "metanode": "Gene" }, { "id": 2568, "identifier": "6817", "identifier_type": "int", "name": "SULT1A1", "properties": { "url": "http://identifiers.org/ncbigene/6817", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "sulfotransferase family, cytosolic, 1A, phenol-preferring, member 1" }, "metanode": "Gene" }, { "id": 2569, "identifier": "5871", "identifier_type": "int", "name": "MAP4K2", "properties": { "url": "http://identifiers.org/ncbigene/5871", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "mitogen-activated protein kinase kinase kinase kinase 2" }, "metanode": "Gene" }, { "id": 2570, "identifier": "C0235238", "identifier_type": "str", "name": "Cycloplegia", "properties": { "url": "http://identifiers.org/umls/C0235238", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2571, "identifier": "GO:0010664", "identifier_type": "str", "name": "negative regulation of striated muscle cell apoptotic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010664", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2572, "identifier": "25798", "identifier_type": "int", "name": "BRI3", "properties": { "url": "http://identifiers.org/ncbigene/25798", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "brain protein I3" }, "metanode": "Gene" }, { "id": 2573, "identifier": "10266", "identifier_type": "int", "name": "RAMP2", "properties": { "url": "http://identifiers.org/ncbigene/10266", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "receptor (G protein-coupled) activity modifying protein 2" }, "metanode": "Gene" }, { "id": 2574, "identifier": "10156", "identifier_type": "int", "name": "RASA4", "properties": { "url": "http://identifiers.org/ncbigene/10156", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "RAS p21 protein activator 4" }, "metanode": "Gene" }, { "id": 2575, "identifier": "89848", "identifier_type": "int", "name": "FCHSD1", "properties": { "url": "http://identifiers.org/ncbigene/89848", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "FCH and double SH3 domains 1" }, "metanode": "Gene" }, { "id": 2576, "identifier": "GO:0004033", "identifier_type": "str", "name": "aldo-keto reductase (NADP) activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004033", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2577, "identifier": "390927", "identifier_type": "int", "name": "ZNF793", "properties": { "url": "http://identifiers.org/ncbigene/390927", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 793" }, "metanode": "Gene" }, { "id": 2578, "identifier": "GO:0070922", "identifier_type": "str", "name": "small RNA loading onto RISC", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070922", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2579, "identifier": "3990", "identifier_type": "int", "name": "LIPC", "properties": { "url": "http://identifiers.org/ncbigene/3990", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "lipase, hepatic" }, "metanode": "Gene" }, { "id": 2580, "identifier": "8641", "identifier_type": "int", "name": "PCDHGB4", "properties": { "url": "http://identifiers.org/ncbigene/8641", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "protocadherin gamma subfamily B, 4" }, "metanode": "Gene" }, { "id": 2581, "identifier": "167227", "identifier_type": "int", "name": "DCP2", "properties": { "url": "http://identifiers.org/ncbigene/167227", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "decapping mRNA 2" }, "metanode": "Gene" }, { "id": 2582, "identifier": "C0235496", "identifier_type": "str", "name": "Oral mucosal petechiae", "properties": { "url": "http://identifiers.org/umls/C0235496", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2583, "identifier": "C0025287", "identifier_type": "str", "name": "Meningism", "properties": { "url": "http://identifiers.org/umls/C0025287", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2584, "identifier": "GO:0000821", "identifier_type": "str", "name": "regulation of arginine metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000821", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2585, "identifier": "GO:0007283", "identifier_type": "str", "name": "spermatogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007283", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2586, "identifier": "GO:0019068", "identifier_type": "str", "name": "virion assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019068", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "