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=46225
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46250", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46200", "results": [ { "id": 46224, "identifier": "4792", "identifier_type": "int", "name": "NFKBIA", "properties": { "url": "http://identifiers.org/ncbigene/4792", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "nuclear factor of kappa light polypeptide gene enhancer in B-cells inhibitor, alpha" }, "metanode": "Gene" }, { "id": 46225, "identifier": "54830", "identifier_type": "int", "name": "NUP62CL", "properties": { "url": "http://identifiers.org/ncbigene/54830", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "nucleoporin 62kDa C-terminal like" }, "metanode": "Gene" }, { "id": 46226, "identifier": "GO:0070943", "identifier_type": "str", "name": "neutrophil mediated killing of symbiont cell", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070943", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46227, "identifier": "PC7_3803", "identifier_type": "str", "name": "FBXW7 Mutants and NOTCH1 in Cancer", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46228, "identifier": "729627", "identifier_type": "int", "name": "PRR23A", "properties": { "url": "http://identifiers.org/ncbigene/729627", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "proline rich 23A" }, "metanode": "Gene" }, { "id": 46229, "identifier": "105375105", "identifier_type": "int", "name": "LOC105375105", "properties": { "url": "http://identifiers.org/ncbigene/105375105", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "uncharacterized LOC105375105" }, "metanode": "Gene" }, { "id": 46230, "identifier": "22903", "identifier_type": "int", "name": "BTBD3", "properties": { "url": "http://identifiers.org/ncbigene/22903", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "BTB (POZ) domain containing 3" }, "metanode": "Gene" }, { "id": 46231, "identifier": "162466", "identifier_type": "int", "name": "PHOSPHO1", "properties": { "url": "http://identifiers.org/ncbigene/162466", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "phosphatase, orphan 1" }, "metanode": "Gene" }, { "id": 46232, "identifier": "7389", "identifier_type": "int", "name": "UROD", "properties": { "url": "http://identifiers.org/ncbigene/7389", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "uroporphyrinogen decarboxylase" }, "metanode": "Gene" }, { "id": 46233, "identifier": "C0040923", "identifier_type": "str", "name": "Trichomonal vaginitis", "properties": { "url": "http://identifiers.org/umls/C0040923", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46234, "identifier": "C0040797", "identifier_type": "str", "name": "Traumatic haemorrhage", "properties": { "url": "http://identifiers.org/umls/C0040797", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46235, "identifier": "GO:0032703", "identifier_type": "str", "name": "negative regulation of interleukin-2 production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032703", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46236, "identifier": "GO:0009173", "identifier_type": "str", "name": "pyrimidine ribonucleoside monophosphate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009173", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46237, "identifier": "GO:0060137", "identifier_type": "str", "name": "maternal process involved in parturition", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060137", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46238, "identifier": "1965", "identifier_type": "int", "name": "EIF2S1", "properties": { "url": "http://identifiers.org/ncbigene/1965", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "eukaryotic translation initiation factor 2, subunit 1 alpha, 35kDa" }, "metanode": "Gene" }, { "id": 46239, "identifier": "55768", "identifier_type": "int", "name": "NGLY1", "properties": { "url": "http://identifiers.org/ncbigene/55768", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "N-glycanase 1" }, "metanode": "Gene" }, { "id": 46240, "identifier": "UBERON:0001232", "identifier_type": "str", "name": "collecting duct of renal tubule", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001232", "bto_id": "BTO:0000761", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D007685" }, "metanode": "Anatomy" }, { "id": 46241, "identifier": "102724207", "identifier_type": "int", "name": "LOC102724207", "properties": { "url": "http://identifiers.org/ncbigene/102724207", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "ankyrin repeat domain-containing protein 36C-like" }, "metanode": "Gene" }, { "id": 46242, "identifier": "201626", "identifier_type": "int", "name": "PDE12", "properties": { "url": "http://identifiers.org/ncbigene/201626", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "phosphodiesterase 12" }, "metanode": "Gene" }, { "id": 46243, "identifier": "79317", "identifier_type": "int", "name": "OR4K5", "properties": { "url": "http://identifiers.org/ncbigene/79317", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "olfactory receptor, family 4, subfamily K, member 5" }, "metanode": "Gene" }, { "id": 46244, "identifier": "PC7_4014", "identifier_type": "str", "name": "GABA A receptor activation", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46245, "identifier": "PC7_5272", "identifier_type": "str", "name": "Meiotic recombination", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46246, "identifier": "9085", "identifier_type": "int", "name": "CDY1", "properties": { "url": "http://identifiers.org/ncbigene/9085", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "Y", "description": "chromodomain protein, Y-linked, 1" }, "metanode": "Gene" }, { "id": 46247, "identifier": "C0158775", "identifier_type": "str", "name": "Spine malformation", "properties": { "url": "http://identifiers.org/umls/C0158775", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46248, "identifier": "C1112489", "identifier_type": "str", "name": "Corneal irritation", "properties": { "url": "http://identifiers.org/umls/C1112489", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "