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=125
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=150", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=100", "results": [ { "id": 124, "identifier": "51148", "identifier_type": "int", "name": "CERCAM", "properties": { "url": "http://identifiers.org/ncbigene/51148", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "cerebral endothelial cell adhesion molecule" }, "metanode": "Gene" }, { "id": 125, "identifier": "6725", "identifier_type": "int", "name": "SRMS", "properties": { "url": "http://identifiers.org/ncbigene/6725", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "src-related kinase lacking C-terminal regulatory tyrosine and N-terminal myristylation sites" }, "metanode": "Gene" }, { "id": 126, "identifier": "128372", "identifier_type": "int", "name": "OR6N1", "properties": { "url": "http://identifiers.org/ncbigene/128372", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "olfactory receptor, family 6, subfamily N, member 1" }, "metanode": "Gene" }, { "id": 127, "identifier": "C0034012", "identifier_type": "str", "name": "Delayed puberty", "properties": { "url": "http://identifiers.org/umls/C0034012", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 128, "identifier": "3579", "identifier_type": "int", "name": "CXCR2", "properties": { "url": "http://identifiers.org/ncbigene/3579", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "chemokine (C-X-C motif) receptor 2" }, "metanode": "Gene" }, { "id": 129, "identifier": "442721", "identifier_type": "int", "name": "LMOD2", "properties": { "url": "http://identifiers.org/ncbigene/442721", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "leiomodin 2 (cardiac)" }, "metanode": "Gene" }, { "id": 130, "identifier": "GO:0003402", "identifier_type": "str", "name": "planar cell polarity pathway involved in axis elongation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003402", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 131, "identifier": "83901", "identifier_type": "int", "name": "KRTAP9-8", "properties": { "url": "http://identifiers.org/ncbigene/83901", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "keratin associated protein 9-8" }, "metanode": "Gene" }, { "id": 132, "identifier": "GO:0042157", "identifier_type": "str", "name": "lipoprotein metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042157", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 133, "identifier": "PC7_4965", "identifier_type": "str", "name": "Ligand-gated ion channel transport", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 134, "identifier": "GO:0009994", "identifier_type": "str", "name": "oocyte differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009994", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 135, "identifier": "GO:0045725", "identifier_type": "str", "name": "positive regulation of glycogen biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045725", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 136, "identifier": "161253", "identifier_type": "int", "name": "REM2", "properties": { "url": "http://identifiers.org/ncbigene/161253", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "RAS (RAD and GEM)-like GTP binding 2" }, "metanode": "Gene" }, { "id": 137, "identifier": "GO:0033033", "identifier_type": "str", "name": "negative regulation of myeloid cell apoptotic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033033", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 138, "identifier": "GO:0010286", "identifier_type": "str", "name": "heat acclimation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010286", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 139, "identifier": "GO:0017070", "identifier_type": "str", "name": "U6 snRNA binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0017070", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 140, "identifier": "GO:0004303", "identifier_type": "str", "name": "estradiol 17-beta-dehydrogenase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004303", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 141, "identifier": "105379886", "identifier_type": "int", "name": "LOC105379886", "properties": { "url": "http://identifiers.org/ncbigene/105379886", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "putative uncharacterized protein encoded by LINC00174" }, "metanode": "Gene" }, { "id": 142, "identifier": "4277", "identifier_type": "int", "name": "MICB", "properties": { "url": "http://identifiers.org/ncbigene/4277", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "MHC class I polypeptide-related sequence B" }, "metanode": "Gene" }, { "id": 143, "identifier": "DB04878", "identifier_type": "str", "name": "Voglibose", "properties": { "url": "http://www.drugbank.ca/drugs/DB04878", "inchi": "InChI=1S/C10H21NO7/c12-2-5(3-13)11-6-1-10(18,4-14)9(17)8(16)7(6)15/h5-9,11-18H,1-4H2/t6-,7-,8+,9-,10-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=FZNCGRZWXLXZSZ-CIQUZCHMSA-N" }, "metanode": "Compound" }, { "id": 144, "identifier": "GO:1904234", "identifier_type": "str", "name": "positive regulation of aconitate hydratase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904234", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 145, "identifier": "C0702109", "identifier_type": "str", "name": "Erythropoiesis abnormal", "properties": { "url": "http://identifiers.org/umls/C0702109", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 146, "identifier": "DOID:4606", "identifier_type": "str", "name": "bile duct cancer", "properties": { "url": "http://purl.obolibrary.org/obo/DOID_4606", "source": "Disease Ontology", "license": "CC BY 3.0" }, "metanode": "Disease" }, { "id": 147, "identifier": "60558", "identifier_type": "int", "name": "GUF1", "properties": { "url": "http://identifiers.org/ncbigene/60558", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "GUF1 GTPase homolog (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 148, "identifier": "C0040136", "identifier_type": "str", "name": "Thyroid neoplasm", "properties": { "url": "http://identifiers.org/umls/C0040136", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "