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=850
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=875", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=825", "results": [ { "id": 849, "identifier": "GO:0015189", "identifier_type": "str", "name": "L-lysine transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015189", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 850, "identifier": "1073", "identifier_type": "int", "name": "CFL2", "properties": { "url": "http://identifiers.org/ncbigene/1073", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "cofilin 2 (muscle)" }, "metanode": "Gene" }, { "id": 851, "identifier": "9836", "identifier_type": "int", "name": "LCMT2", "properties": { "url": "http://identifiers.org/ncbigene/9836", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "leucine carboxyl methyltransferase 2" }, "metanode": "Gene" }, { "id": 852, "identifier": "51111", "identifier_type": "int", "name": "SUV420H1", "properties": { "url": "http://identifiers.org/ncbigene/51111", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "suppressor of variegation 4-20 homolog 1 (Drosophila)" }, "metanode": "Gene" }, { "id": 853, "identifier": "643988", "identifier_type": "int", "name": "C1orf233", "properties": { "url": "http://identifiers.org/ncbigene/643988", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "chromosome 1 open reading frame 233" }, "metanode": "Gene" }, { "id": 854, "identifier": "158747", "identifier_type": "int", "name": "MOSPD2", "properties": { "url": "http://identifiers.org/ncbigene/158747", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "motile sperm domain containing 2" }, "metanode": "Gene" }, { "id": 855, "identifier": "3670", "identifier_type": "int", "name": "ISL1", "properties": { "url": "http://identifiers.org/ncbigene/3670", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "ISL LIM homeobox 1" }, "metanode": "Gene" }, { "id": 856, "identifier": "C0026858", "identifier_type": "str", "name": "Musculoskeletal pain", "properties": { "url": "http://identifiers.org/umls/C0026858", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 857, "identifier": "GO:0045906", "identifier_type": "str", "name": "negative regulation of vasoconstriction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045906", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 858, "identifier": "GO:0000109", "identifier_type": "str", "name": "nucleotide-excision repair complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000109", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 859, "identifier": "GO:0050982", "identifier_type": "str", "name": "detection of mechanical stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050982", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 860, "identifier": "GO:0045079", "identifier_type": "str", "name": "negative regulation of chemokine biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045079", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 861, "identifier": "GO:0031585", "identifier_type": "str", "name": "regulation of inositol 1,4,5-trisphosphate-sensitive calcium-release channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031585", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 862, "identifier": "DB00341", "identifier_type": "str", "name": "Cetirizine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00341", "inchi": "InChI=1S/C21H25ClN2O3/c22-19-8-6-18(7-9-19)21(17-4-2-1-3-5-17)24-12-10-23(11-13-24)14-15-27-16-20(25)26/h1-9,21H,10-16H2,(H,25,26)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ZKLPARSLTMPFCP-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 863, "identifier": "6123", "identifier_type": "int", "name": "RPL3L", "properties": { "url": "http://identifiers.org/ncbigene/6123", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "ribosomal protein L3-like" }, "metanode": "Gene" }, { "id": 864, "identifier": "10534", "identifier_type": "int", "name": "SSSCA1", "properties": { "url": "http://identifiers.org/ncbigene/10534", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "Sjogren syndrome/scleroderma autoantigen 1" }, "metanode": "Gene" }, { "id": 865, "identifier": "GO:0032874", "identifier_type": "str", "name": "positive regulation of stress-activated MAPK cascade", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032874", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 866, "identifier": "100506164", "identifier_type": "int", "name": "HSFX1", "properties": { "url": "http://identifiers.org/ncbigene/100506164", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "heat shock transcription factor family, X linked 1" }, "metanode": "Gene" }, { "id": 867, "identifier": "4352", "identifier_type": "int", "name": "MPL", "properties": { "url": "http://identifiers.org/ncbigene/4352", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "MPL proto-oncogene, thrombopoietin receptor" }, "metanode": "Gene" }, { "id": 868, "identifier": "54518", "identifier_type": "int", "name": "APBB1IP", "properties": { "url": "http://identifiers.org/ncbigene/54518", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "amyloid beta (A4) precursor protein-binding, family B, member 1 interacting protein" }, "metanode": "Gene" }, { "id": 869, "identifier": "84930", "identifier_type": "int", "name": "MASTL", "properties": { "url": "http://identifiers.org/ncbigene/84930", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "microtubule associated serine/threonine kinase-like" }, "metanode": "Gene" }, { "id": 870, "identifier": "C0521706", "identifier_type": "str", "name": "Cataract unilateral", "properties": { "url": "http://identifiers.org/umls/C0521706", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 871, "identifier": "6821", "identifier_type": "int", "name": "SUOX", "properties": { "url": "http://identifiers.org/ncbigene/6821", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "sulfite oxidase" }, "metanode": "Gene" }, { "id": 872, "identifier": "GO:0002189", "identifier_type": "str", "name": "ribose phosphate diphosphokinase complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002189", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 873, "identifier": "168433", "identifier_type": "int", "name": "RNF133", "properties": { "url": "http://identifiers.org/ncbigene/168433", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "ring finger protein 133" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "