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=45625
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45650", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45600", "results": [ { "id": 45623, "identifier": "C1411873", "identifier_type": "str", "name": "Ovulation disorder", "properties": { "url": "http://identifiers.org/umls/C1411873", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45624, "identifier": "C0029877", "identifier_type": "str", "name": "Otitis", "properties": { "url": "http://identifiers.org/umls/C0029877", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45625, "identifier": "GO:0021559", "identifier_type": "str", "name": "trigeminal nerve development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021559", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45626, "identifier": "100463289", "identifier_type": "int", "name": "MTRNR2L5", "properties": { "url": "http://identifiers.org/ncbigene/100463289", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "MT-RNR2-like 5" }, "metanode": "Gene" }, { "id": 45627, "identifier": "22817", "identifier_type": "int", "name": "NR1I4", "properties": { "url": "http://identifiers.org/ncbigene/22817", "source": "Entrez Gene", "license": "CC0 1.0", "description": "nuclear receptor subfamily 1, group I, member 4" }, "metanode": "Gene" }, { "id": 45628, "identifier": "GO:1903551", "identifier_type": "str", "name": "regulation of extracellular exosome assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903551", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45629, "identifier": "7319", "identifier_type": "int", "name": "UBE2A", "properties": { "url": "http://identifiers.org/ncbigene/7319", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "ubiquitin-conjugating enzyme E2A" }, "metanode": "Gene" }, { "id": 45630, "identifier": "147138", "identifier_type": "int", "name": "TMC8", "properties": { "url": "http://identifiers.org/ncbigene/147138", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "transmembrane channel-like 8" }, "metanode": "Gene" }, { "id": 45631, "identifier": "53373", "identifier_type": "int", "name": "TPCN1", "properties": { "url": "http://identifiers.org/ncbigene/53373", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "two pore segment channel 1" }, "metanode": "Gene" }, { "id": 45632, "identifier": "C0034068", "identifier_type": "str", "name": "Pulmonary eosinophilia", "properties": { "url": "http://identifiers.org/umls/C0034068", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45633, "identifier": "GO:0034349", "identifier_type": "str", "name": "glial cell apoptotic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034349", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45634, "identifier": "92292", "identifier_type": "int", "name": "GLYATL1", "properties": { "url": "http://identifiers.org/ncbigene/92292", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "glycine-N-acyltransferase-like 1" }, "metanode": "Gene" }, { "id": 45635, "identifier": "389072", "identifier_type": "int", "name": "PLEKHM3", "properties": { "url": "http://identifiers.org/ncbigene/389072", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "pleckstrin homology domain containing, family M, member 3" }, "metanode": "Gene" }, { "id": 45636, "identifier": "GO:0044270", "identifier_type": "str", "name": "cellular nitrogen compound catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044270", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45637, "identifier": "84058", "identifier_type": "int", "name": "WDR54", "properties": { "url": "http://identifiers.org/ncbigene/84058", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "WD repeat domain 54" }, "metanode": "Gene" }, { "id": 45638, "identifier": "26156", "identifier_type": "int", "name": "RSL1D1", "properties": { "url": "http://identifiers.org/ncbigene/26156", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "ribosomal L1 domain containing 1" }, "metanode": "Gene" }, { "id": 45639, "identifier": "55698", "identifier_type": "int", "name": "RADIL", "properties": { "url": "http://identifiers.org/ncbigene/55698", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "Ras association and DIL domains" }, "metanode": "Gene" }, { "id": 45640, "identifier": "C0151474", "identifier_type": "str", "name": "Alcohol intolerance", "properties": { "url": "http://identifiers.org/umls/C0151474", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45641, "identifier": "3008", "identifier_type": "int", "name": "HIST1H1E", "properties": { "url": "http://identifiers.org/ncbigene/3008", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "histone cluster 1, H1e" }, "metanode": "Gene" }, { "id": 45642, "identifier": "C0020456", "identifier_type": "str", "name": "Hyperglycaemia", "properties": { "url": "http://identifiers.org/umls/C0020456", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45643, "identifier": "9015", "identifier_type": "int", "name": "TAF1A", "properties": { "url": "http://identifiers.org/ncbigene/9015", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "TATA box binding protein (TBP)-associated factor, RNA polymerase I, A, 48kDa" }, "metanode": "Gene" }, { "id": 45644, "identifier": "C0005743", "identifier_type": "str", "name": "Blepharoconjunctivitis", "properties": { "url": "http://identifiers.org/umls/C0005743", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45645, "identifier": "GO:0016934", "identifier_type": "str", "name": "extracellular-glycine-gated chloride channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016934", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45646, "identifier": "5279", "identifier_type": "int", "name": "PIGC", "properties": { "url": "http://identifiers.org/ncbigene/5279", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "phosphatidylinositol glycan anchor biosynthesis, class C" }, "metanode": "Gene" }, { "id": 45647, "identifier": "2833", "identifier_type": "int", "name": "CXCR3", "properties": { "url": "http://identifiers.org/ncbigene/2833", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "chemokine (C-X-C motif) receptor 3" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "