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=350
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=375", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=325", "results": [ { "id": 350, "identifier": "GO:0050679", "identifier_type": "str", "name": "positive regulation of epithelial cell proliferation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050679", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 351, "identifier": "GO:0042030", "identifier_type": "str", "name": "ATPase inhibitor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042030", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 352, "identifier": "GO:0045841", "identifier_type": "str", "name": "negative regulation of mitotic metaphase/anaphase transition", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045841", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 353, "identifier": "30837", "identifier_type": "int", "name": "SOCS7", "properties": { "url": "http://identifiers.org/ncbigene/30837", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "suppressor of cytokine signaling 7" }, "metanode": "Gene" }, { "id": 354, "identifier": "C0151582", "identifier_type": "str", "name": "Urate crystalluria", "properties": { "url": "http://identifiers.org/umls/C0151582", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 355, "identifier": "146395", "identifier_type": "int", "name": "GSG1L", "properties": { "url": "http://identifiers.org/ncbigene/146395", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "GSG1-like" }, "metanode": "Gene" }, { "id": 356, "identifier": "102725021", "identifier_type": "int", "name": "LOC102725021", "properties": { "url": "http://identifiers.org/ncbigene/102725021", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "uncharacterized LOC102725021" }, "metanode": "Gene" }, { "id": 357, "identifier": "GO:0051499", "identifier_type": "str", "name": "D-aminoacyl-tRNA deacylase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051499", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 358, "identifier": "GO:1901474", "identifier_type": "str", "name": "azole transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901474", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 359, "identifier": "C0027719", "identifier_type": "str", "name": "Nephrosclerosis", "properties": { "url": "http://identifiers.org/umls/C0027719", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 360, "identifier": "D057896", "identifier_type": "str", "name": "Striae Distensae", "properties": { "url": "http://identifiers.org/mesh/D057896", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 361, "identifier": "1392", "identifier_type": "int", "name": "CRH", "properties": { "url": "http://identifiers.org/ncbigene/1392", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "corticotropin releasing hormone" }, "metanode": "Gene" }, { "id": 362, "identifier": "9899", "identifier_type": "int", "name": "SV2B", "properties": { "url": "http://identifiers.org/ncbigene/9899", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "synaptic vesicle glycoprotein 2B" }, "metanode": "Gene" }, { "id": 363, "identifier": "GO:0031905", "identifier_type": "str", "name": "early endosome lumen", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031905", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 364, "identifier": "55626", "identifier_type": "int", "name": "AMBRA1", "properties": { "url": "http://identifiers.org/ncbigene/55626", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "autophagy/beclin-1 regulator 1" }, "metanode": "Gene" }, { "id": 365, "identifier": "GO:0007518", "identifier_type": "str", "name": "myoblast fate determination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007518", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 366, "identifier": "C0014866", "identifier_type": "str", "name": "Oesophageal stenosis", "properties": { "url": "http://identifiers.org/umls/C0014866", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 367, "identifier": "GO:0061640", "identifier_type": "str", "name": "cytoskeleton-dependent cytokinesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061640", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 368, "identifier": "100507055", "identifier_type": "int", "name": "LRCOL1", "properties": { "url": "http://identifiers.org/ncbigene/100507055", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "leucine rich colipase-like 1" }, "metanode": "Gene" }, { "id": 369, "identifier": "GO:0045604", "identifier_type": "str", "name": "regulation of epidermal cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045604", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 370, "identifier": "C0242669", "identifier_type": "str", "name": "Retained placenta", "properties": { "url": "http://identifiers.org/umls/C0242669", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 371, "identifier": "2090", "identifier_type": "int", "name": "ESA4", "properties": { "url": "http://identifiers.org/ncbigene/2090", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "esterase A4" }, "metanode": "Gene" }, { "id": 372, "identifier": "445328", "identifier_type": "int", "name": "ARHGEF35", "properties": { "url": "http://identifiers.org/ncbigene/445328", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "Rho guanine nucleotide exchange factor (GEF) 35" }, "metanode": "Gene" }, { "id": 373, "identifier": "267020", "identifier_type": "int", "name": "ATP5L2", "properties": { "url": "http://identifiers.org/ncbigene/267020", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "ATP synthase, H+ transporting, mitochondrial Fo complex, subunit G2" }, "metanode": "Gene" }, { "id": 374, "identifier": "DB00732", "identifier_type": "str", "name": "Atracurium", "properties": { "url": "http://www.drugbank.ca/drugs/DB00732", "inchi": "InChI=1S/C53H72N2O12/c1-54(22-18-38-32-48(62-7)50(64-9)34-40(38)42(54)28-36-14-16-44(58-3)46(30-36)60-5)24-20-52(56)66-26-12-11-13-27-67-53(57)21-25-55(2)23-19-39-33-49(63-8)51(65-10)35-41(39)43(55)29-37-15-17-45(59-4)47(31-37)61-6/h14-17,30-35,42-43H,11-13,18-29H2,1-10H3/q+2", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=YXSLJKQTIDHPOT-UHFFFAOYSA-N" }, "metanode": "Compound" } ] }{ "count": 47031, "next": "