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=46900
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46925", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46875", "results": [ { "id": 46900, "identifier": "C0239279", "identifier_type": "str", "name": "Epididymal tenderness", "properties": { "url": "http://identifiers.org/umls/C0239279", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46901, "identifier": "GO:0060017", "identifier_type": "str", "name": "parathyroid gland development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060017", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46902, "identifier": "C0423361", "identifier_type": "str", "name": "Posterior vitreous detachment", "properties": { "url": "http://identifiers.org/umls/C0423361", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46903, "identifier": "154288", "identifier_type": "int", "name": "KHDC3L", "properties": { "url": "http://identifiers.org/ncbigene/154288", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "KH domain containing 3-like, subcortical maternal complex member" }, "metanode": "Gene" }, { "id": 46904, "identifier": "GO:0060411", "identifier_type": "str", "name": "cardiac septum morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060411", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46905, "identifier": "57730", "identifier_type": "int", "name": "ANKRD36B", "properties": { "url": "http://identifiers.org/ncbigene/57730", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "ankyrin repeat domain 36B" }, "metanode": "Gene" }, { "id": 46906, "identifier": "GO:0002790", "identifier_type": "str", "name": "peptide secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002790", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46907, "identifier": "GO:0052844", "identifier_type": "str", "name": "inositol-3-diphosphate-1,2,4,5,6-pentakisphosphate diphosphatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0052844", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46908, "identifier": "29899", "identifier_type": "int", "name": "GPSM2", "properties": { "url": "http://identifiers.org/ncbigene/29899", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "G-protein signaling modulator 2" }, "metanode": "Gene" }, { "id": 46909, "identifier": "5638", "identifier_type": "int", "name": "PRRG1", "properties": { "url": "http://identifiers.org/ncbigene/5638", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "proline rich Gla (G-carboxyglutamic acid) 1" }, "metanode": "Gene" }, { "id": 46910, "identifier": "51692", "identifier_type": "int", "name": "CPSF3", "properties": { "url": "http://identifiers.org/ncbigene/51692", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "cleavage and polyadenylation specific factor 3, 73kDa" }, "metanode": "Gene" }, { "id": 46911, "identifier": "C0235656", "identifier_type": "str", "name": "Uterine cervical lesion", "properties": { "url": "http://identifiers.org/umls/C0235656", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46912, "identifier": "113402", "identifier_type": "int", "name": "SFT2D1", "properties": { "url": "http://identifiers.org/ncbigene/113402", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "SFT2 domain containing 1" }, "metanode": "Gene" }, { "id": 46913, "identifier": "8091", "identifier_type": "int", "name": "HMGA2", "properties": { "url": "http://identifiers.org/ncbigene/8091", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "high mobility group AT-hook 2" }, "metanode": "Gene" }, { "id": 46914, "identifier": "GO:2000313", "identifier_type": "str", "name": "regulation of fibroblast growth factor receptor signaling pathway involved in neural plate anterior/posterior pattern formation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000313", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46915, "identifier": "C1963933", "identifier_type": "str", "name": "Punding", "properties": { "url": "http://identifiers.org/umls/C1963933", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46916, "identifier": "PC7_685", "identifier_type": "str", "name": "3' -UTR-mediated translational regulation", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46917, "identifier": "GO:0033549", "identifier_type": "str", "name": "MAP kinase phosphatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033549", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46918, "identifier": "245929", "identifier_type": "int", "name": "DEFB115", "properties": { "url": "http://identifiers.org/ncbigene/245929", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "defensin, beta 115" }, "metanode": "Gene" }, { "id": 46919, "identifier": "767", "identifier_type": "int", "name": "CA8", "properties": { "url": "http://identifiers.org/ncbigene/767", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "carbonic anhydrase VIII" }, "metanode": "Gene" }, { "id": 46920, "identifier": "GO:0019941", "identifier_type": "str", "name": "modification-dependent protein catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019941", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46921, "identifier": "6448", "identifier_type": "int", "name": "SGSH", "properties": { "url": "http://identifiers.org/ncbigene/6448", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "N-sulfoglucosamine sulfohydrolase" }, "metanode": "Gene" }, { "id": 46922, "identifier": "9258", "identifier_type": "int", "name": "MFHAS1", "properties": { "url": "http://identifiers.org/ncbigene/9258", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "malignant fibrous histiocytoma amplified sequence 1" }, "metanode": "Gene" }, { "id": 46923, "identifier": "343173", "identifier_type": "int", "name": "OR2T3", "properties": { "url": "http://identifiers.org/ncbigene/343173", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "olfactory receptor, family 2, subfamily T, member 3" }, "metanode": "Gene" }, { "id": 46924, "identifier": "101929970", "identifier_type": "int", "name": "LOC101929970", "properties": { "url": "http://identifiers.org/ncbigene/101929970", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "CHRNA7-FAM7A fusion protein" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "