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=45050
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45075", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45025", "results": [ { "id": 45050, "identifier": "GO:0030278", "identifier_type": "str", "name": "regulation of ossification", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030278", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45051, "identifier": "C0035326", "identifier_type": "str", "name": "Retinal vascular occlusion", "properties": { "url": "http://identifiers.org/umls/C0035326", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45052, "identifier": "100130274", "identifier_type": "int", "name": "CCDC166", "properties": { "url": "http://identifiers.org/ncbigene/100130274", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "coiled-coil domain containing 166" }, "metanode": "Gene" }, { "id": 45053, "identifier": "GO:0032493", "identifier_type": "str", "name": "response to bacterial lipoprotein", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032493", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45054, "identifier": "C0016807", "identifier_type": "str", "name": "Intestinal functional disorder", "properties": { "url": "http://identifiers.org/umls/C0016807", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45055, "identifier": "GO:0007272", "identifier_type": "str", "name": "ensheathment of neurons", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007272", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45056, "identifier": "25911", "identifier_type": "int", "name": "DPCD", "properties": { "url": "http://identifiers.org/ncbigene/25911", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "deleted in primary ciliary dyskinesia homolog (mouse)" }, "metanode": "Gene" }, { "id": 45057, "identifier": "1890", "identifier_type": "int", "name": "TYMP", "properties": { "url": "http://identifiers.org/ncbigene/1890", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "thymidine phosphorylase" }, "metanode": "Gene" }, { "id": 45058, "identifier": "GO:0021854", "identifier_type": "str", "name": "hypothalamus development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021854", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45059, "identifier": "C0156369", "identifier_type": "str", "name": "Uterine polyp", "properties": { "url": "http://identifiers.org/umls/C0156369", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45060, "identifier": "C0400823", "identifier_type": "str", "name": "Neutropenic colitis", "properties": { "url": "http://identifiers.org/umls/C0400823", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45061, "identifier": "78986", "identifier_type": "int", "name": "DUSP26", "properties": { "url": "http://identifiers.org/ncbigene/78986", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "dual specificity phosphatase 26 (putative)" }, "metanode": "Gene" }, { "id": 45062, "identifier": "N0000009801", "identifier_type": "str", "name": "Photosensitizing Activity", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000009801", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Physiologic Effect" }, "metanode": "Pharmacologic Class" }, { "id": 45063, "identifier": "135", "identifier_type": "int", "name": "ADORA2A", "properties": { "url": "http://identifiers.org/ncbigene/135", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "adenosine A2a receptor" }, "metanode": "Gene" }, { "id": 45064, "identifier": "8754", "identifier_type": "int", "name": "ADAM9", "properties": { "url": "http://identifiers.org/ncbigene/8754", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "ADAM metallopeptidase domain 9" }, "metanode": "Gene" }, { "id": 45065, "identifier": "GO:2001055", "identifier_type": "str", "name": "positive regulation of mesenchymal cell apoptotic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2001055", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45066, "identifier": "GO:0001783", "identifier_type": "str", "name": "B cell apoptotic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001783", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45067, "identifier": "UBERON:0001711", "identifier_type": "str", "name": "eyelid", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001711", "bto_id": "BTO:0002241", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D005143" }, "metanode": "Anatomy" }, { "id": 45068, "identifier": "GO:0060809", "identifier_type": "str", "name": "mesodermal to mesenchymal transition involved in gastrulation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060809", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45069, "identifier": "2588", "identifier_type": "int", "name": "GALNS", "properties": { "url": "http://identifiers.org/ncbigene/2588", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "galactosamine (N-acetyl)-6-sulfatase" }, "metanode": "Gene" }, { "id": 45070, "identifier": "GO:0032474", "identifier_type": "str", "name": "otolith morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032474", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45071, "identifier": "6182", "identifier_type": "int", "name": "MRPL12", "properties": { "url": "http://identifiers.org/ncbigene/6182", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "mitochondrial ribosomal protein L12" }, "metanode": "Gene" }, { "id": 45072, "identifier": "DB00572", "identifier_type": "str", "name": "Atropine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00572", "inchi": "InChI=1S/C17H23NO3/c1-18-13-7-8-14(18)10-15(9-13)21-17(20)16(11-19)12-5-3-2-4-6-12/h2-6,13-16,19H,7-11H2,1H3/t13-,14+,15+,16?", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=RKUNBYITZUJHSG-SPUOUPEWSA-N" }, "metanode": "Compound" }, { "id": 45073, "identifier": "PC7_2672", "identifier_type": "str", "name": "Complement cascade", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 45074, "identifier": "GO:0060749", "identifier_type": "str", "name": "mammary gland alveolus development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060749", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "