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=44900
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44925", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44875", "results": [ { "id": 44900, "identifier": "GO:0015629", "identifier_type": "str", "name": "actin cytoskeleton", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015629", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 44901, "identifier": "65258", "identifier_type": "int", "name": "MPPE1", "properties": { "url": "http://identifiers.org/ncbigene/65258", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "metallophosphoesterase 1" }, "metanode": "Gene" }, { "id": 44902, "identifier": "GO:0046836", "identifier_type": "str", "name": "glycolipid transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046836", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44903, "identifier": "GO:0070775", "identifier_type": "str", "name": "H3 histone acetyltransferase complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070775", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 44904, "identifier": "C0740401", "identifier_type": "str", "name": "Duodenal ulcer perforation", "properties": { "url": "http://identifiers.org/umls/C0740401", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44905, "identifier": "DB00241", "identifier_type": "str", "name": "Butalbital", "properties": { "url": "http://www.drugbank.ca/drugs/DB00241", "inchi": "InChI=1S/C11H16N2O3/c1-4-5-11(6-7(2)3)8(14)12-10(16)13-9(11)15/h4,7H,1,5-6H2,2-3H3,(H2,12,13,14,15,16)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=UZVHFVZFNXBMQJ-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 44906, "identifier": "9940", "identifier_type": "int", "name": "DLEC1", "properties": { "url": "http://identifiers.org/ncbigene/9940", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "deleted in lung and esophageal cancer 1" }, "metanode": "Gene" }, { "id": 44907, "identifier": "DB00147", "identifier_type": "str", "name": "Pyridoxal", "properties": { "url": "http://www.drugbank.ca/drugs/DB00147", "inchi": "InChI=1S/C8H9NO3/c1-5-8(12)7(4-11)6(3-10)2-9-5/h2,4,10,12H,3H2,1H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=RADKZDMFGJYCBB-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 44908, "identifier": "C0239987", "identifier_type": "str", "name": "Immunoglobulin G low", "properties": { "url": "http://identifiers.org/umls/C0239987", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44909, "identifier": "GO:0061669", "identifier_type": "str", "name": "spontaneous neurotransmitter secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061669", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44910, "identifier": "100505570", "identifier_type": "int", "name": "LOC100505570", "properties": { "url": "http://identifiers.org/ncbigene/100505570", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "uncharacterized LOC100505570" }, "metanode": "Gene" }, { "id": 44911, "identifier": "3646", "identifier_type": "int", "name": "EIF3E", "properties": { "url": "http://identifiers.org/ncbigene/3646", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "eukaryotic translation initiation factor 3, subunit E" }, "metanode": "Gene" }, { "id": 44912, "identifier": "GO:0060178", "identifier_type": "str", "name": "regulation of exocyst localization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060178", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44913, "identifier": "105373073", "identifier_type": "int", "name": "LOC105373073", "properties": { "url": "http://identifiers.org/ncbigene/105373073", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "uncharacterized LOC105373073" }, "metanode": "Gene" }, { "id": 44914, "identifier": "285299", "identifier_type": "int", "name": "LOC285299", "properties": { "url": "http://identifiers.org/ncbigene/285299", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "FSHD region gene 2 family, member C-like" }, "metanode": "Gene" }, { "id": 44915, "identifier": "GO:0032927", "identifier_type": "str", "name": "positive regulation of activin receptor signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032927", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44916, "identifier": "GO:2000328", "identifier_type": "str", "name": "regulation of T-helper 17 cell lineage commitment", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000328", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44917, "identifier": "2131", "identifier_type": "int", "name": "EXT1", "properties": { "url": "http://identifiers.org/ncbigene/2131", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "exostosin glycosyltransferase 1" }, "metanode": "Gene" }, { "id": 44918, "identifier": "10638", "identifier_type": "int", "name": "SPHAR", "properties": { "url": "http://identifiers.org/ncbigene/10638", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "S-phase response (cyclin related)" }, "metanode": "Gene" }, { "id": 44919, "identifier": "GO:0000287", "identifier_type": "str", "name": "magnesium ion binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000287", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 44920, "identifier": "GO:0048165", "identifier_type": "str", "name": "fused antrum stage", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048165", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44921, "identifier": "C1112632", "identifier_type": "str", "name": "Cross reactive drug hypersensitivity", "properties": { "url": "http://identifiers.org/umls/C1112632", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44922, "identifier": "4584", "identifier_type": "int", "name": "MUC3A", "properties": { "url": "http://identifiers.org/ncbigene/4584", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "mucin 3A, cell surface associated" }, "metanode": "Gene" }, { "id": 44923, "identifier": "C0476486", "identifier_type": "str", "name": "Generalized lymphadenopathy", "properties": { "url": "http://identifiers.org/umls/C0476486", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44924, "identifier": "GO:0051495", "identifier_type": "str", "name": "positive regulation of cytoskeleton organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051495", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "