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=46025
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46050", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46000", "results": [ { "id": 46025, "identifier": "GO:0002063", "identifier_type": "str", "name": "chondrocyte development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002063", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46026, "identifier": "105371936", "identifier_type": "int", "name": "LOC105371936", "properties": { "url": "http://identifiers.org/ncbigene/105371936", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "uncharacterized LOC105371936" }, "metanode": "Gene" }, { "id": 46027, "identifier": "N0000175513", "identifier_type": "str", "name": "Dipeptidase Inhibitors", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000175513", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 46028, "identifier": "C0877046", "identifier_type": "str", "name": "Tooth infection", "properties": { "url": "http://identifiers.org/umls/C0877046", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46029, "identifier": "5090", "identifier_type": "int", "name": "PBX3", "properties": { "url": "http://identifiers.org/ncbigene/5090", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "pre-B-cell leukemia homeobox 3" }, "metanode": "Gene" }, { "id": 46030, "identifier": "55112", "identifier_type": "int", "name": "WDR60", "properties": { "url": "http://identifiers.org/ncbigene/55112", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "WD repeat domain 60" }, "metanode": "Gene" }, { "id": 46031, "identifier": "GO:0050993", "identifier_type": "str", "name": "dimethylallyl diphosphate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050993", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46032, "identifier": "272", "identifier_type": "int", "name": "AMPD3", "properties": { "url": "http://identifiers.org/ncbigene/272", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "adenosine monophosphate deaminase 3" }, "metanode": "Gene" }, { "id": 46033, "identifier": "22929", "identifier_type": "int", "name": "SEPHS1", "properties": { "url": "http://identifiers.org/ncbigene/22929", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "selenophosphate synthetase 1" }, "metanode": "Gene" }, { "id": 46034, "identifier": "7431", "identifier_type": "int", "name": "VIM", "properties": { "url": "http://identifiers.org/ncbigene/7431", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "vimentin" }, "metanode": "Gene" }, { "id": 46035, "identifier": "GO:0035803", "identifier_type": "str", "name": "egg coat formation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035803", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46036, "identifier": "100130880", "identifier_type": "int", "name": "LOC100130880", "properties": { "url": "http://identifiers.org/ncbigene/100130880", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "uncharacterized LOC100130880" }, "metanode": "Gene" }, { "id": 46037, "identifier": "26268", "identifier_type": "int", "name": "FBXO9", "properties": { "url": "http://identifiers.org/ncbigene/26268", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "F-box protein 9" }, "metanode": "Gene" }, { "id": 46038, "identifier": "55810", "identifier_type": "int", "name": "FOXJ2", "properties": { "url": "http://identifiers.org/ncbigene/55810", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "forkhead box J2" }, "metanode": "Gene" }, { "id": 46039, "identifier": "C0035328", "identifier_type": "str", "name": "Retinal vein occlusion", "properties": { "url": "http://identifiers.org/umls/C0035328", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46040, "identifier": "UBERON:0002501", "identifier_type": "str", "name": "oval window", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002501", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D010046" }, "metanode": "Anatomy" }, { "id": 46041, "identifier": "100128691", "identifier_type": "int", "name": "LOC100128691", "properties": { "url": "http://identifiers.org/ncbigene/100128691", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "hCG1810796-like" }, "metanode": "Gene" }, { "id": 46042, "identifier": "9127", "identifier_type": "int", "name": "P2RX6", "properties": { "url": "http://identifiers.org/ncbigene/9127", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "purinergic receptor P2X, ligand gated ion channel, 6" }, "metanode": "Gene" }, { "id": 46043, "identifier": "C0234909", "identifier_type": "str", "name": "Nail changes", "properties": { "url": "http://identifiers.org/umls/C0234909", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46044, "identifier": "GO:0007530", "identifier_type": "str", "name": "sex determination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007530", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46045, "identifier": "390010", "identifier_type": "int", "name": "NKX1-2", "properties": { "url": "http://identifiers.org/ncbigene/390010", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "NK1 homeobox 2" }, "metanode": "Gene" }, { "id": 46046, "identifier": "C0017658", "identifier_type": "str", "name": "Glomerulonephritis", "properties": { "url": "http://identifiers.org/umls/C0017658", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46047, "identifier": "DB00224", "identifier_type": "str", "name": "Indinavir", "properties": { "url": "http://www.drugbank.ca/drugs/DB00224", "inchi": "InChI=1S/C36H47N5O4/c1-36(2,3)39-35(45)31-24-40(22-26-12-9-15-37-21-26)16-17-41(31)23-29(42)19-28(18-25-10-5-4-6-11-25)34(44)38-33-30-14-8-7-13-27(30)20-32(33)43/h4-15,21,28-29,31-33,42-43H,16-20,22-24H2,1-3H3,(H,38,44)(H,39,45)/t28-,29+,31+,32-,33+/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=CBVCZFGXHXORBI-PXQQMZJSSA-N" }, "metanode": "Compound" }, { "id": 46048, "identifier": "C0575081", "identifier_type": "str", "name": "Gait disturbance", "properties": { "url": "http://identifiers.org/umls/C0575081", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46049, "identifier": "57506", "identifier_type": "int", "name": "MAVS", "properties": { "url": "http://identifiers.org/ncbigene/57506", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "mitochondrial antiviral signaling protein" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "