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=500
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=525", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=475", "results": [ { "id": 499, "identifier": "55668", "identifier_type": "int", "name": "GPATCH2L", "properties": { "url": "http://identifiers.org/ncbigene/55668", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "G patch domain containing 2-like" }, "metanode": "Gene" }, { "id": 500, "identifier": "GO:0032528", "identifier_type": "str", "name": "microvillus organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032528", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 501, "identifier": "GO:0045060", "identifier_type": "str", "name": "negative thymic T cell selection", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045060", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 502, "identifier": "GO:0016776", "identifier_type": "str", "name": "phosphotransferase activity, phosphate group as acceptor", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016776", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 503, "identifier": "GO:0009136", "identifier_type": "str", "name": "purine nucleoside diphosphate biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009136", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 504, "identifier": "D011602", "identifier_type": "str", "name": "Psychophysiologic Disorders", "properties": { "url": "http://identifiers.org/mesh/D011602", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 505, "identifier": "350", "identifier_type": "int", "name": "APOH", "properties": { "url": "http://identifiers.org/ncbigene/350", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "apolipoprotein H (beta-2-glycoprotein I)" }, "metanode": "Gene" }, { "id": 506, "identifier": "8841", "identifier_type": "int", "name": "HDAC3", "properties": { "url": "http://identifiers.org/ncbigene/8841", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "histone deacetylase 3" }, "metanode": "Gene" }, { "id": 507, "identifier": "GO:0007178", "identifier_type": "str", "name": "transmembrane receptor protein serine/threonine kinase signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007178", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 508, "identifier": "219621", "identifier_type": "int", "name": "C10orf107", "properties": { "url": "http://identifiers.org/ncbigene/219621", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "chromosome 10 open reading frame 107" }, "metanode": "Gene" }, { "id": 509, "identifier": "GO:2000330", "identifier_type": "str", "name": "positive regulation of T-helper 17 cell lineage commitment", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000330", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 510, "identifier": "81542", "identifier_type": "int", "name": "TMX1", "properties": { "url": "http://identifiers.org/ncbigene/81542", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "thioredoxin-related transmembrane protein 1" }, "metanode": "Gene" }, { "id": 511, "identifier": "DB00218", "identifier_type": "str", "name": "Moxifloxacin", "properties": { "url": "http://www.drugbank.ca/drugs/DB00218", "inchi": "InChI=1S/C21H24FN3O4/c1-29-20-17-13(19(26)14(21(27)28)9-25(17)12-4-5-12)7-15(22)18(20)24-8-11-3-2-6-23-16(11)10-24/h7,9,11-12,16,23H,2-6,8,10H2,1H3,(H,27,28)/t11-,16+/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=FABPRXSRWADJSP-MEDUHNTESA-N" }, "metanode": "Compound" }, { "id": 512, "identifier": "2803", "identifier_type": "int", "name": "GOLGA4", "properties": { "url": "http://identifiers.org/ncbigene/2803", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "golgin A4" }, "metanode": "Gene" }, { "id": 513, "identifier": "GO:0043506", "identifier_type": "str", "name": "regulation of JUN kinase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043506", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 514, "identifier": "GO:0002905", "identifier_type": "str", "name": "regulation of mature B cell apoptotic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002905", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 515, "identifier": "79899", "identifier_type": "int", "name": "PRR5L", "properties": { "url": "http://identifiers.org/ncbigene/79899", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "proline rich 5 like" }, "metanode": "Gene" }, { "id": 516, "identifier": "81796", "identifier_type": "int", "name": "SLCO5A1", "properties": { "url": "http://identifiers.org/ncbigene/81796", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "solute carrier organic anion transporter family, member 5A1" }, "metanode": "Gene" }, { "id": 517, "identifier": "5128", "identifier_type": "int", "name": "CDK17", "properties": { "url": "http://identifiers.org/ncbigene/5128", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "cyclin-dependent kinase 17" }, "metanode": "Gene" }, { "id": 518, "identifier": "GO:0046887", "identifier_type": "str", "name": "positive regulation of hormone secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046887", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 519, "identifier": "55294", "identifier_type": "int", "name": "FBXW7", "properties": { "url": "http://identifiers.org/ncbigene/55294", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "F-box and WD repeat domain containing 7, E3 ubiquitin protein ligase" }, "metanode": "Gene" }, { "id": 520, "identifier": "GO:0045402", "identifier_type": "str", "name": "regulation of interleukin-4 biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045402", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 521, "identifier": "23239", "identifier_type": "int", "name": "PHLPP1", "properties": { "url": "http://identifiers.org/ncbigene/23239", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "PH domain and leucine rich repeat protein phosphatase 1" }, "metanode": "Gene" }, { "id": 522, "identifier": "7597", "identifier_type": "int", "name": "ZBTB25", "properties": { "url": "http://identifiers.org/ncbigene/7597", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "zinc finger and BTB domain containing 25" }, "metanode": "Gene" }, { "id": 523, "identifier": "GO:0060627", "identifier_type": "str", "name": "regulation of vesicle-mediated transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060627", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "