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=1825
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1850", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1800", "results": [ { "id": 1821, "identifier": "UBERON:0001485", "identifier_type": "str", "name": "knee joint", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001485", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D007719" }, "metanode": "Anatomy" }, { "id": 1822, "identifier": "GO:0060948", "identifier_type": "str", "name": "cardiac vascular smooth muscle cell development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060948", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1823, "identifier": "GO:0003283", "identifier_type": "str", "name": "atrial septum development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003283", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1824, "identifier": "C0476414", "identifier_type": "str", "name": "Thyroid function test abnormal", "properties": { "url": "http://identifiers.org/umls/C0476414", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1825, "identifier": "83897", "identifier_type": "int", "name": "KRTAP3-2", "properties": { "url": "http://identifiers.org/ncbigene/83897", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "keratin associated protein 3-2" }, "metanode": "Gene" }, { "id": 1826, "identifier": "DB00852", "identifier_type": "str", "name": "Pseudoephedrine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00852", "inchi": "InChI=1S/C10H15NO/c1-8(11-2)10(12)9-6-4-3-5-7-9/h3-8,10-12H,1-2H3/t8-,10+/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=KWGRBVOPPLSCSI-WCBMZHEXSA-N" }, "metanode": "Compound" }, { "id": 1827, "identifier": "PC7_3703", "identifier_type": "str", "name": "Establishment of Sister Chromatid Cohesion", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1828, "identifier": "GO:0072523", "identifier_type": "str", "name": "purine-containing compound catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072523", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1829, "identifier": "D001926", "identifier_type": "str", "name": "Brain Death", "properties": { "url": "http://identifiers.org/mesh/D001926", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 1830, "identifier": "GO:2000515", "identifier_type": "str", "name": "negative regulation of CD4-positive, alpha-beta T cell activation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000515", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1831, "identifier": "GO:0072070", "identifier_type": "str", "name": "loop of Henle development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072070", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1832, "identifier": "163590", "identifier_type": "int", "name": "TOR1AIP2", "properties": { "url": "http://identifiers.org/ncbigene/163590", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "torsin A interacting protein 2" }, "metanode": "Gene" }, { "id": 1833, "identifier": "144108", "identifier_type": "int", "name": "SPTY2D1", "properties": { "url": "http://identifiers.org/ncbigene/144108", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "SPT2, Suppressor of Ty, domain containing 1 (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 1834, "identifier": "GO:0033123", "identifier_type": "str", "name": "positive regulation of purine nucleotide catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033123", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1835, "identifier": "84851", "identifier_type": "int", "name": "TRIM52", "properties": { "url": "http://identifiers.org/ncbigene/84851", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "tripartite motif containing 52" }, "metanode": "Gene" }, { "id": 1836, "identifier": "C0039584", "identifier_type": "str", "name": "Testicular disorder", "properties": { "url": "http://identifiers.org/umls/C0039584", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1837, "identifier": "DB04575", "identifier_type": "str", "name": "Quinestrol", "properties": { "url": "http://www.drugbank.ca/drugs/DB04575", "inchi": "InChI=1S/C25H32O2/c1-3-25(26)15-13-23-22-10-8-17-16-19(27-18-6-4-5-7-18)9-11-20(17)21(22)12-14-24(23,25)2/h1,9,11,16,18,21-23,26H,4-8,10,12-15H2,2H3/t21-,22-,23+,24+,25+/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=PWZUUYSISTUNDW-VAFBSOEGSA-N" }, "metanode": "Compound" }, { "id": 1838, "identifier": "6870", "identifier_type": "int", "name": "TACR3", "properties": { "url": "http://identifiers.org/ncbigene/6870", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "tachykinin receptor 3" }, "metanode": "Gene" }, { "id": 1839, "identifier": "146433", "identifier_type": "int", "name": "IL34", "properties": { "url": "http://identifiers.org/ncbigene/146433", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "interleukin 34" }, "metanode": "Gene" }, { "id": 1840, "identifier": "PC7_4739", "identifier_type": "str", "name": "Initial triggering of complement", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1841, "identifier": "158067", "identifier_type": "int", "name": "AK8", "properties": { "url": "http://identifiers.org/ncbigene/158067", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "adenylate kinase 8" }, "metanode": "Gene" }, { "id": 1842, "identifier": "1446", "identifier_type": "int", "name": "CSN1S1", "properties": { "url": "http://identifiers.org/ncbigene/1446", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "casein alpha s1" }, "metanode": "Gene" }, { "id": 1843, "identifier": "10193", "identifier_type": "int", "name": "RNF41", "properties": { "url": "http://identifiers.org/ncbigene/10193", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "ring finger protein 41, E3 ubiquitin protein ligase" }, "metanode": "Gene" }, { "id": 1844, "identifier": "GO:1904502", "identifier_type": "str", "name": "regulation of lipophagy", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904502", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1845, "identifier": "DOID:10871", "identifier_type": "str", "name": "age related macular degeneration", "properties": { "url": "http://purl.obolibrary.org/obo/DOID_10871", "source": "Disease Ontology", "license": "CC BY 3.0" }, "metanode": "Disease" } ] }{ "count": 47031, "next": "