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=1375
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1400", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1350", "results": [ { "id": 1373, "identifier": "GO:0048285", "identifier_type": "str", "name": "organelle fission", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048285", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1374, "identifier": "GO:0034315", "identifier_type": "str", "name": "regulation of Arp2/3 complex-mediated actin nucleation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034315", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1375, "identifier": "GO:2000973", "identifier_type": "str", "name": "regulation of pro-B cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000973", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1376, "identifier": "C0392034", "identifier_type": "str", "name": "Gastrooesophagitis", "properties": { "url": "http://identifiers.org/umls/C0392034", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1377, "identifier": "1010", "identifier_type": "int", "name": "CDH12", "properties": { "url": "http://identifiers.org/ncbigene/1010", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "cadherin 12, type 2 (N-cadherin 2)" }, "metanode": "Gene" }, { "id": 1378, "identifier": "9517", "identifier_type": "int", "name": "SPTLC2", "properties": { "url": "http://identifiers.org/ncbigene/9517", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "serine palmitoyltransferase, long chain base subunit 2" }, "metanode": "Gene" }, { "id": 1379, "identifier": "51032", "identifier_type": "int", "name": "CELA2B", "properties": { "url": "http://identifiers.org/ncbigene/51032", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "chymotrypsin-like elastase family, member 2B" }, "metanode": "Gene" }, { "id": 1380, "identifier": "C0542571", "identifier_type": "str", "name": "Face oedema", "properties": { "url": "http://identifiers.org/umls/C0542571", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1381, "identifier": "C0553706", "identifier_type": "str", "name": "Serum phosphate increased", "properties": { "url": "http://identifiers.org/umls/C0553706", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1382, "identifier": "3351", "identifier_type": "int", "name": "HTR1B", "properties": { "url": "http://identifiers.org/ncbigene/3351", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "5-hydroxytryptamine (serotonin) receptor 1B, G protein-coupled" }, "metanode": "Gene" }, { "id": 1383, "identifier": "GO:0015929", "identifier_type": "str", "name": "hexosaminidase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015929", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1384, "identifier": "C1141863", "identifier_type": "str", "name": "Lymphocyte transformation test positive", "properties": { "url": "http://identifiers.org/umls/C1141863", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1385, "identifier": "130888", "identifier_type": "int", "name": "FBXO36", "properties": { "url": "http://identifiers.org/ncbigene/130888", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "F-box protein 36" }, "metanode": "Gene" }, { "id": 1386, "identifier": "C0221743", "identifier_type": "str", "name": "Skin reaction", "properties": { "url": "http://identifiers.org/umls/C0221743", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1387, "identifier": "152518", "identifier_type": "int", "name": "NFXL1", "properties": { "url": "http://identifiers.org/ncbigene/152518", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "nuclear transcription factor, X-box binding-like 1" }, "metanode": "Gene" }, { "id": 1388, "identifier": "GO:0042035", "identifier_type": "str", "name": "regulation of cytokine biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042035", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1389, "identifier": "GO:0061515", "identifier_type": "str", "name": "myeloid cell development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061515", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1390, "identifier": "10471", "identifier_type": "int", "name": "PFDN6", "properties": { "url": "http://identifiers.org/ncbigene/10471", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "prefoldin subunit 6" }, "metanode": "Gene" }, { "id": 1391, "identifier": "60493", "identifier_type": "int", "name": "FASTKD5", "properties": { "url": "http://identifiers.org/ncbigene/60493", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "FAST kinase domains 5" }, "metanode": "Gene" }, { "id": 1392, "identifier": "DB00385", "identifier_type": "str", "name": "Valrubicin", "properties": { "url": "http://www.drugbank.ca/drugs/DB00385", "inchi": "InChI=1S/C34H36F3NO13/c1-4-5-9-21(40)49-13-20(39)33(47)11-16-24(19(12-33)51-22-10-17(27(41)14(2)50-22)38-32(46)34(35,36)37)31(45)26-25(29(16)43)28(42)15-7-6-8-18(48-3)23(15)30(26)44/h6-8,14,17,19,22,27,41,43,45,47H,4-5,9-13H2,1-3H3,(H,38,46)/t14?,17?,19-,22?,27?,33-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ZOCKGBMQLCSHFP-ZQUOIQDWSA-N" }, "metanode": "Compound" }, { "id": 1393, "identifier": "GO:0005915", "identifier_type": "str", "name": "zonula adherens", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005915", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1394, "identifier": "GO:0006921", "identifier_type": "str", "name": "cellular component disassembly involved in execution phase of apoptosis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006921", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1395, "identifier": "C1322281", "identifier_type": "str", "name": "Rhinitis seasonal", "properties": { "url": "http://identifiers.org/umls/C1322281", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1396, "identifier": "105374474", "identifier_type": "int", "name": "LOC105374474", "properties": { "url": "http://identifiers.org/ncbigene/105374474", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "uncharacterized LOC105374474" }, "metanode": "Gene" }, { "id": 1397, "identifier": "57715", "identifier_type": "int", "name": "SEMA4G", "properties": { "url": "http://identifiers.org/ncbigene/57715", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "sema domain, immunoglobulin domain (Ig), transmembrane domain (TM) and short cytoplasmic domain, (semaphorin) 4G" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "