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=44775
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44800", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44750", "results": [ { "id": 44775, "identifier": "GO:0003241", "identifier_type": "str", "name": "growth involved in heart morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003241", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44776, "identifier": "GO:0006586", "identifier_type": "str", "name": "indolalkylamine metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006586", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44777, "identifier": "84449", "identifier_type": "int", "name": "ZNF333", "properties": { "url": "http://identifiers.org/ncbigene/84449", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 333" }, "metanode": "Gene" }, { "id": 44778, "identifier": "105374312", "identifier_type": "int", "name": "LOC105374312", "properties": { "url": "http://identifiers.org/ncbigene/105374312", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "coiled-coil domain-containing protein 86-like" }, "metanode": "Gene" }, { "id": 44779, "identifier": "PC7_6793", "identifier_type": "str", "name": "RNA Polymerase I Promoter Opening", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 44780, "identifier": "6468", "identifier_type": "int", "name": "FBXW4", "properties": { "url": "http://identifiers.org/ncbigene/6468", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "F-box and WD repeat domain containing 4" }, "metanode": "Gene" }, { "id": 44781, "identifier": "C3160769", "identifier_type": "str", "name": "Major bleed", "properties": { "url": "http://identifiers.org/umls/C3160769", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44782, "identifier": "GO:0005021", "identifier_type": "str", "name": "vascular endothelial growth factor-activated receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005021", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 44783, "identifier": "65125", "identifier_type": "int", "name": "WNK1", "properties": { "url": "http://identifiers.org/ncbigene/65125", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "WNK lysine deficient protein kinase 1" }, "metanode": "Gene" }, { "id": 44784, "identifier": "GO:1904224", "identifier_type": "str", "name": "negative regulation of glucuronosyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904224", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44785, "identifier": "337959", "identifier_type": "int", "name": "KRTAP13-2", "properties": { "url": "http://identifiers.org/ncbigene/337959", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "keratin associated protein 13-2" }, "metanode": "Gene" }, { "id": 44786, "identifier": "GO:1902528", "identifier_type": "str", "name": "regulation of protein linear polyubiquitination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902528", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44787, "identifier": "C0151798", "identifier_type": "str", "name": "Hepatic necrosis", "properties": { "url": "http://identifiers.org/umls/C0151798", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44788, "identifier": "GO:0050658", "identifier_type": "str", "name": "RNA transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050658", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44789, "identifier": "1044", "identifier_type": "int", "name": "CDX1", "properties": { "url": "http://identifiers.org/ncbigene/1044", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "caudal type homeobox 1" }, "metanode": "Gene" }, { "id": 44790, "identifier": "9807", "identifier_type": "int", "name": "IP6K1", "properties": { "url": "http://identifiers.org/ncbigene/9807", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "inositol hexakisphosphate kinase 1" }, "metanode": "Gene" }, { "id": 44791, "identifier": "51194", "identifier_type": "int", "name": "IPO11", "properties": { "url": "http://identifiers.org/ncbigene/51194", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "importin 11" }, "metanode": "Gene" }, { "id": 44792, "identifier": "DB01427", "identifier_type": "str", "name": "Amrinone", "properties": { "url": "http://www.drugbank.ca/drugs/DB01427", "inchi": "InChI=1S/C10H9N3O/c11-9-5-8(6-13-10(9)14)7-1-3-12-4-2-7/h1-6H,11H2,(H,13,14)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=RNLQIBCLLYYYFJ-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 44793, "identifier": "C0149678", "identifier_type": "str", "name": "Epstein-Barr virus infection", "properties": { "url": "http://identifiers.org/umls/C0149678", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44794, "identifier": "GO:1990131", "identifier_type": "str", "name": "Gtr1-Gtr2 GTPase complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1990131", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 44795, "identifier": "N0000009918", "identifier_type": "str", "name": "Adrenergic alpha2-Agonists", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000009918", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 44796, "identifier": "GO:0048368", "identifier_type": "str", "name": "lateral mesoderm development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048368", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44797, "identifier": "GO:0098533", "identifier_type": "str", "name": "ATPase dependent transmembrane transport complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0098533", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 44798, "identifier": "GO:1990423", "identifier_type": "str", "name": "RZZ complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1990423", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 44799, "identifier": "GO:0072557", "identifier_type": "str", "name": "IPAF inflammasome complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072557", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" } ] }{ "count": 47031, "next": "