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=2075
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2100", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2050", "results": [ { "id": 2068, "identifier": "GO:1990523", "identifier_type": "str", "name": "bone regeneration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1990523", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2069, "identifier": "GO:0001595", "identifier_type": "str", "name": "angiotensin receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001595", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2070, "identifier": "25861", "identifier_type": "int", "name": "DFNB31", "properties": { "url": "http://identifiers.org/ncbigene/25861", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "deafness, autosomal recessive 31" }, "metanode": "Gene" }, { "id": 2071, "identifier": "GO:0036119", "identifier_type": "str", "name": "response to platelet-derived growth factor", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0036119", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2072, "identifier": "55531", "identifier_type": "int", "name": "ELMOD1", "properties": { "url": "http://identifiers.org/ncbigene/55531", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "ELMO/CED-12 domain containing 1" }, "metanode": "Gene" }, { "id": 2073, "identifier": "C0858667", "identifier_type": "str", "name": "Urinary protein increased", "properties": { "url": "http://identifiers.org/umls/C0858667", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2074, "identifier": "341208", "identifier_type": "int", "name": "HEPHL1", "properties": { "url": "http://identifiers.org/ncbigene/341208", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "hephaestin-like 1" }, "metanode": "Gene" }, { "id": 4528, "identifier": "PC7_5325", "identifier_type": "str", "name": "Metabolism of folate and pterines", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 2075, "identifier": "GO:0021988", "identifier_type": "str", "name": "olfactory lobe development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021988", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2076, "identifier": "GO:0016520", "identifier_type": "str", "name": "growth hormone-releasing hormone receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016520", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2077, "identifier": "213", "identifier_type": "int", "name": "ALB", "properties": { "url": "http://identifiers.org/ncbigene/213", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "albumin" }, "metanode": "Gene" }, { "id": 2078, "identifier": "8704", "identifier_type": "int", "name": "B4GALT2", "properties": { "url": "http://identifiers.org/ncbigene/8704", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "UDP-Gal:betaGlcNAc beta 1,4- galactosyltransferase, polypeptide 2" }, "metanode": "Gene" }, { "id": 2079, "identifier": "C0392039", "identifier_type": "str", "name": "Ovarian enlargement", "properties": { "url": "http://identifiers.org/umls/C0392039", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2080, "identifier": "219484", "identifier_type": "int", "name": "OR5M8", "properties": { "url": "http://identifiers.org/ncbigene/219484", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 5, subfamily M, member 8" }, "metanode": "Gene" }, { "id": 2081, "identifier": "81533", "identifier_type": "int", "name": "ITFG1", "properties": { "url": "http://identifiers.org/ncbigene/81533", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "integrin alpha FG-GAP repeat containing 1" }, "metanode": "Gene" }, { "id": 2082, "identifier": "GO:0051645", "identifier_type": "str", "name": "Golgi localization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051645", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2083, "identifier": "403313", "identifier_type": "int", "name": "PPAPDC2", "properties": { "url": "http://identifiers.org/ncbigene/403313", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "phosphatidic acid phosphatase type 2 domain containing 2" }, "metanode": "Gene" }, { "id": 2084, "identifier": "C1142446", "identifier_type": "str", "name": "Bicytopenia", "properties": { "url": "http://identifiers.org/umls/C1142446", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2085, "identifier": "105372109", "identifier_type": "int", "name": "LOC105372109", "properties": { "url": "http://identifiers.org/ncbigene/105372109", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "uncharacterized LOC105372109" }, "metanode": "Gene" }, { "id": 2086, "identifier": "5007", "identifier_type": "int", "name": "OSBP", "properties": { "url": "http://identifiers.org/ncbigene/5007", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "oxysterol binding protein" }, "metanode": "Gene" }, { "id": 2087, "identifier": "55157", "identifier_type": "int", "name": "DARS2", "properties": { "url": "http://identifiers.org/ncbigene/55157", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "aspartyl-tRNA synthetase 2, mitochondrial" }, "metanode": "Gene" }, { "id": 2088, "identifier": "DB00201", "identifier_type": "str", "name": "Caffeine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00201", "inchi": "InChI=1S/C8H10N4O2/c1-10-4-9-6-5(10)7(13)12(3)8(14)11(6)2/h4H,1-3H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=RYYVLZVUVIJVGH-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 2089, "identifier": "85569", "identifier_type": "int", "name": "GALP", "properties": { "url": "http://identifiers.org/ncbigene/85569", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "galanin-like peptide" }, "metanode": "Gene" }, { "id": 2090, "identifier": "GO:0051771", "identifier_type": "str", "name": "negative regulation of nitric-oxide synthase biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051771", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2091, "identifier": "22974", "identifier_type": "int", "name": "TPX2", "properties": { "url": "http://identifiers.org/ncbigene/22974", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "TPX2, microtubule-associated" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "