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=45875
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45900", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45850", "results": [ { "id": 45873, "identifier": "GO:0008823", "identifier_type": "str", "name": "cupric reductase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008823", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45874, "identifier": "GO:0043116", "identifier_type": "str", "name": "negative regulation of vascular permeability", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043116", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45875, "identifier": "C0026718", "identifier_type": "str", "name": "Mucormycosis", "properties": { "url": "http://identifiers.org/umls/C0026718", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45876, "identifier": "PC7_6618", "identifier_type": "str", "name": "Prolonged ERK activation events", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 45877, "identifier": "10559", "identifier_type": "int", "name": "SLC35A1", "properties": { "url": "http://identifiers.org/ncbigene/10559", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "solute carrier family 35 (CMP-sialic acid transporter), member A1" }, "metanode": "Gene" }, { "id": 45878, "identifier": "PC7_2704", "identifier_type": "str", "name": "Creation of C4 and C2 activators", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 45879, "identifier": "84955", "identifier_type": "int", "name": "NUDCD1", "properties": { "url": "http://identifiers.org/ncbigene/84955", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "NudC domain containing 1" }, "metanode": "Gene" }, { "id": 45880, "identifier": "GO:0086069", "identifier_type": "str", "name": "bundle of His cell to Purkinje myocyte communication", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0086069", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45881, "identifier": "DB01232", "identifier_type": "str", "name": "Saquinavir", "properties": { "url": "http://www.drugbank.ca/drugs/DB01232", "inchi": "InChI=1S/C38H50N6O5/c1-38(2,3)43-37(49)32-20-26-14-7-8-15-27(26)22-44(32)23-33(45)30(19-24-11-5-4-6-12-24)41-36(48)31(21-34(39)46)42-35(47)29-18-17-25-13-9-10-16-28(25)40-29/h4-6,9-13,16-18,26-27,30-33,45H,7-8,14-15,19-23H2,1-3H3,(H2,39,46)(H,41,48)(H,42,47)(H,43,49)/t26?,27?,30-,31-,32-,33+/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=QWAXKHKRTORLEM-LINFGICFSA-N" }, "metanode": "Compound" }, { "id": 45882, "identifier": "C0278045", "identifier_type": "str", "name": "Urine odour abnormal", "properties": { "url": "http://identifiers.org/umls/C0278045", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45883, "identifier": "6846", "identifier_type": "int", "name": "XCL2", "properties": { "url": "http://identifiers.org/ncbigene/6846", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "chemokine (C motif) ligand 2" }, "metanode": "Gene" }, { "id": 45884, "identifier": "3885", "identifier_type": "int", "name": "KRT34", "properties": { "url": "http://identifiers.org/ncbigene/3885", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "keratin 34, type I" }, "metanode": "Gene" }, { "id": 45885, "identifier": "GO:0030890", "identifier_type": "str", "name": "positive regulation of B cell proliferation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030890", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45886, "identifier": "PC7_4284", "identifier_type": "str", "name": "Glypican 1 network", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" }, { "id": 45887, "identifier": "PC7_5339", "identifier_type": "str", "name": "Metal ion SLC transporters", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 45888, "identifier": "257415", "identifier_type": "int", "name": "FAM133B", "properties": { "url": "http://identifiers.org/ncbigene/257415", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "family with sequence similarity 133, member B" }, "metanode": "Gene" }, { "id": 45889, "identifier": "GO:2000364", "identifier_type": "str", "name": "regulation of STAT protein import into nucleus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000364", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45890, "identifier": "10169", "identifier_type": "int", "name": "SERF2", "properties": { "url": "http://identifiers.org/ncbigene/10169", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "small EDRK-rich factor 2" }, "metanode": "Gene" }, { "id": 45891, "identifier": "171169", "identifier_type": "int", "name": "SPACA4", "properties": { "url": "http://identifiers.org/ncbigene/171169", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "sperm acrosome associated 4" }, "metanode": "Gene" }, { "id": 45892, "identifier": "390940", "identifier_type": "int", "name": "PINLYP", "properties": { "url": "http://identifiers.org/ncbigene/390940", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "phospholipase A2 inhibitor and LY6/PLAUR domain containing" }, "metanode": "Gene" }, { "id": 45893, "identifier": "493911", "identifier_type": "int", "name": "PHOSPHO2", "properties": { "url": "http://identifiers.org/ncbigene/493911", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "phosphatase, orphan 2" }, "metanode": "Gene" }, { "id": 45894, "identifier": "GO:0023058", "identifier_type": "str", "name": "adaptation of signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0023058", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45895, "identifier": "DB00743", "identifier_type": "str", "name": "Gadobenate Dimeglumine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00743", "inchi": "InChI=1S/C22H31N3O11.2C7H17NO5.Gd/c26-18(27)10-23(6-7-24(11-19(28)29)12-20(30)31)8-9-25(13-21(32)33)17(22(34)35)15-36-14-16-4-2-1-3-5-16;2*1-8-2-4(10)6(12)7(13)5(11)3-9;/h1-5,17H,6-15H2,(H,26,27)(H,28,29)(H,30,31)(H,32,33)(H,34,35);2*4-13H,2-3H2,1H3;/q;;;+3/p-3/t;2*4-,5+,6+,7+;/m.00./s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=OCDAWJYGVOLXGZ-VPVMAENOSA-K" }, "metanode": "Compound" }, { "id": 45896, "identifier": "100128320", "identifier_type": "int", "name": "LOC100128320", "properties": { "url": "http://identifiers.org/ncbigene/100128320", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "uncharacterized LOC100128320" }, "metanode": "Gene" }, { "id": 45897, "identifier": "GO:0007176", "identifier_type": "str", "name": "regulation of epidermal growth factor-activated receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007176", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "