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=2200
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2225", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2175", "results": [ { "id": 2192, "identifier": "C0587054", "identifier_type": "str", "name": "Numbness in fingers", "properties": { "url": "http://identifiers.org/umls/C0587054", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2193, "identifier": "GO:0042711", "identifier_type": "str", "name": "maternal behavior", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042711", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2194, "identifier": "346", "identifier_type": "int", "name": "APOC4", "properties": { "url": "http://identifiers.org/ncbigene/346", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "apolipoprotein C-IV" }, "metanode": "Gene" }, { "id": 2195, "identifier": "8853", "identifier_type": "int", "name": "ASAP2", "properties": { "url": "http://identifiers.org/ncbigene/8853", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "ArfGAP with SH3 domain, ankyrin repeat and PH domain 2" }, "metanode": "Gene" }, { "id": 2196, "identifier": "N0000007659", "identifier_type": "str", "name": "Nitrogen Mustard Compounds", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000007659", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Chemical/Ingredient" }, "metanode": "Pharmacologic Class" }, { "id": 2197, "identifier": "GO:0010728", "identifier_type": "str", "name": "regulation of hydrogen peroxide biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010728", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2198, "identifier": "DB00173", "identifier_type": "str", "name": "Adenine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00173", "inchi": "InChI=1S/C5H5N5/c6-4-3-5(9-1-7-3)10-2-8-4/h1-2H,(H3,6,7,8,9,10)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=GFFGJBXGBJISGV-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 2199, "identifier": "C0035085", "identifier_type": "str", "name": "Renal infarct", "properties": { "url": "http://identifiers.org/umls/C0035085", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2200, "identifier": "2815", "identifier_type": "int", "name": "GP9", "properties": { "url": "http://identifiers.org/ncbigene/2815", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "glycoprotein IX (platelet)" }, "metanode": "Gene" }, { "id": 2201, "identifier": "GO:1903310", "identifier_type": "str", "name": "positive regulation of chromatin modification", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903310", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2202, "identifier": "C0151541", "identifier_type": "str", "name": "Capillary fragility increased", "properties": { "url": "http://identifiers.org/umls/C0151541", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2203, "identifier": "GO:0004613", "identifier_type": "str", "name": "phosphoenolpyruvate carboxykinase (GTP) activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004613", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2204, "identifier": "2316", "identifier_type": "int", "name": "FLNA", "properties": { "url": "http://identifiers.org/ncbigene/2316", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "filamin A, alpha" }, "metanode": "Gene" }, { "id": 2205, "identifier": "DB00964", "identifier_type": "str", "name": "Apraclonidine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00964", "inchi": "InChI=1S/C9H10Cl2N4/c10-6-3-5(12)4-7(11)8(6)15-9-13-1-2-14-9/h3-4H,1-2,12H2,(H2,13,14,15)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=IEJXVRYNEISIKR-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 2206, "identifier": "5140", "identifier_type": "int", "name": "PDE3B", "properties": { "url": "http://identifiers.org/ncbigene/5140", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "phosphodiesterase 3B, cGMP-inhibited" }, "metanode": "Gene" }, { "id": 2207, "identifier": "55290", "identifier_type": "int", "name": "BRF2", "properties": { "url": "http://identifiers.org/ncbigene/55290", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "BRF2, RNA polymerase III transcription initiation factor 50 kDa subunit" }, "metanode": "Gene" }, { "id": 2208, "identifier": "166752", "identifier_type": "int", "name": "FREM3", "properties": { "url": "http://identifiers.org/ncbigene/166752", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "FRAS1 related extracellular matrix 3" }, "metanode": "Gene" }, { "id": 2209, "identifier": "347862", "identifier_type": "int", "name": "PDDC1", "properties": { "url": "http://identifiers.org/ncbigene/347862", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "Parkinson disease 7 domain containing 1" }, "metanode": "Gene" }, { "id": 2210, "identifier": "90113", "identifier_type": "int", "name": "VWA5B2", "properties": { "url": "http://identifiers.org/ncbigene/90113", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "von Willebrand factor A domain containing 5B2" }, "metanode": "Gene" }, { "id": 2211, "identifier": "65980", "identifier_type": "int", "name": "BRD9", "properties": { "url": "http://identifiers.org/ncbigene/65980", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "bromodomain containing 9" }, "metanode": "Gene" }, { "id": 2212, "identifier": "GO:0008967", "identifier_type": "str", "name": "phosphoglycolate phosphatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008967", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2213, "identifier": "374920", "identifier_type": "int", "name": "C19orf68", "properties": { "url": "http://identifiers.org/ncbigene/374920", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "chromosome 19 open reading frame 68" }, "metanode": "Gene" }, { "id": 2214, "identifier": "23235", "identifier_type": "int", "name": "SIK2", "properties": { "url": "http://identifiers.org/ncbigene/23235", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "salt-inducible kinase 2" }, "metanode": "Gene" }, { "id": 2215, "identifier": "7593", "identifier_type": "int", "name": "MZF1", "properties": { "url": "http://identifiers.org/ncbigene/7593", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "myeloid zinc finger 1" }, "metanode": "Gene" }, { "id": 2216, "identifier": "84075", "identifier_type": "int", "name": "FSCB", "properties": { "url": "http://identifiers.org/ncbigene/84075", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "fibrous sheath CABYR binding protein" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "