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=46200
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46225", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46175", "results": [ { "id": 46199, "identifier": "6809", "identifier_type": "int", "name": "STX3", "properties": { "url": "http://identifiers.org/ncbigene/6809", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "syntaxin 3" }, "metanode": "Gene" }, { "id": 46200, "identifier": "PC7_6570", "identifier_type": "str", "name": "Presynaptic function of Kainate receptors", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46201, "identifier": "GO:0007616", "identifier_type": "str", "name": "long-term memory", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007616", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46202, "identifier": "GO:0071883", "identifier_type": "str", "name": "activation of MAPK activity by adrenergic receptor signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071883", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46203, "identifier": "1641", "identifier_type": "int", "name": "DCX", "properties": { "url": "http://identifiers.org/ncbigene/1641", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "doublecortin" }, "metanode": "Gene" }, { "id": 46204, "identifier": "10148", "identifier_type": "int", "name": "EBI3", "properties": { "url": "http://identifiers.org/ncbigene/10148", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "Epstein-Barr virus induced 3" }, "metanode": "Gene" }, { "id": 46205, "identifier": "63967", "identifier_type": "int", "name": "CLSPN", "properties": { "url": "http://identifiers.org/ncbigene/63967", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "claspin" }, "metanode": "Gene" }, { "id": 46206, "identifier": "441669", "identifier_type": "int", "name": "OR4Q3", "properties": { "url": "http://identifiers.org/ncbigene/441669", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "olfactory receptor, family 4, subfamily Q, member 3" }, "metanode": "Gene" }, { "id": 46207, "identifier": "PC7_4531", "identifier_type": "str", "name": "Hydrolysis of LPE", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46208, "identifier": "DB01362", "identifier_type": "str", "name": "Iohexol", "properties": { "url": "http://www.drugbank.ca/drugs/DB01362", "inchi": "InChI=1S/C19H26I3N3O9/c1-8(29)25(4-11(32)7-28)17-15(21)12(18(33)23-2-9(30)5-26)14(20)13(16(17)22)19(34)24-3-10(31)6-27/h9-11,26-28,30-32H,2-7H2,1H3,(H,23,33)(H,24,34)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=NTHXOOBQLCIOLC-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 46209, "identifier": "3982", "identifier_type": "int", "name": "LIM2", "properties": { "url": "http://identifiers.org/ncbigene/3982", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "lens intrinsic membrane protein 2, 19kDa" }, "metanode": "Gene" }, { "id": 46210, "identifier": "8505", "identifier_type": "int", "name": "PARG", "properties": { "url": "http://identifiers.org/ncbigene/8505", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "poly (ADP-ribose) glycohydrolase" }, "metanode": "Gene" }, { "id": 46211, "identifier": "GO:0030221", "identifier_type": "str", "name": "basophil differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030221", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46212, "identifier": "GO:0010840", "identifier_type": "str", "name": "regulation of circadian sleep/wake cycle, wakefulness", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010840", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46213, "identifier": "100130657", "identifier_type": "int", "name": "LOC100130657", "properties": { "url": "http://identifiers.org/ncbigene/100130657", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "uncharacterized LOC100130657" }, "metanode": "Gene" }, { "id": 46214, "identifier": "GO:1903056", "identifier_type": "str", "name": "regulation of melanosome organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903056", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46215, "identifier": "2339", "identifier_type": "int", "name": "FNTA", "properties": { "url": "http://identifiers.org/ncbigene/2339", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "farnesyltransferase, CAAX box, alpha" }, "metanode": "Gene" }, { "id": 46216, "identifier": "11102", "identifier_type": "int", "name": "RPP14", "properties": { "url": "http://identifiers.org/ncbigene/11102", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "ribonuclease P/MRP 14kDa subunit" }, "metanode": "Gene" }, { "id": 46217, "identifier": "445577", "identifier_type": "int", "name": "C9orf129", "properties": { "url": "http://identifiers.org/ncbigene/445577", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "chromosome 9 open reading frame 129" }, "metanode": "Gene" }, { "id": 46218, "identifier": "D011304", "identifier_type": "str", "name": "Presbycusis", "properties": { "url": "http://identifiers.org/mesh/D011304", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 46219, "identifier": "C0376545", "identifier_type": "str", "name": "Haematological malignancy", "properties": { "url": "http://identifiers.org/umls/C0376545", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46220, "identifier": "GO:0045959", "identifier_type": "str", "name": "negative regulation of complement activation, classical pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045959", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46221, "identifier": "144402", "identifier_type": "int", "name": "CPNE8", "properties": { "url": "http://identifiers.org/ncbigene/144402", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "copine VIII" }, "metanode": "Gene" }, { "id": 46222, "identifier": "C1735368", "identifier_type": "str", "name": "Acute dystonia", "properties": { "url": "http://identifiers.org/umls/C1735368", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46223, "identifier": "27238", "identifier_type": "int", "name": "GPKOW", "properties": { "url": "http://identifiers.org/ncbigene/27238", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "G patch domain and KOW motifs" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "