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=44925
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44950", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44900", "results": [ { "id": 44925, "identifier": "C0522172", "identifier_type": "str", "name": "Feeling drunk", "properties": { "url": "http://identifiers.org/umls/C0522172", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44926, "identifier": "6925", "identifier_type": "int", "name": "TCF4", "properties": { "url": "http://identifiers.org/ncbigene/6925", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "transcription factor 4" }, "metanode": "Gene" }, { "id": 44927, "identifier": "168537", "identifier_type": "int", "name": "GIMAP7", "properties": { "url": "http://identifiers.org/ncbigene/168537", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "GTPase, IMAP family member 7" }, "metanode": "Gene" }, { "id": 44928, "identifier": "C0595882", "identifier_type": "str", "name": "Serum calcium decreased", "properties": { "url": "http://identifiers.org/umls/C0595882", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44929, "identifier": "GO:1901299", "identifier_type": "str", "name": "negative regulation of hydrogen peroxide-mediated programmed cell death", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901299", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44930, "identifier": "C0877107", "identifier_type": "str", "name": "Sinobronchitis", "properties": { "url": "http://identifiers.org/umls/C0877107", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44931, "identifier": "1757", "identifier_type": "int", "name": "SARDH", "properties": { "url": "http://identifiers.org/ncbigene/1757", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "sarcosine dehydrogenase" }, "metanode": "Gene" }, { "id": 44932, "identifier": "55304", "identifier_type": "int", "name": "SPTLC3", "properties": { "url": "http://identifiers.org/ncbigene/55304", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "serine palmitoyltransferase, long chain base subunit 3" }, "metanode": "Gene" }, { "id": 44933, "identifier": "64067", "identifier_type": "int", "name": "NPAS3", "properties": { "url": "http://identifiers.org/ncbigene/64067", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "neuronal PAS domain protein 3" }, "metanode": "Gene" }, { "id": 44934, "identifier": "PC7_5877", "identifier_type": "str", "name": "Negative regulation of the PI3K/AKT network", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 44935, "identifier": "102723743", "identifier_type": "int", "name": "LOC102723743", "properties": { "url": "http://identifiers.org/ncbigene/102723743", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "E3 ubiquitin-protein ligase RNF12-B-like" }, "metanode": "Gene" }, { "id": 44936, "identifier": "GO:0042866", "identifier_type": "str", "name": "pyruvate biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042866", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44937, "identifier": "114", "identifier_type": "int", "name": "ADCY8", "properties": { "url": "http://identifiers.org/ncbigene/114", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "adenylate cyclase 8 (brain)" }, "metanode": "Gene" }, { "id": 44938, "identifier": "8621", "identifier_type": "int", "name": "CDK13", "properties": { "url": "http://identifiers.org/ncbigene/8621", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "cyclin-dependent kinase 13" }, "metanode": "Gene" }, { "id": 44939, "identifier": "GO:0042107", "identifier_type": "str", "name": "cytokine metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042107", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44940, "identifier": "343450", "identifier_type": "int", "name": "KCNT2", "properties": { "url": "http://identifiers.org/ncbigene/343450", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "potassium channel, sodium activated subfamily T, member 2" }, "metanode": "Gene" }, { "id": 44941, "identifier": "389376", "identifier_type": "int", "name": "SFTA2", "properties": { "url": "http://identifiers.org/ncbigene/389376", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "surfactant associated 2" }, "metanode": "Gene" }, { "id": 44942, "identifier": "26716", "identifier_type": "int", "name": "OR2H1", "properties": { "url": "http://identifiers.org/ncbigene/26716", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "olfactory receptor, family 2, subfamily H, member 1" }, "metanode": "Gene" }, { "id": 44943, "identifier": "C1867423", "identifier_type": "str", "name": "Vascular resistance pulmonary increased", "properties": { "url": "http://identifiers.org/umls/C1867423", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44944, "identifier": "11202", "identifier_type": "int", "name": "KLK8", "properties": { "url": "http://identifiers.org/ncbigene/11202", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "kallikrein-related peptidase 8" }, "metanode": "Gene" }, { "id": 44945, "identifier": "GO:0043249", "identifier_type": "str", "name": "erythrocyte maturation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043249", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44946, "identifier": "4908", "identifier_type": "int", "name": "NTF3", "properties": { "url": "http://identifiers.org/ncbigene/4908", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "neurotrophin 3" }, "metanode": "Gene" }, { "id": 44947, "identifier": "GO:0005005", "identifier_type": "str", "name": "transmembrane-ephrin receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005005", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 44948, "identifier": "GO:0035256", "identifier_type": "str", "name": "G-protein coupled glutamate receptor binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035256", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 44949, "identifier": "GO:0061470", "identifier_type": "str", "name": "T follicular helper cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061470", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "