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=1125
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1150", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1100", "results": [ { "id": 1123, "identifier": "DB08965", "identifier_type": "str", "name": "Fusafungine", "properties": { "url": "http://www.drugbank.ca/drugs/DB08965", "inchi": "InChI=1/C33H57N3O9/c1-16(2)22-31(40)43-26(20(9)10)29(38)35(14)24(18(5)6)33(42)45-27(21(11)12)30(39)36(15)23(17(3)4)32(41)44-25(19(7)8)28(37)34(22)13/h16-27H,1-15H3/t22-,23-,24-,25?,26?,27?/s2", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=MIZMDSVSLSIMSC-ZLKDNEIBNA-N" }, "metanode": "Compound" }, { "id": 1124, "identifier": "PC7_7484", "identifier_type": "str", "name": "Signaling by Wnt", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1125, "identifier": "GO:0021824", "identifier_type": "str", "name": "cerebral cortex tangential migration using cell-axon interactions", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021824", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1126, "identifier": "79969", "identifier_type": "int", "name": "ATAT1", "properties": { "url": "http://identifiers.org/ncbigene/79969", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "alpha tubulin acetyltransferase 1" }, "metanode": "Gene" }, { "id": 1127, "identifier": "GO:0016215", "identifier_type": "str", "name": "acyl-CoA desaturase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016215", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1128, "identifier": "GO:0046755", "identifier_type": "str", "name": "viral budding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046755", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1129, "identifier": "GO:0046440", "identifier_type": "str", "name": "L-lysine metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046440", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1130, "identifier": "5214", "identifier_type": "int", "name": "PFKP", "properties": { "url": "http://identifiers.org/ncbigene/5214", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "phosphofructokinase, platelet" }, "metanode": "Gene" }, { "id": 1131, "identifier": "55236", "identifier_type": "int", "name": "UBA6", "properties": { "url": "http://identifiers.org/ncbigene/55236", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "ubiquitin-like modifier activating enzyme 6" }, "metanode": "Gene" }, { "id": 1132, "identifier": "DB01203", "identifier_type": "str", "name": "Nadolol", "properties": { "url": "http://www.drugbank.ca/drugs/DB01203", "inchi": "InChI=1S/C17H27NO4/c1-17(2,3)18-9-12(19)10-22-16-6-4-5-11-7-14(20)15(21)8-13(11)16/h4-6,12,14-15,18-21H,7-10H2,1-3H3/t12?,14-,15+/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=VWPOSFSPZNDTMJ-UCWKZMIHSA-N" }, "metanode": "Compound" }, { "id": 1133, "identifier": "90187", "identifier_type": "int", "name": "EMILIN3", "properties": { "url": "http://identifiers.org/ncbigene/90187", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "elastin microfibril interfacer 3" }, "metanode": "Gene" }, { "id": 1134, "identifier": "DB00849", "identifier_type": "str", "name": "Methylphenobarbital", "properties": { "url": "http://www.drugbank.ca/drugs/DB00849", "inchi": "InChI=1S/C13H14N2O3/c1-3-13(9-7-5-4-6-8-9)10(16)14-12(18)15(2)11(13)17/h4-8H,3H2,1-2H3,(H,14,16,18)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ALARQZQTBTVLJV-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1135, "identifier": "124583", "identifier_type": "int", "name": "CANT1", "properties": { "url": "http://identifiers.org/ncbigene/124583", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "calcium activated nucleotidase 1" }, "metanode": "Gene" }, { "id": 1136, "identifier": "23053", "identifier_type": "int", "name": "ZSWIM8", "properties": { "url": "http://identifiers.org/ncbigene/23053", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "zinc finger, SWIM-type containing 8" }, "metanode": "Gene" }, { "id": 1137, "identifier": "GO:0010749", "identifier_type": "str", "name": "regulation of nitric oxide mediated signal transduction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010749", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1138, "identifier": "C0860703", "identifier_type": "str", "name": "Serum total protein decreased", "properties": { "url": "http://identifiers.org/umls/C0860703", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1139, "identifier": "GO:0015893", "identifier_type": "str", "name": "drug transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015893", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1140, "identifier": "C0023646", "identifier_type": "str", "name": "Lichen planus", "properties": { "url": "http://identifiers.org/umls/C0023646", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1141, "identifier": "56062", "identifier_type": "int", "name": "KLHL4", "properties": { "url": "http://identifiers.org/ncbigene/56062", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "kelch-like family member 4" }, "metanode": "Gene" }, { "id": 1142, "identifier": "D004489", "identifier_type": "str", "name": "Edema, Cardiac", "properties": { "url": "http://identifiers.org/mesh/D004489", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 1143, "identifier": "79595", "identifier_type": "int", "name": "SAP130", "properties": { "url": "http://identifiers.org/ncbigene/79595", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "Sin3A-associated protein, 130kDa" }, "metanode": "Gene" }, { "id": 1144, "identifier": "PC7_8264", "identifier_type": "str", "name": "Thrombin signalling through proteinase activated receptors (PARs)", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1145, "identifier": "105376337", "identifier_type": "int", "name": "LOC105376337", "properties": { "url": "http://identifiers.org/ncbigene/105376337", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "uncharacterized LOC105376337" }, "metanode": "Gene" }, { "id": 1146, "identifier": "C1510497", "identifier_type": "str", "name": "Lenticular opacities", "properties": { "url": "http://identifiers.org/umls/C1510497", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1147, "identifier": "GO:1990130", "identifier_type": "str", "name": "Iml1 complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1990130", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" } ] }{ "count": 47031, "next": "