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=1225
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1250", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1200", "results": [ { "id": 1223, "identifier": "22878", "identifier_type": "int", "name": "TRAPPC8", "properties": { "url": "http://identifiers.org/ncbigene/22878", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "trafficking protein particle complex 8" }, "metanode": "Gene" }, { "id": 1224, "identifier": "7364", "identifier_type": "int", "name": "UGT2B7", "properties": { "url": "http://identifiers.org/ncbigene/7364", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "UDP glucuronosyltransferase 2 family, polypeptide B7" }, "metanode": "Gene" }, { "id": 1225, "identifier": "C2937222", "identifier_type": "str", "name": "Proctitis ulcerative", "properties": { "url": "http://identifiers.org/umls/C2937222", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1226, "identifier": "GO:0044331", "identifier_type": "str", "name": "cell-cell adhesion mediated by cadherin", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044331", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1227, "identifier": "140456", "identifier_type": "int", "name": "ASB11", "properties": { "url": "http://identifiers.org/ncbigene/140456", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "ankyrin repeat and SOCS box containing 11, E3 ubiquitin protein ligase" }, "metanode": "Gene" }, { "id": 1228, "identifier": "GO:0072112", "identifier_type": "str", "name": "glomerular visceral epithelial cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072112", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1229, "identifier": "C0205929", "identifier_type": "str", "name": "Anal fistula", "properties": { "url": "http://identifiers.org/umls/C0205929", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1230, "identifier": "55759", "identifier_type": "int", "name": "WDR12", "properties": { "url": "http://identifiers.org/ncbigene/55759", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "WD repeat domain 12" }, "metanode": "Gene" }, { "id": 1231, "identifier": "GO:0032000", "identifier_type": "str", "name": "positive regulation of fatty acid beta-oxidation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032000", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1232, "identifier": "9060", "identifier_type": "int", "name": "PAPSS2", "properties": { "url": "http://identifiers.org/ncbigene/9060", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "3'-phosphoadenosine 5'-phosphosulfate synthase 2" }, "metanode": "Gene" }, { "id": 1233, "identifier": "GO:0002437", "identifier_type": "str", "name": "inflammatory response to antigenic stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002437", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1234, "identifier": "728358", "identifier_type": "int", "name": "DEFA1B", "properties": { "url": "http://identifiers.org/ncbigene/728358", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "defensin, alpha 1B" }, "metanode": "Gene" }, { "id": 1235, "identifier": "GO:0016661", "identifier_type": "str", "name": "oxidoreductase activity, acting on other nitrogenous compounds as donors", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016661", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1236, "identifier": "118924", "identifier_type": "int", "name": "FRA10AC1", "properties": { "url": "http://identifiers.org/ncbigene/118924", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "fragile site, folic acid type, rare, fra(10)(q23.3) or fra(10)(q24.2) candidate 1" }, "metanode": "Gene" }, { "id": 1237, "identifier": "127687", "identifier_type": "int", "name": "C1orf122", "properties": { "url": "http://identifiers.org/ncbigene/127687", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "chromosome 1 open reading frame 122" }, "metanode": "Gene" }, { "id": 1238, "identifier": "GO:0035032", "identifier_type": "str", "name": "phosphatidylinositol 3-kinase complex, class III", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035032", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1239, "identifier": "2894", "identifier_type": "int", "name": "GRID1", "properties": { "url": "http://identifiers.org/ncbigene/2894", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "glutamate receptor, ionotropic, delta 1" }, "metanode": "Gene" }, { "id": 1240, "identifier": "C0004153", "identifier_type": "str", "name": "Atherosclerosis", "properties": { "url": "http://identifiers.org/umls/C0004153", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1241, "identifier": "57455", "identifier_type": "int", "name": "REXO1", "properties": { "url": "http://identifiers.org/ncbigene/57455", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "REX1, RNA exonuclease 1 homolog (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 1242, "identifier": "6201", "identifier_type": "int", "name": "RPS7", "properties": { "url": "http://identifiers.org/ncbigene/6201", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "ribosomal protein S7" }, "metanode": "Gene" }, { "id": 1243, "identifier": "GO:0043034", "identifier_type": "str", "name": "costamere", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043034", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1244, "identifier": "C0700225", "identifier_type": "str", "name": "Serum creatinine increased", "properties": { "url": "http://identifiers.org/umls/C0700225", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1245, "identifier": "UBERON:0002512", "identifier_type": "str", "name": "corpus luteum", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002512", "bto_id": "BTO:0000292", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D003338" }, "metanode": "Anatomy" }, { "id": 1246, "identifier": "5347", "identifier_type": "int", "name": "PLK1", "properties": { "url": "http://identifiers.org/ncbigene/5347", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "polo-like kinase 1" }, "metanode": "Gene" }, { "id": 1247, "identifier": "DB00050", "identifier_type": "str", "name": "Cetrorelix", "properties": { "url": "http://www.drugbank.ca/drugs/DB00050", "inchi": "InChI=1S/C70H92ClN17O14/c1-39(2)31-52(61(94)82-51(15-9-28-77-69(73)74)68(101)88-30-10-16-58(88)67(100)79-40(3)59(72)92)83-60(93)50(14-8-29-78-70(75)102)81-63(96)54(34-43-20-25-49(91)26-21-43)86-66(99)57(38-89)87-65(98)56(36-45-11-7-27-76-37-45)85-64(97)55(33-42-18-23-48(71)24-19-42)84-62(95)53(80-41(4)90)35-44-17-22-46-12-5-6-13-47(46)32-44/h5-7,11-13,17-27,32,37,39-40,50-58,89,91H,8-10,14-16,28-31,33-36,38H2,1-4H3,(H2,72,92)(H,79,100)(H,80,90)(H,81,96)(H,82,94)(H,83,93)(H,84,95)(H,85,97)(H,86,99)(H,87,98)(H4,73,74,77)(H3,75,78,102)/t40-,50-,51+,52+,53-,54+,55-,56-,57+,58+/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=SBNPWPIBESPSIF-MHWMIDJBSA-N" }, "metanode": "Compound" } ] }{ "count": 47031, "next": "