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=46775
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46800", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46750", "results": [ { "id": 46773, "identifier": "5053", "identifier_type": "int", "name": "PAH", "properties": { "url": "http://identifiers.org/ncbigene/5053", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "phenylalanine hydroxylase" }, "metanode": "Gene" }, { "id": 46774, "identifier": "55075", "identifier_type": "int", "name": "UACA", "properties": { "url": "http://identifiers.org/ncbigene/55075", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "uveal autoantigen with coiled-coil domains and ankyrin repeats" }, "metanode": "Gene" }, { "id": 46775, "identifier": "DB00417", "identifier_type": "str", "name": "Penicillin V", "properties": { "url": "http://www.drugbank.ca/drugs/DB00417", "inchi": "InChI=1S/C16H18N2O5S/c1-16(2)12(15(21)22)18-13(20)11(14(18)24-16)17-10(19)8-23-9-6-4-3-5-7-9/h3-7,11-12,14H,8H2,1-2H3,(H,17,19)(H,21,22)/t11-,12+,14-/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=BPLBGHOLXOTWMN-MBNYWOFBSA-N" }, "metanode": "Compound" }, { "id": 46776, "identifier": "94122", "identifier_type": "int", "name": "SYTL5", "properties": { "url": "http://identifiers.org/ncbigene/94122", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "synaptotagmin-like 5" }, "metanode": "Gene" }, { "id": 46777, "identifier": "GO:0072513", "identifier_type": "str", "name": "positive regulation of secondary heart field cardioblast proliferation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072513", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46778, "identifier": "23148", "identifier_type": "int", "name": "NACAD", "properties": { "url": "http://identifiers.org/ncbigene/23148", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "NAC alpha domain containing" }, "metanode": "Gene" }, { "id": 46779, "identifier": "C0079043", "identifier_type": "str", "name": "Bronchoconstriction", "properties": { "url": "http://identifiers.org/umls/C0079043", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46780, "identifier": "GO:0097178", "identifier_type": "str", "name": "ruffle assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0097178", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46781, "identifier": "GO:0072584", "identifier_type": "str", "name": "caveolin-mediated endocytosis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072584", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46782, "identifier": "GO:0005125", "identifier_type": "str", "name": "cytokine activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005125", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46783, "identifier": "GO:0043129", "identifier_type": "str", "name": "surfactant homeostasis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043129", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46784, "identifier": "59352", "identifier_type": "int", "name": "LGR6", "properties": { "url": "http://identifiers.org/ncbigene/59352", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "leucine-rich repeat containing G protein-coupled receptor 6" }, "metanode": "Gene" }, { "id": 46785, "identifier": "219982", "identifier_type": "int", "name": "OR5A1", "properties": { "url": "http://identifiers.org/ncbigene/219982", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 5, subfamily A, member 1" }, "metanode": "Gene" }, { "id": 46786, "identifier": "GO:0008343", "identifier_type": "str", "name": "adult feeding behavior", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008343", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46787, "identifier": "100132386", "identifier_type": "int", "name": "KRTAP4-9", "properties": { "url": "http://identifiers.org/ncbigene/100132386", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "keratin associated protein 4-9" }, "metanode": "Gene" }, { "id": 46788, "identifier": "3164", "identifier_type": "int", "name": "NR4A1", "properties": { "url": "http://identifiers.org/ncbigene/3164", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "nuclear receptor subfamily 4, group A, member 1" }, "metanode": "Gene" }, { "id": 46789, "identifier": "GO:0055072", "identifier_type": "str", "name": "iron ion homeostasis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0055072", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46790, "identifier": "126961", "identifier_type": "int", "name": "HIST2H3C", "properties": { "url": "http://identifiers.org/ncbigene/126961", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "histone cluster 2, H3c" }, "metanode": "Gene" }, { "id": 46791, "identifier": "29766", "identifier_type": "int", "name": "TMOD3", "properties": { "url": "http://identifiers.org/ncbigene/29766", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "tropomodulin 3 (ubiquitous)" }, "metanode": "Gene" }, { "id": 46792, "identifier": "GO:0042761", "identifier_type": "str", "name": "very long-chain fatty acid biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042761", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46793, "identifier": "GO:0035196", "identifier_type": "str", "name": "production of miRNAs involved in gene silencing by miRNA", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035196", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46794, "identifier": "C0020455", "identifier_type": "str", "name": "Hypergammaglobulinaemia", "properties": { "url": "http://identifiers.org/umls/C0020455", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46795, "identifier": "GO:0006536", "identifier_type": "str", "name": "glutamate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006536", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46796, "identifier": "55061", "identifier_type": "int", "name": "SUSD4", "properties": { "url": "http://identifiers.org/ncbigene/55061", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "sushi domain containing 4" }, "metanode": "Gene" }, { "id": 46797, "identifier": "C0205990", "identifier_type": "str", "name": "Vaginal prolapse", "properties": { "url": "http://identifiers.org/umls/C0205990", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "