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=1000
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1025", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=975", "results": [ { "id": 998, "identifier": "8778", "identifier_type": "int", "name": "SIGLEC5", "properties": { "url": "http://identifiers.org/ncbigene/8778", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "sialic acid binding Ig-like lectin 5" }, "metanode": "Gene" }, { "id": 999, "identifier": "C0232841", "identifier_type": "str", "name": "Bladder dysfunction", "properties": { "url": "http://identifiers.org/umls/C0232841", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1000, "identifier": "GO:1900126", "identifier_type": "str", "name": "negative regulation of hyaluronan biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1900126", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1001, "identifier": "GO:0004359", "identifier_type": "str", "name": "glutaminase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004359", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1002, "identifier": "389421", "identifier_type": "int", "name": "LIN28B", "properties": { "url": "http://identifiers.org/ncbigene/389421", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "lin-28 homolog B (C. elegans)" }, "metanode": "Gene" }, { "id": 1003, "identifier": "C0015402", "identifier_type": "str", "name": "Eye haemorrhage", "properties": { "url": "http://identifiers.org/umls/C0015402", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1004, "identifier": "284366", "identifier_type": "int", "name": "KLK9", "properties": { "url": "http://identifiers.org/ncbigene/284366", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "kallikrein-related peptidase 9" }, "metanode": "Gene" }, { "id": 1005, "identifier": "GO:0036294", "identifier_type": "str", "name": "cellular response to decreased oxygen levels", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0036294", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1006, "identifier": "11247", "identifier_type": "int", "name": "NXPH4", "properties": { "url": "http://identifiers.org/ncbigene/11247", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "neurexophilin 4" }, "metanode": "Gene" }, { "id": 1007, "identifier": "GO:0035091", "identifier_type": "str", "name": "phosphatidylinositol binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035091", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1008, "identifier": "5067", "identifier_type": "int", "name": "CNTN3", "properties": { "url": "http://identifiers.org/ncbigene/5067", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "contactin 3 (plasmacytoma associated)" }, "metanode": "Gene" }, { "id": 1009, "identifier": "GO:0019863", "identifier_type": "str", "name": "IgE binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019863", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1010, "identifier": "22836", "identifier_type": "int", "name": "RHOBTB3", "properties": { "url": "http://identifiers.org/ncbigene/22836", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "Rho-related BTB domain containing 3" }, "metanode": "Gene" }, { "id": 1011, "identifier": "151651", "identifier_type": "int", "name": "EFHB", "properties": { "url": "http://identifiers.org/ncbigene/151651", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "EF-hand domain family, member B" }, "metanode": "Gene" }, { "id": 1012, "identifier": "29086", "identifier_type": "int", "name": "BABAM1", "properties": { "url": "http://identifiers.org/ncbigene/29086", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "BRISC and BRCA1 A complex member 1" }, "metanode": "Gene" }, { "id": 1013, "identifier": "GO:0032143", "identifier_type": "str", "name": "single thymine insertion binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032143", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1014, "identifier": "C0877609", "identifier_type": "str", "name": "Alertness decreased", "properties": { "url": "http://identifiers.org/umls/C0877609", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1015, "identifier": "C0018839", "identifier_type": "str", "name": "Heat exhaustion", "properties": { "url": "http://identifiers.org/umls/C0018839", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1016, "identifier": "GO:0051604", "identifier_type": "str", "name": "protein maturation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051604", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1017, "identifier": "23032", "identifier_type": "int", "name": "USP33", "properties": { "url": "http://identifiers.org/ncbigene/23032", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "ubiquitin specific peptidase 33" }, "metanode": "Gene" }, { "id": 1018, "identifier": "7534", "identifier_type": "int", "name": "YWHAZ", "properties": { "url": "http://identifiers.org/ncbigene/7534", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "tyrosine 3-monooxygenase/tryptophan 5-monooxygenase activation protein, zeta" }, "metanode": "Gene" }, { "id": 1019, "identifier": "GO:0050927", "identifier_type": "str", "name": "positive regulation of positive chemotaxis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050927", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1020, "identifier": "GO:0044845", "identifier_type": "str", "name": "chain elongation of O-linked mannose residue", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044845", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1021, "identifier": "GO:2000686", "identifier_type": "str", "name": "regulation of rubidium ion transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000686", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1022, "identifier": "105369212", "identifier_type": "int", "name": "LOC105369212", "properties": { "url": "http://identifiers.org/ncbigene/105369212", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "uncharacterized LOC105369212" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "