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=45075
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45100", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45050", "results": [ { "id": 45075, "identifier": "55079", "identifier_type": "int", "name": "FEZF2", "properties": { "url": "http://identifiers.org/ncbigene/55079", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "FEZ family zinc finger 2" }, "metanode": "Gene" }, { "id": 45076, "identifier": "D004433", "identifier_type": "str", "name": "Earache", "properties": { "url": "http://identifiers.org/mesh/D004433", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 45077, "identifier": "GO:1900006", "identifier_type": "str", "name": "positive regulation of dendrite development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1900006", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45078, "identifier": "GO:0005220", "identifier_type": "str", "name": "inositol 1,4,5-trisphosphate-sensitive calcium-release channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005220", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45079, "identifier": "C0243001", "identifier_type": "str", "name": "Abdominal abscess", "properties": { "url": "http://identifiers.org/umls/C0243001", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45080, "identifier": "255738", "identifier_type": "int", "name": "PCSK9", "properties": { "url": "http://identifiers.org/ncbigene/255738", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "proprotein convertase subtilisin/kexin type 9" }, "metanode": "Gene" }, { "id": 45081, "identifier": "C0032768", "identifier_type": "str", "name": "Post herpetic neuralgia", "properties": { "url": "http://identifiers.org/umls/C0032768", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45082, "identifier": "23136", "identifier_type": "int", "name": "EPB41L3", "properties": { "url": "http://identifiers.org/ncbigene/23136", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "erythrocyte membrane protein band 4.1-like 3" }, "metanode": "Gene" }, { "id": 45083, "identifier": "7638", "identifier_type": "int", "name": "ZNF221", "properties": { "url": "http://identifiers.org/ncbigene/7638", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 221" }, "metanode": "Gene" }, { "id": 45084, "identifier": "C0038160", "identifier_type": "str", "name": "Staphylococcal infection", "properties": { "url": "http://identifiers.org/umls/C0038160", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45085, "identifier": "105369316", "identifier_type": "int", "name": "LOC105369316", "properties": { "url": "http://identifiers.org/ncbigene/105369316", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "uncharacterized LOC105369316" }, "metanode": "Gene" }, { "id": 45086, "identifier": "GO:0009931", "identifier_type": "str", "name": "calcium-dependent protein serine/threonine kinase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009931", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45087, "identifier": "DB06708", "identifier_type": "str", "name": "Lumefantrine", "properties": { "url": "http://www.drugbank.ca/drugs/DB06708", "inchi": "InChI=1S/C30H32Cl3NO/c1-3-5-13-34(14-6-4-2)19-29(35)28-18-23(33)17-27-25(15-20-7-9-21(31)10-8-20)26-16-22(32)11-12-24(26)30(27)28/h7-12,15-18,29,35H,3-6,13-14,19H2,1-2H3/b25-15-", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=DYLGFOYVTXJFJP-MYYYXRDXSA-N" }, "metanode": "Compound" }, { "id": 45088, "identifier": "571", "identifier_type": "int", "name": "BACH1", "properties": { "url": "http://identifiers.org/ncbigene/571", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "BTB and CNC homology 1, basic leucine zipper transcription factor 1" }, "metanode": "Gene" }, { "id": 45089, "identifier": "9334", "identifier_type": "int", "name": "B4GALT5", "properties": { "url": "http://identifiers.org/ncbigene/9334", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "UDP-Gal:betaGlcNAc beta 1,4- galactosyltransferase, polypeptide 5" }, "metanode": "Gene" }, { "id": 45090, "identifier": "N0000175460", "identifier_type": "str", "name": "Non-Nucleoside Analog", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000175460", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Chemical/Ingredient" }, "metanode": "Pharmacologic Class" }, { "id": 45091, "identifier": "219970", "identifier_type": "int", "name": "GLYATL2", "properties": { "url": "http://identifiers.org/ncbigene/219970", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "glycine-N-acyltransferase-like 2" }, "metanode": "Gene" }, { "id": 45092, "identifier": "GO:0043280", "identifier_type": "str", "name": "positive regulation of cysteine-type endopeptidase activity involved in apoptotic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043280", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45093, "identifier": "GO:2000679", "identifier_type": "str", "name": "positive regulation of transcription regulatory region DNA binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000679", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45094, "identifier": "100529097", "identifier_type": "int", "name": "RPL36A-HNRNPH2", "properties": { "url": "http://identifiers.org/ncbigene/100529097", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "RPL36A-HNRNPH2 readthrough" }, "metanode": "Gene" }, { "id": 45095, "identifier": "27173", "identifier_type": "int", "name": "SLC39A1", "properties": { "url": "http://identifiers.org/ncbigene/27173", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "solute carrier family 39 (zinc transporter), member 1" }, "metanode": "Gene" }, { "id": 45096, "identifier": "414152", "identifier_type": "int", "name": "C10orf105", "properties": { "url": "http://identifiers.org/ncbigene/414152", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "chromosome 10 open reading frame 105" }, "metanode": "Gene" }, { "id": 45097, "identifier": "GO:0016499", "identifier_type": "str", "name": "orexin receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016499", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45098, "identifier": "57713", "identifier_type": "int", "name": "SFMBT2", "properties": { "url": "http://identifiers.org/ncbigene/57713", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "Scm-like with four mbt domains 2" }, "metanode": "Gene" }, { "id": 45099, "identifier": "GO:0000381", "identifier_type": "str", "name": "regulation of alternative mRNA splicing, via spliceosome", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000381", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "