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=46875
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46900", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46850", "results": [ { "id": 46875, "identifier": "2733", "identifier_type": "int", "name": "GLE1", "properties": { "url": "http://identifiers.org/ncbigene/2733", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "GLE1 RNA export mediator" }, "metanode": "Gene" }, { "id": 46876, "identifier": "DB01116", "identifier_type": "str", "name": "Trimethaphan", "properties": { "url": "http://www.drugbank.ca/drugs/DB01116", "inchi": "InChI=1S/C22H25N2OS/c25-22-23(14-17-8-3-1-4-9-17)19-16-26-13-7-12-20(26)21(19)24(22)15-18-10-5-2-6-11-18/h1-6,8-11,19-21H,7,12-16H2/q+1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=CHQOEHPMXSHGCL-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 46877, "identifier": "100129280", "identifier_type": "int", "name": "LOC100129280", "properties": { "url": "http://identifiers.org/ncbigene/100129280", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "uncharacterized LOC100129280" }, "metanode": "Gene" }, { "id": 46878, "identifier": "C0234979", "identifier_type": "str", "name": "Dysdiadochokinesis", "properties": { "url": "http://identifiers.org/umls/C0234979", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46879, "identifier": "147339", "identifier_type": "int", "name": "C18orf25", "properties": { "url": "http://identifiers.org/ncbigene/147339", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "chromosome 18 open reading frame 25" }, "metanode": "Gene" }, { "id": 46880, "identifier": "5314", "identifier_type": "int", "name": "PKHD1", "properties": { "url": "http://identifiers.org/ncbigene/5314", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "polycystic kidney and hepatic disease 1 (autosomal recessive)" }, "metanode": "Gene" }, { "id": 46881, "identifier": "55208", "identifier_type": "int", "name": "DCUN1D2", "properties": { "url": "http://identifiers.org/ncbigene/55208", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "DCN1, defective in cullin neddylation 1, domain containing 2" }, "metanode": "Gene" }, { "id": 46882, "identifier": "PC7_3991", "identifier_type": "str", "name": "G alpha (12/13) signalling events", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46883, "identifier": "GO:1903509", "identifier_type": "str", "name": "liposaccharide metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903509", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46884, "identifier": "C0221785", "identifier_type": "str", "name": "Ache wrists", "properties": { "url": "http://identifiers.org/umls/C0221785", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46885, "identifier": "23281", "identifier_type": "int", "name": "MTUS2", "properties": { "url": "http://identifiers.org/ncbigene/23281", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "microtubule associated tumor suppressor candidate 2" }, "metanode": "Gene" }, { "id": 46886, "identifier": "DB01348", "identifier_type": "str", "name": "Spirapril", "properties": { "url": "http://www.drugbank.ca/drugs/DB01348", "inchi": "InChI=1S/C22H30N2O5S2/c1-3-29-21(28)17(10-9-16-7-5-4-6-8-16)23-15(2)19(25)24-14-22(30-11-12-31-22)13-18(24)20(26)27/h4-8,15,17-18,23H,3,9-14H2,1-2H3,(H,26,27)/t15-,17-,18-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=HRWCVUIFMSZDJS-SZMVWBNQSA-N" }, "metanode": "Compound" }, { "id": 46887, "identifier": "7783", "identifier_type": "int", "name": "ZP2", "properties": { "url": "http://identifiers.org/ncbigene/7783", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "zona pellucida glycoprotein 2 (sperm receptor)" }, "metanode": "Gene" }, { "id": 46888, "identifier": "GO:0051262", "identifier_type": "str", "name": "protein tetramerization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051262", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46889, "identifier": "C0154933", "identifier_type": "str", "name": "Iris adhesions", "properties": { "url": "http://identifiers.org/umls/C0154933", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46890, "identifier": "PC7_7392", "identifier_type": "str", "name": "Scavenging by Class A Receptors", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46891, "identifier": "100130976", "identifier_type": "int", "name": "LOC100130976", "properties": { "url": "http://identifiers.org/ncbigene/100130976", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "uncharacterized LOC100130976" }, "metanode": "Gene" }, { "id": 46892, "identifier": "GO:0006639", "identifier_type": "str", "name": "acylglycerol metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006639", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46893, "identifier": "GO:0006474", "identifier_type": "str", "name": "N-terminal protein amino acid acetylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006474", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46894, "identifier": "DB06697", "identifier_type": "str", "name": "Artemether", "properties": { "url": "http://www.drugbank.ca/drugs/DB06697", "inchi": "InChI=1S/C16H26O5/c1-9-5-6-12-10(2)13(17-4)18-14-16(12)11(9)7-8-15(3,19-14)20-21-16/h9-14H,5-8H2,1-4H3/t9-,10-,11+,12+,13+,14-,15-,16-/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=SXYIRMFQILZOAM-HVNFFKDJSA-N" }, "metanode": "Compound" }, { "id": 46895, "identifier": "79711", "identifier_type": "int", "name": "IPO4", "properties": { "url": "http://identifiers.org/ncbigene/79711", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "importin 4" }, "metanode": "Gene" }, { "id": 46896, "identifier": "8289", "identifier_type": "int", "name": "ARID1A", "properties": { "url": "http://identifiers.org/ncbigene/8289", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "AT rich interactive domain 1A (SWI-like)" }, "metanode": "Gene" }, { "id": 46897, "identifier": "GO:0032613", "identifier_type": "str", "name": "interleukin-10 production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032613", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46898, "identifier": "844", "identifier_type": "int", "name": "CASQ1", "properties": { "url": "http://identifiers.org/ncbigene/844", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "calsequestrin 1 (fast-twitch, skeletal muscle)" }, "metanode": "Gene" }, { "id": 46899, "identifier": "9351", "identifier_type": "int", "name": "SLC9A3R2", "properties": { "url": "http://identifiers.org/ncbigene/9351", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "solute carrier family 9, subfamily A (NHE3, cation proton antiporter 3), member 3 regulator 2" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "