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=475
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=500", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=450", "results": [ { "id": 474, "identifier": "100128088", "identifier_type": "int", "name": "LOC100128088", "properties": { "url": "http://identifiers.org/ncbigene/100128088", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "matrix metallopeptidase 1-like" }, "metanode": "Gene" }, { "id": 475, "identifier": "GO:0071103", "identifier_type": "str", "name": "DNA conformation change", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071103", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 476, "identifier": "3866", "identifier_type": "int", "name": "KRT15", "properties": { "url": "http://identifiers.org/ncbigene/3866", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "keratin 15, type I" }, "metanode": "Gene" }, { "id": 477, "identifier": "8533", "identifier_type": "int", "name": "COPS3", "properties": { "url": "http://identifiers.org/ncbigene/8533", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "COP9 signalosome subunit 3" }, "metanode": "Gene" }, { "id": 478, "identifier": "C0232940", "identifier_type": "str", "name": "Amenorrhea secondary", "properties": { "url": "http://identifiers.org/umls/C0232940", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 479, "identifier": "DB08991", "identifier_type": "str", "name": "Epirizole", "properties": { "url": "http://www.drugbank.ca/drugs/DB08991", "inchi": "InChI=1S/C11H14N4O2/c1-7-5-9(16-3)13-11(12-7)15-10(17-4)6-8(2)14-15/h5-6H,1-4H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=RHAXSHUQNIEUEY-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 480, "identifier": "2239", "identifier_type": "int", "name": "GPC4", "properties": { "url": "http://identifiers.org/ncbigene/2239", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "glypican 4" }, "metanode": "Gene" }, { "id": 481, "identifier": "C0849796", "identifier_type": "str", "name": "Ear congestion", "properties": { "url": "http://identifiers.org/umls/C0849796", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 482, "identifier": "PC7_4745", "identifier_type": "str", "name": "Insulin Pathway", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" }, { "id": 483, "identifier": "GO:0004027", "identifier_type": "str", "name": "alcohol sulfotransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004027", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 484, "identifier": "7555", "identifier_type": "int", "name": "CNBP", "properties": { "url": "http://identifiers.org/ncbigene/7555", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "CCHC-type zinc finger, nucleic acid binding protein" }, "metanode": "Gene" }, { "id": 485, "identifier": "135892", "identifier_type": "int", "name": "TRIM50", "properties": { "url": "http://identifiers.org/ncbigene/135892", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "tripartite motif containing 50" }, "metanode": "Gene" }, { "id": 486, "identifier": "GO:0000145", "identifier_type": "str", "name": "exocyst", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000145", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 487, "identifier": "54714", "identifier_type": "int", "name": "CNGB3", "properties": { "url": "http://identifiers.org/ncbigene/54714", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "cyclic nucleotide gated channel beta 3" }, "metanode": "Gene" }, { "id": 488, "identifier": "GO:0005732", "identifier_type": "str", "name": "small nucleolar ribonucleoprotein complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005732", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 489, "identifier": "GO:0001726", "identifier_type": "str", "name": "ruffle", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001726", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 490, "identifier": "7273", "identifier_type": "int", "name": "TTN", "properties": { "url": "http://identifiers.org/ncbigene/7273", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "titin" }, "metanode": "Gene" }, { "id": 491, "identifier": "146852", "identifier_type": "int", "name": "ODF4", "properties": { "url": "http://identifiers.org/ncbigene/146852", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "outer dense fiber of sperm tails 4" }, "metanode": "Gene" }, { "id": 492, "identifier": "D009155", "identifier_type": "str", "name": "Mutism", "properties": { "url": "http://identifiers.org/mesh/D009155", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 493, "identifier": "GO:0000980", "identifier_type": "str", "name": "RNA polymerase II distal enhancer sequence-specific DNA binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000980", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 494, "identifier": "C0235818", "identifier_type": "str", "name": "Bullous eruption", "properties": { "url": "http://identifiers.org/umls/C0235818", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 495, "identifier": "N0000175808", "identifier_type": "str", "name": "Hydroxyphenylpyruvate Dioxygenase Inhibitors", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000175808", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 496, "identifier": "WP2858_r83015", "identifier_type": "str", "name": "Ectoderm Differentiation", "properties": { "url": "http://www.wikipathways.org/instance/WP2858_r83015", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 497, "identifier": "25998", "identifier_type": "int", "name": "IBTK", "properties": { "url": "http://identifiers.org/ncbigene/25998", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "inhibitor of Bruton agammaglobulinemia tyrosine kinase" }, "metanode": "Gene" }, { "id": 498, "identifier": "1849", "identifier_type": "int", "name": "DUSP7", "properties": { "url": "http://identifiers.org/ncbigene/1849", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "dual specificity phosphatase 7" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "