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=1200
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1225", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1175", "results": [ { "id": 1198, "identifier": "DB01173", "identifier_type": "str", "name": "Orphenadrine", "properties": { "url": "http://www.drugbank.ca/drugs/DB01173", "inchi": "InChI=1S/C18H23NO/c1-15-9-7-8-12-17(15)18(20-14-13-19(2)3)16-10-5-4-6-11-16/h4-12,18H,13-14H2,1-3H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=QVYRGXJJSLMXQH-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1199, "identifier": "56950", "identifier_type": "int", "name": "SMYD2", "properties": { "url": "http://identifiers.org/ncbigene/56950", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "SET and MYND domain containing 2" }, "metanode": "Gene" }, { "id": 1200, "identifier": "196513", "identifier_type": "int", "name": "DCP1B", "properties": { "url": "http://identifiers.org/ncbigene/196513", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "decapping mRNA 1B" }, "metanode": "Gene" }, { "id": 1201, "identifier": "C0025322", "identifier_type": "str", "name": "Premature menopause", "properties": { "url": "http://identifiers.org/umls/C0025322", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1202, "identifier": "388553", "identifier_type": "int", "name": "BHMG1", "properties": { "url": "http://identifiers.org/ncbigene/388553", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "basic helix-loop-helix and HMG box domain containing 1" }, "metanode": "Gene" }, { "id": 1203, "identifier": "GO:0002528", "identifier_type": "str", "name": "regulation of vascular permeability involved in acute inflammatory response", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002528", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1204, "identifier": "1616", "identifier_type": "int", "name": "DAXX", "properties": { "url": "http://identifiers.org/ncbigene/1616", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "death-domain associated protein" }, "metanode": "Gene" }, { "id": 1205, "identifier": "403339", "identifier_type": "int", "name": "DEFB133", "properties": { "url": "http://identifiers.org/ncbigene/403339", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "defensin, beta 133" }, "metanode": "Gene" }, { "id": 1206, "identifier": "PC7_7230", "identifier_type": "str", "name": "SCF(Skp2)-mediated degradation of p27/p21", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1207, "identifier": "GO:0090073", "identifier_type": "str", "name": "positive regulation of protein homodimerization activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090073", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1208, "identifier": "C0034040", "identifier_type": "str", "name": "Postpartum disorder", "properties": { "url": "http://identifiers.org/umls/C0034040", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1209, "identifier": "4085", "identifier_type": "int", "name": "MAD2L1", "properties": { "url": "http://identifiers.org/ncbigene/4085", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "MAD2 mitotic arrest deficient-like 1 (yeast)" }, "metanode": "Gene" }, { "id": 1210, "identifier": "8480", "identifier_type": "int", "name": "RAE1", "properties": { "url": "http://identifiers.org/ncbigene/8480", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "ribonucleic acid export 1" }, "metanode": "Gene" }, { "id": 1211, "identifier": "C0004763", "identifier_type": "str", "name": "Barrett's oesophagus", "properties": { "url": "http://identifiers.org/umls/C0004763", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1212, "identifier": "C0859037", "identifier_type": "str", "name": "Feeling of residual urine", "properties": { "url": "http://identifiers.org/umls/C0859037", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1213, "identifier": "2314", "identifier_type": "int", "name": "FLII", "properties": { "url": "http://identifiers.org/ncbigene/2314", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "flightless I actin binding protein" }, "metanode": "Gene" }, { "id": 1214, "identifier": "11077", "identifier_type": "int", "name": "HSF2BP", "properties": { "url": "http://identifiers.org/ncbigene/11077", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "heat shock transcription factor 2 binding protein" }, "metanode": "Gene" }, { "id": 1215, "identifier": "DB00479", "identifier_type": "str", "name": "Amikacin", "properties": { "url": "http://www.drugbank.ca/drugs/DB00479", "inchi": "InChI=1S/C22H43N5O13/c23-2-1-8(29)20(36)27-7-3-6(25)18(39-22-16(34)15(33)13(31)9(4-24)37-22)17(35)19(7)40-21-14(32)11(26)12(30)10(5-28)38-21/h6-19,21-22,28-35H,1-5,23-26H2,(H,27,36)/t6-,7+,8-,9+,10+,11-,12+,13+,14+,15-,16+,17-,18+,19-,21+,22+/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=LKCWBDHBTVXHDL-RMDFUYIESA-N" }, "metanode": "Compound" }, { "id": 1216, "identifier": "GO:0002161", "identifier_type": "str", "name": "aminoacyl-tRNA editing activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002161", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1217, "identifier": "GO:0005049", "identifier_type": "str", "name": "nuclear export signal receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005049", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1218, "identifier": "4783", "identifier_type": "int", "name": "NFIL3", "properties": { "url": "http://identifiers.org/ncbigene/4783", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "nuclear factor, interleukin 3 regulated" }, "metanode": "Gene" }, { "id": 1219, "identifier": "54805", "identifier_type": "int", "name": "CNNM2", "properties": { "url": "http://identifiers.org/ncbigene/54805", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "cyclin and CBS domain divalent metal cation transport mediator 2" }, "metanode": "Gene" }, { "id": 1220, "identifier": "C0576093", "identifier_type": "str", "name": "Genu valgum", "properties": { "url": "http://identifiers.org/umls/C0576093", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1221, "identifier": "D054078", "identifier_type": "str", "name": "Mevalonate Kinase Deficiency", "properties": { "url": "http://identifiers.org/mesh/D054078", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 1222, "identifier": "PC7_7707", "identifier_type": "str", "name": "Sumoylation by RanBP2 regulates transcriptional repression", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" } ] }{ "count": 47031, "next": "