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=2125
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2150", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2100", "results": [ { "id": 2116, "identifier": "UBERON:0001305", "identifier_type": "str", "name": "ovarian follicle", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001305", "bto_id": "BTO:0000475", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D006080" }, "metanode": "Anatomy" }, { "id": 2117, "identifier": "C0548823", "identifier_type": "str", "name": "Distress gastrointestinal", "properties": { "url": "http://identifiers.org/umls/C0548823", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2118, "identifier": "C0576995", "identifier_type": "str", "name": "Pharyngeal haemorrhage", "properties": { "url": "http://identifiers.org/umls/C0576995", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2119, "identifier": "94137", "identifier_type": "int", "name": "RP1L1", "properties": { "url": "http://identifiers.org/ncbigene/94137", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "retinitis pigmentosa 1-like 1" }, "metanode": "Gene" }, { "id": 2120, "identifier": "84250", "identifier_type": "int", "name": "ANKRD32", "properties": { "url": "http://identifiers.org/ncbigene/84250", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "ankyrin repeat domain 32" }, "metanode": "Gene" }, { "id": 2121, "identifier": "GO:0021670", "identifier_type": "str", "name": "lateral ventricle development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021670", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2122, "identifier": "GO:0006112", "identifier_type": "str", "name": "energy reserve metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006112", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2123, "identifier": "GO:0055013", "identifier_type": "str", "name": "cardiac muscle cell development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0055013", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2124, "identifier": "6397", "identifier_type": "int", "name": "SEC14L1", "properties": { "url": "http://identifiers.org/ncbigene/6397", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "SEC14-like 1 (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 2125, "identifier": "GO:0015301", "identifier_type": "str", "name": "anion:anion antiporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015301", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2126, "identifier": "GO:0033865", "identifier_type": "str", "name": "nucleoside bisphosphate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033865", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2127, "identifier": "64926", "identifier_type": "int", "name": "RASAL3", "properties": { "url": "http://identifiers.org/ncbigene/64926", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "RAS protein activator like 3" }, "metanode": "Gene" }, { "id": 2128, "identifier": "GO:0048237", "identifier_type": "str", "name": "rough endoplasmic reticulum lumen", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048237", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 2129, "identifier": "GO:0032342", "identifier_type": "str", "name": "aldosterone biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032342", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2130, "identifier": "147687", "identifier_type": "int", "name": "ZNF417", "properties": { "url": "http://identifiers.org/ncbigene/147687", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 417" }, "metanode": "Gene" }, { "id": 2131, "identifier": "1101", "identifier_type": "int", "name": "CHAD", "properties": { "url": "http://identifiers.org/ncbigene/1101", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "chondroadherin" }, "metanode": "Gene" }, { "id": 2132, "identifier": "9720", "identifier_type": "int", "name": "CCDC144A", "properties": { "url": "http://identifiers.org/ncbigene/9720", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "coiled-coil domain containing 144A" }, "metanode": "Gene" }, { "id": 2133, "identifier": "GO:0048386", "identifier_type": "str", "name": "positive regulation of retinoic acid receptor signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048386", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2134, "identifier": "GO:0019961", "identifier_type": "str", "name": "interferon binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019961", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2135, "identifier": "GO:0044351", "identifier_type": "str", "name": "macropinocytosis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044351", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2136, "identifier": "84923", "identifier_type": "int", "name": "FAM104A", "properties": { "url": "http://identifiers.org/ncbigene/84923", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "family with sequence similarity 104, member A" }, "metanode": "Gene" }, { "id": 2137, "identifier": "3554", "identifier_type": "int", "name": "IL1R1", "properties": { "url": "http://identifiers.org/ncbigene/3554", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "interleukin 1 receptor, type I" }, "metanode": "Gene" }, { "id": 2138, "identifier": "10125", "identifier_type": "int", "name": "RASGRP1", "properties": { "url": "http://identifiers.org/ncbigene/10125", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "RAS guanyl releasing protein 1 (calcium and DAG-regulated)" }, "metanode": "Gene" }, { "id": 2139, "identifier": "83876", "identifier_type": "int", "name": "MRO", "properties": { "url": "http://identifiers.org/ncbigene/83876", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "maestro" }, "metanode": "Gene" }, { "id": 2140, "identifier": "C0162678", "identifier_type": "str", "name": "Neurofibromatosis", "properties": { "url": "http://identifiers.org/umls/C0162678", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "