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=1975
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2000", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1950", "results": [ { "id": 1968, "identifier": "11024", "identifier_type": "int", "name": "LILRA1", "properties": { "url": "http://identifiers.org/ncbigene/11024", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "leukocyte immunoglobulin-like receptor, subfamily A (with TM domain), member 1" }, "metanode": "Gene" }, { "id": 1969, "identifier": "192134", "identifier_type": "int", "name": "B3GNT6", "properties": { "url": "http://identifiers.org/ncbigene/192134", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "UDP-GlcNAc:betaGal beta-1,3-N-acetylglucosaminyltransferase 6" }, "metanode": "Gene" }, { "id": 1970, "identifier": "N0000000194", "identifier_type": "str", "name": "Somatostatin Receptor Agonists", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000000194", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 1971, "identifier": "1054", "identifier_type": "int", "name": "CEBPG", "properties": { "url": "http://identifiers.org/ncbigene/1054", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "CCAAT/enhancer binding protein (C/EBP), gamma" }, "metanode": "Gene" }, { "id": 1972, "identifier": "4986", "identifier_type": "int", "name": "OPRK1", "properties": { "url": "http://identifiers.org/ncbigene/4986", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "opioid receptor, kappa 1" }, "metanode": "Gene" }, { "id": 1973, "identifier": "55008", "identifier_type": "int", "name": "HERC6", "properties": { "url": "http://identifiers.org/ncbigene/55008", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "HECT and RLD domain containing E3 ubiquitin protein ligase family member 6" }, "metanode": "Gene" }, { "id": 1974, "identifier": "140873", "identifier_type": "int", "name": "C20orf173", "properties": { "url": "http://identifiers.org/ncbigene/140873", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "chromosome 20 open reading frame 173" }, "metanode": "Gene" }, { "id": 1975, "identifier": "134637", "identifier_type": "int", "name": "ADAT2", "properties": { "url": "http://identifiers.org/ncbigene/134637", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "adenosine deaminase, tRNA-specific 2" }, "metanode": "Gene" }, { "id": 1976, "identifier": "GO:0009312", "identifier_type": "str", "name": "oligosaccharide biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009312", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1977, "identifier": "7327", "identifier_type": "int", "name": "UBE2G2", "properties": { "url": "http://identifiers.org/ncbigene/7327", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "ubiquitin-conjugating enzyme E2G 2" }, "metanode": "Gene" }, { "id": 1978, "identifier": "C0497327", "identifier_type": "str", "name": "Dementia", "properties": { "url": "http://identifiers.org/umls/C0497327", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1979, "identifier": "C0020433", "identifier_type": "str", "name": "Hyperbilirubinaemia", "properties": { "url": "http://identifiers.org/umls/C0020433", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1980, "identifier": "C2363731", "identifier_type": "str", "name": "Oropharyngeal pain", "properties": { "url": "http://identifiers.org/umls/C2363731", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1981, "identifier": "GO:0032211", "identifier_type": "str", "name": "negative regulation of telomere maintenance via telomerase", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032211", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1982, "identifier": "GO:0090343", "identifier_type": "str", "name": "positive regulation of cell aging", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090343", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1983, "identifier": "GO:0045787", "identifier_type": "str", "name": "positive regulation of cell cycle", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045787", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1984, "identifier": "101929206", "identifier_type": "int", "name": "LOC101929206", "properties": { "url": "http://identifiers.org/ncbigene/101929206", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 708-like" }, "metanode": "Gene" }, { "id": 1985, "identifier": "4107", "identifier_type": "int", "name": "MAGEA8", "properties": { "url": "http://identifiers.org/ncbigene/4107", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "melanoma antigen family A8" }, "metanode": "Gene" }, { "id": 1986, "identifier": "DB00266", "identifier_type": "str", "name": "Dicoumarol", "properties": { "url": "http://www.drugbank.ca/drugs/DB00266", "inchi": "InChI=1S/C19H12O6/c20-16-10-5-1-3-7-14(10)24-18(22)12(16)9-13-17(21)11-6-2-4-8-15(11)25-19(13)23/h1-8,20-21H,9H2", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=DOBMPNYZJYQDGZ-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1987, "identifier": "9023", "identifier_type": "int", "name": "CH25H", "properties": { "url": "http://identifiers.org/ncbigene/9023", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "cholesterol 25-hydroxylase" }, "metanode": "Gene" }, { "id": 1988, "identifier": "286063", "identifier_type": "int", "name": "LOC286063", "properties": { "url": "http://identifiers.org/ncbigene/286063", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "uncharacterized LOC286063" }, "metanode": "Gene" }, { "id": 1989, "identifier": "C2747852", "identifier_type": "str", "name": "Device related sepsis", "properties": { "url": "http://identifiers.org/umls/C2747852", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1990, "identifier": "C1167868", "identifier_type": "str", "name": "Perinephric collection", "properties": { "url": "http://identifiers.org/umls/C1167868", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1991, "identifier": "GO:0000138", "identifier_type": "str", "name": "Golgi trans cisterna", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000138", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1992, "identifier": "2841", "identifier_type": "int", "name": "GPR18", "properties": { "url": "http://identifiers.org/ncbigene/2841", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "G protein-coupled receptor 18" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "