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=45250
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45275", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45225", "results": [ { "id": 45249, "identifier": "C0011551", "identifier_type": "str", "name": "Depersonalisation", "properties": { "url": "http://identifiers.org/umls/C0011551", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45250, "identifier": "342933", "identifier_type": "int", "name": "ZSCAN5B", "properties": { "url": "http://identifiers.org/ncbigene/342933", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger and SCAN domain containing 5B" }, "metanode": "Gene" }, { "id": 45251, "identifier": "3609", "identifier_type": "int", "name": "ILF3", "properties": { "url": "http://identifiers.org/ncbigene/3609", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "interleukin enhancer binding factor 3, 90kDa" }, "metanode": "Gene" }, { "id": 45252, "identifier": "GO:0003166", "identifier_type": "str", "name": "bundle of His development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003166", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45253, "identifier": "GO:0007206", "identifier_type": "str", "name": "phospholipase C-activating G-protein coupled glutamate receptor signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007206", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45254, "identifier": "C0856864", "identifier_type": "str", "name": "Headache fullness", "properties": { "url": "http://identifiers.org/umls/C0856864", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45255, "identifier": "GO:0031114", "identifier_type": "str", "name": "regulation of microtubule depolymerization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031114", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45256, "identifier": "C1527330", "identifier_type": "str", "name": "Pyridoxine deficiency", "properties": { "url": "http://identifiers.org/umls/C1527330", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45257, "identifier": "283848", "identifier_type": "int", "name": "CES4A", "properties": { "url": "http://identifiers.org/ncbigene/283848", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "carboxylesterase 4A" }, "metanode": "Gene" }, { "id": 45258, "identifier": "C0220983", "identifier_type": "str", "name": "Metabolic alkalosis", "properties": { "url": "http://identifiers.org/umls/C0220983", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45259, "identifier": "DB06144", "identifier_type": "str", "name": "Sertindole", "properties": { "url": "http://www.drugbank.ca/drugs/DB06144", "inchi": "InChI=1S/C24H26ClFN4O/c25-18-1-6-23-21(15-18)22(16-30(23)20-4-2-19(26)3-5-20)17-7-10-28(11-8-17)13-14-29-12-9-27-24(29)31/h1-6,15-17H,7-14H2,(H,27,31)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=GZKLJWGUPQBVJQ-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 45260, "identifier": "C0948301", "identifier_type": "str", "name": "Application site skin breakdown", "properties": { "url": "http://identifiers.org/umls/C0948301", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45261, "identifier": "9887", "identifier_type": "int", "name": "SMG7", "properties": { "url": "http://identifiers.org/ncbigene/9887", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "SMG7 nonsense mediated mRNA decay factor" }, "metanode": "Gene" }, { "id": 45262, "identifier": "GO:0045143", "identifier_type": "str", "name": "homologous chromosome segregation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045143", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45263, "identifier": "C0042798", "identifier_type": "str", "name": "Vision decreased", "properties": { "url": "http://identifiers.org/umls/C0042798", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45264, "identifier": "GO:0010032", "identifier_type": "str", "name": "meiotic chromosome condensation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010032", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45265, "identifier": "C0311245", "identifier_type": "str", "name": "Congenital cystic kidney disease", "properties": { "url": "http://identifiers.org/umls/C0311245", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45266, "identifier": "84885", "identifier_type": "int", "name": "ZDHHC12", "properties": { "url": "http://identifiers.org/ncbigene/84885", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "zinc finger, DHHC-type containing 12" }, "metanode": "Gene" }, { "id": 45267, "identifier": "C0029095", "identifier_type": "str", "name": "Opioid abuse", "properties": { "url": "http://identifiers.org/umls/C0029095", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45268, "identifier": "PC7_8783", "identifier_type": "str", "name": "Wnt signaling network", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" }, { "id": 45269, "identifier": "GO:0004118", "identifier_type": "str", "name": "cGMP-stimulated cyclic-nucleotide phosphodiesterase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004118", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45270, "identifier": "7016", "identifier_type": "int", "name": "TESK1", "properties": { "url": "http://identifiers.org/ncbigene/7016", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "testis-specific kinase 1" }, "metanode": "Gene" }, { "id": 45271, "identifier": "57054", "identifier_type": "int", "name": "DAZ3", "properties": { "url": "http://identifiers.org/ncbigene/57054", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "Y", "description": "deleted in azoospermia 3" }, "metanode": "Gene" }, { "id": 45272, "identifier": "1592", "identifier_type": "int", "name": "CYP26A1", "properties": { "url": "http://identifiers.org/ncbigene/1592", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "cytochrome P450, family 26, subfamily A, polypeptide 1" }, "metanode": "Gene" }, { "id": 45273, "identifier": "GO:0042269", "identifier_type": "str", "name": "regulation of natural killer cell mediated cytotoxicity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042269", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "