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=45100
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45125", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45075", "results": [ { "id": 45100, "identifier": "DB00864", "identifier_type": "str", "name": "Tacrolimus", "properties": { "url": "http://www.drugbank.ca/drugs/DB00864", "inchi": "InChI=1S/C44H69NO12/c1-10-13-31-19-25(2)18-26(3)20-37(54-8)40-38(55-9)22-28(5)44(52,57-40)41(49)42(50)45-17-12-11-14-32(45)43(51)56-39(29(6)34(47)24-35(31)48)27(4)21-30-15-16-33(46)36(23-30)53-7/h10,19,21,26,28-34,36-40,46-47,52H,1,11-18,20,22-24H2,2-9H3/b25-19+,27-21+/t26-,28+,29+,30-,31+,32-,33+,34-,36+,37-,38-,39+,40+,44+/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=QJJXYPPXXYFBGM-LFZNUXCKSA-N" }, "metanode": "Compound" }, { "id": 45101, "identifier": "GO:0030427", "identifier_type": "str", "name": "site of polarized growth", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030427", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45102, "identifier": "346171", "identifier_type": "int", "name": "ZFP57", "properties": { "url": "http://identifiers.org/ncbigene/346171", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "ZFP57 zinc finger protein" }, "metanode": "Gene" }, { "id": 45103, "identifier": "GO:0045360", "identifier_type": "str", "name": "regulation of interleukin-1 biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045360", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45104, "identifier": "54974", "identifier_type": "int", "name": "THG1L", "properties": { "url": "http://identifiers.org/ncbigene/54974", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "tRNA-histidine guanylyltransferase 1-like (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 45105, "identifier": "5621", "identifier_type": "int", "name": "PRNP", "properties": { "url": "http://identifiers.org/ncbigene/5621", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "prion protein" }, "metanode": "Gene" }, { "id": 45106, "identifier": "51547", "identifier_type": "int", "name": "SIRT7", "properties": { "url": "http://identifiers.org/ncbigene/51547", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "sirtuin 7" }, "metanode": "Gene" }, { "id": 45107, "identifier": "105378192", "identifier_type": "int", "name": "LOC105378192", "properties": { "url": "http://identifiers.org/ncbigene/105378192", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "uncharacterized LOC105378192" }, "metanode": "Gene" }, { "id": 45108, "identifier": "GO:0002827", "identifier_type": "str", "name": "positive regulation of T-helper 1 type immune response", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002827", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45109, "identifier": "23460", "identifier_type": "int", "name": "ABCA6", "properties": { "url": "http://identifiers.org/ncbigene/23460", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "ATP-binding cassette, sub-family A (ABC1), member 6" }, "metanode": "Gene" }, { "id": 45110, "identifier": "GO:0008026", "identifier_type": "str", "name": "ATP-dependent helicase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008026", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45111, "identifier": "GO:0038110", "identifier_type": "str", "name": "interleukin-2-mediated signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0038110", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45112, "identifier": "92935", "identifier_type": "int", "name": "MARS2", "properties": { "url": "http://identifiers.org/ncbigene/92935", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "methionyl-tRNA synthetase 2, mitochondrial" }, "metanode": "Gene" }, { "id": 45113, "identifier": "GO:0045159", "identifier_type": "str", "name": "myosin II binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045159", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45114, "identifier": "D017566", "identifier_type": "str", "name": "Microvascular Angina", "properties": { "url": "http://identifiers.org/mesh/D017566", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 45115, "identifier": "DB01413", "identifier_type": "str", "name": "Cefepime", "properties": { "url": "http://www.drugbank.ca/drugs/DB01413", "inchi": "InChI=1S/C19H24N6O5S2/c1-25(5-3-4-6-25)7-10-8-31-17-13(16(27)24(17)14(10)18(28)29)22-15(26)12(23-30-2)11-9-32-19(20)21-11/h9,13,17H,3-8H2,1-2H3,(H3-,20,21,22,26,28,29)/b23-12-/t13-,17-/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=HVFLCNVBZFFHBT-ZKDACBOMSA-N" }, "metanode": "Compound" }, { "id": 45116, "identifier": "GO:0042482", "identifier_type": "str", "name": "positive regulation of odontogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042482", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45117, "identifier": "GO:0032838", "identifier_type": "str", "name": "cell projection cytoplasm", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032838", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45118, "identifier": "56341", "identifier_type": "int", "name": "PRMT8", "properties": { "url": "http://identifiers.org/ncbigene/56341", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "protein arginine methyltransferase 8" }, "metanode": "Gene" }, { "id": 45119, "identifier": "GO:1904251", "identifier_type": "str", "name": "regulation of bile acid metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904251", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45120, "identifier": "N0000007632", "identifier_type": "str", "name": "Thyroxine", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000007632", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Chemical/Ingredient" }, "metanode": "Pharmacologic Class" }, { "id": 45121, "identifier": "10319", "identifier_type": "int", "name": "LAMC3", "properties": { "url": "http://identifiers.org/ncbigene/10319", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "laminin, gamma 3" }, "metanode": "Gene" }, { "id": 45122, "identifier": "DB00350", "identifier_type": "str", "name": "Minoxidil", "properties": { "url": "http://www.drugbank.ca/drugs/DB00350", "inchi": "InChI=1S/C9H15N5O/c10-7-6-8(12-9(11)14(7)15)13-4-2-1-3-5-13/h6H,1-5,10H2,(H2,11,12)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ZFMITUMMTDLWHR-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 45123, "identifier": "GO:0042730", "identifier_type": "str", "name": "fibrinolysis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042730", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45124, "identifier": "C0848648", "identifier_type": "str", "name": "Fungal rash", "properties": { "url": "http://identifiers.org/umls/C0848648", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "