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=46575
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46600", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46550", "results": [ { "id": 46574, "identifier": "DB00636", "identifier_type": "str", "name": "Clofibrate", "properties": { "url": "http://www.drugbank.ca/drugs/DB00636", "inchi": "InChI=1S/C12H15ClO3/c1-4-15-11(14)12(2,3)16-10-7-5-9(13)6-8-10/h5-8H,4H2,1-3H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=KNHUKKLJHYUCFP-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 46575, "identifier": "C0858618", "identifier_type": "str", "name": "Dyschromatopsia", "properties": { "url": "http://identifiers.org/umls/C0858618", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46576, "identifier": "865", "identifier_type": "int", "name": "CBFB", "properties": { "url": "http://identifiers.org/ncbigene/865", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "core-binding factor, beta subunit" }, "metanode": "Gene" }, { "id": 46577, "identifier": "9372", "identifier_type": "int", "name": "ZFYVE9", "properties": { "url": "http://identifiers.org/ncbigene/9372", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "zinc finger, FYVE domain containing 9" }, "metanode": "Gene" }, { "id": 46578, "identifier": "220136", "identifier_type": "int", "name": "CFAP53", "properties": { "url": "http://identifiers.org/ncbigene/220136", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "cilia and flagella associated protein 53" }, "metanode": "Gene" }, { "id": 46579, "identifier": "389199", "identifier_type": "int", "name": "LOC389199", "properties": { "url": "http://identifiers.org/ncbigene/389199", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "uncharacterized LOC389199" }, "metanode": "Gene" }, { "id": 46580, "identifier": "DB00991", "identifier_type": "str", "name": "Oxaprozin", "properties": { "url": "http://www.drugbank.ca/drugs/DB00991", "inchi": "InChI=1S/C18H15NO3/c20-16(21)12-11-15-19-17(13-7-3-1-4-8-13)18(22-15)14-9-5-2-6-10-14/h1-10H,11-12H2,(H,20,21)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=OFPXSFXSNFPTHF-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 46581, "identifier": "3206", "identifier_type": "int", "name": "HOXA10", "properties": { "url": "http://identifiers.org/ncbigene/3206", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "homeobox A10" }, "metanode": "Gene" }, { "id": 46582, "identifier": "GO:1902564", "identifier_type": "str", "name": "negative regulation of neutrophil activation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902564", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46583, "identifier": "DB06267", "identifier_type": "str", "name": "Udenafil", "properties": { "url": "http://www.drugbank.ca/drugs/DB06267", "inchi": "InChI=1S/C25H36N6O4S/c1-5-8-20-22-23(31(4)29-20)25(32)28-24(27-22)19-16-18(10-11-21(19)35-15-6-2)36(33,34)26-13-12-17-9-7-14-30(17)3/h10-11,16-17,26H,5-9,12-15H2,1-4H3,(H,27,28,32)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=IYFNEFQTYQPVOC-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 46584, "identifier": "83640", "identifier_type": "int", "name": "FAM103A1", "properties": { "url": "http://identifiers.org/ncbigene/83640", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "family with sequence similarity 103, member A1" }, "metanode": "Gene" }, { "id": 46585, "identifier": "342574", "identifier_type": "int", "name": "KRT27", "properties": { "url": "http://identifiers.org/ncbigene/342574", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "keratin 27, type I" }, "metanode": "Gene" }, { "id": 46586, "identifier": "C2945558", "identifier_type": "str", "name": "Vulvovaginitis trichomonal", "properties": { "url": "http://identifiers.org/umls/C2945558", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46587, "identifier": "29920", "identifier_type": "int", "name": "PYCR2", "properties": { "url": "http://identifiers.org/ncbigene/29920", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "pyrroline-5-carboxylate reductase family, member 2" }, "metanode": "Gene" }, { "id": 46588, "identifier": "10326", "identifier_type": "int", "name": "SIRPB1", "properties": { "url": "http://identifiers.org/ncbigene/10326", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "signal-regulatory protein beta 1" }, "metanode": "Gene" }, { "id": 46589, "identifier": "51585", "identifier_type": "int", "name": "PCF11", "properties": { "url": "http://identifiers.org/ncbigene/51585", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "PCF11 cleavage and polyadenylation factor subunit" }, "metanode": "Gene" }, { "id": 46590, "identifier": "GO:0098642", "identifier_type": "str", "name": "network-forming collagen trimer", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0098642", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46591, "identifier": "441476", "identifier_type": "int", "name": "C9orf173", "properties": { "url": "http://identifiers.org/ncbigene/441476", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "chromosome 9 open reading frame 173" }, "metanode": "Gene" }, { "id": 46592, "identifier": "DB01002", "identifier_type": "str", "name": "Levobupivacaine", "properties": { "url": "http://www.drugbank.ca/drugs/DB01002", "inchi": "InChI=1S/C18H28N2O/c1-4-5-12-20-13-7-6-11-16(20)18(21)19-17-14(2)9-8-10-15(17)3/h8-10,16H,4-7,11-13H2,1-3H3,(H,19,21)/t16-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=LEBVLXFERQHONN-INIZCTEOSA-N" }, "metanode": "Compound" }, { "id": 46593, "identifier": "GO:0043922", "identifier_type": "str", "name": "negative regulation by host of viral transcription", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043922", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46594, "identifier": "GO:0061179", "identifier_type": "str", "name": "negative regulation of insulin secretion involved in cellular response to glucose stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061179", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46595, "identifier": "N0000000174", "identifier_type": "str", "name": "Opioid Agonists", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000000174", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 46596, "identifier": "GO:0008948", "identifier_type": "str", "name": "oxaloacetate decarboxylase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008948", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46597, "identifier": "GO:0019198", "identifier_type": "str", "name": "transmembrane receptor protein phosphatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019198", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46598, "identifier": "C1096250", "identifier_type": "str", "name": "Gastrointestinal discomfort", "properties": { "url": "http://identifiers.org/umls/C1096250", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "