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=1925
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1950", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1900", "results": [ { "id": 1920, "identifier": "221786", "identifier_type": "int", "name": "FAM200A", "properties": { "url": "http://identifiers.org/ncbigene/221786", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "family with sequence similarity 200, member A" }, "metanode": "Gene" }, { "id": 1921, "identifier": "GO:0072015", "identifier_type": "str", "name": "glomerular visceral epithelial cell development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072015", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1922, "identifier": "23580", "identifier_type": "int", "name": "CDC42EP4", "properties": { "url": "http://identifiers.org/ncbigene/23580", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "CDC42 effector protein (Rho GTPase binding) 4" }, "metanode": "Gene" }, { "id": 1923, "identifier": "DB00198", "identifier_type": "str", "name": "Oseltamivir", "properties": { "url": "http://www.drugbank.ca/drugs/DB00198", "inchi": "InChI=1S/C16H28N2O4/c1-5-12(6-2)22-14-9-11(16(20)21-7-3)8-13(17)15(14)18-10(4)19/h9,12-15H,5-8,17H2,1-4H3,(H,18,19)/t13-,14+,15+/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=VSZGPKBBMSAYNT-RRFJBIMHSA-N" }, "metanode": "Compound" }, { "id": 1924, "identifier": "84548", "identifier_type": "int", "name": "TMEM185A", "properties": { "url": "http://identifiers.org/ncbigene/84548", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "transmembrane protein 185A" }, "metanode": "Gene" }, { "id": 1925, "identifier": "93183", "identifier_type": "int", "name": "PIGM", "properties": { "url": "http://identifiers.org/ncbigene/93183", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "phosphatidylinositol glycan anchor biosynthesis, class M" }, "metanode": "Gene" }, { "id": 1926, "identifier": "C0013687", "identifier_type": "str", "name": "Effusion", "properties": { "url": "http://identifiers.org/umls/C0013687", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1927, "identifier": "C1141861", "identifier_type": "str", "name": "Procedural complication", "properties": { "url": "http://identifiers.org/umls/C1141861", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1928, "identifier": "C0542224", "identifier_type": "str", "name": "Spots before eyes", "properties": { "url": "http://identifiers.org/umls/C0542224", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1929, "identifier": "6439", "identifier_type": "int", "name": "SFTPB", "properties": { "url": "http://identifiers.org/ncbigene/6439", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "surfactant protein B" }, "metanode": "Gene" }, { "id": 1930, "identifier": "GO:0034625", "identifier_type": "str", "name": "fatty acid elongation, monounsaturated fatty acid", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034625", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1931, "identifier": "65080", "identifier_type": "int", "name": "MRPL44", "properties": { "url": "http://identifiers.org/ncbigene/65080", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "mitochondrial ribosomal protein L44" }, "metanode": "Gene" }, { "id": 1932, "identifier": "641589", "identifier_type": "int", "name": "LOC641589", "properties": { "url": "http://identifiers.org/ncbigene/641589", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "neuroblastoma breakpoint family, member 19-like" }, "metanode": "Gene" }, { "id": 3029, "identifier": "WP2516_r84490", "identifier_type": "str", "name": "ATM Signaling Pathway", "properties": { "url": "http://www.wikipathways.org/instance/WP2516_r84490", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 1933, "identifier": "GO:1903018", "identifier_type": "str", "name": "regulation of glycoprotein metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903018", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1934, "identifier": "GO:0071226", "identifier_type": "str", "name": "cellular response to molecule of fungal origin", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071226", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1935, "identifier": "1271", "identifier_type": "int", "name": "CNTFR", "properties": { "url": "http://identifiers.org/ncbigene/1271", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "ciliary neurotrophic factor receptor" }, "metanode": "Gene" }, { "id": 1936, "identifier": "9762", "identifier_type": "int", "name": "LZTS3", "properties": { "url": "http://identifiers.org/ncbigene/9762", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "leucine zipper, putative tumor suppressor family member 3" }, "metanode": "Gene" }, { "id": 1937, "identifier": "GO:1903382", "identifier_type": "str", "name": "negative regulation of endoplasmic reticulum stress-induced neuron intrinsic apoptotic signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903382", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1938, "identifier": "GO:0001782", "identifier_type": "str", "name": "B cell homeostasis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001782", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1939, "identifier": "GO:0051801", "identifier_type": "str", "name": "cytolysis in other organism involved in symbiotic interaction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051801", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1940, "identifier": "3596", "identifier_type": "int", "name": "IL13", "properties": { "url": "http://identifiers.org/ncbigene/3596", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "interleukin 13" }, "metanode": "Gene" }, { "id": 1941, "identifier": "8263", "identifier_type": "int", "name": "F8A1", "properties": { "url": "http://identifiers.org/ncbigene/8263", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "coagulation factor VIII-associated 1" }, "metanode": "Gene" }, { "id": 1942, "identifier": "GO:0033674", "identifier_type": "str", "name": "positive regulation of kinase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033674", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1943, "identifier": "D015875", "identifier_type": "str", "name": "Anisocoria", "properties": { "url": "http://identifiers.org/mesh/D015875", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" } ] }{ "count": 47031, "next": "