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=700
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=725", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=675", "results": [ { "id": 698, "identifier": "GO:0044333", "identifier_type": "str", "name": "Wnt signaling pathway involved in digestive tract morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044333", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 699, "identifier": "DB00264", "identifier_type": "str", "name": "Metoprolol", "properties": { "url": "http://www.drugbank.ca/drugs/DB00264", "inchi": "InChI=1S/C15H25NO3/c1-12(2)16-10-14(17)11-19-15-6-4-13(5-7-15)8-9-18-3/h4-7,12,14,16-17H,8-11H2,1-3H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=IUBSYMUCCVWXPE-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 700, "identifier": "C1522058", "identifier_type": "str", "name": "Coagulation necrosis", "properties": { "url": "http://identifiers.org/umls/C1522058", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 701, "identifier": "29107", "identifier_type": "int", "name": "NXT1", "properties": { "url": "http://identifiers.org/ncbigene/29107", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "nuclear transport factor 2-like export factor 1" }, "metanode": "Gene" }, { "id": 702, "identifier": "C0013378", "identifier_type": "str", "name": "Dysgeusia", "properties": { "url": "http://identifiers.org/umls/C0013378", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 703, "identifier": "55124", "identifier_type": "int", "name": "PIWIL2", "properties": { "url": "http://identifiers.org/ncbigene/55124", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "piwi-like RNA-mediated gene silencing 2" }, "metanode": "Gene" }, { "id": 704, "identifier": "9831", "identifier_type": "int", "name": "ZNF623", "properties": { "url": "http://identifiers.org/ncbigene/9831", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "zinc finger protein 623" }, "metanode": "Gene" }, { "id": 705, "identifier": "GO:0050062", "identifier_type": "str", "name": "long-chain-fatty-acyl-CoA reductase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050062", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 706, "identifier": "102723547", "identifier_type": "int", "name": "CSAG2", "properties": { "url": "http://identifiers.org/ncbigene/102723547", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "CSAG family, member 2" }, "metanode": "Gene" }, { "id": 707, "identifier": "378108", "identifier_type": "int", "name": "TRIM74", "properties": { "url": "http://identifiers.org/ncbigene/378108", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "tripartite motif containing 74" }, "metanode": "Gene" }, { "id": 708, "identifier": "UBERON:0001175", "identifier_type": "str", "name": "common hepatic duct", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001175", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D006500" }, "metanode": "Anatomy" }, { "id": 709, "identifier": "C0022572", "identifier_type": "str", "name": "Keratoacanthoma", "properties": { "url": "http://identifiers.org/umls/C0022572", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 710, "identifier": "GO:0055090", "identifier_type": "str", "name": "acylglycerol homeostasis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0055090", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 711, "identifier": "C0235819", "identifier_type": "str", "name": "Rash bullous", "properties": { "url": "http://identifiers.org/umls/C0235819", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 712, "identifier": "GO:0070085", "identifier_type": "str", "name": "glycosylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070085", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 713, "identifier": "GO:0072003", "identifier_type": "str", "name": "kidney rudiment formation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072003", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 714, "identifier": "GO:0051148", "identifier_type": "str", "name": "negative regulation of muscle cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051148", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 715, "identifier": "GO:1902101", "identifier_type": "str", "name": "positive regulation of metaphase/anaphase transition of cell cycle", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902101", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 716, "identifier": "C0341742", "identifier_type": "str", "name": "Acute retention of urine", "properties": { "url": "http://identifiers.org/umls/C0341742", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 717, "identifier": "GO:0042904", "identifier_type": "str", "name": "9-cis-retinoic acid biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042904", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 718, "identifier": "GO:0004028", "identifier_type": "str", "name": "3-chloroallyl aldehyde dehydrogenase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004028", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 719, "identifier": "9123", "identifier_type": "int", "name": "SLC16A3", "properties": { "url": "http://identifiers.org/ncbigene/9123", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "solute carrier family 16 (monocarboxylate transporter), member 3" }, "metanode": "Gene" }, { "id": 720, "identifier": "8820", "identifier_type": "int", "name": "HESX1", "properties": { "url": "http://identifiers.org/ncbigene/8820", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "HESX homeobox 1" }, "metanode": "Gene" }, { "id": 721, "identifier": "6632", "identifier_type": "int", "name": "SNRPD1", "properties": { "url": "http://identifiers.org/ncbigene/6632", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "small nuclear ribonucleoprotein D1 polypeptide 16kDa" }, "metanode": "Gene" }, { "id": 722, "identifier": "105370059", "identifier_type": "int", "name": "LOC105370059", "properties": { "url": "http://identifiers.org/ncbigene/105370059", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "uncharacterized LOC105370059" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "