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=1100
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1125", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1075", "results": [ { "id": 1098, "identifier": "2181", "identifier_type": "int", "name": "ACSL3", "properties": { "url": "http://identifiers.org/ncbigene/2181", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "acyl-CoA synthetase long-chain family member 3" }, "metanode": "Gene" }, { "id": 1099, "identifier": "10800", "identifier_type": "int", "name": "CYSLTR1", "properties": { "url": "http://identifiers.org/ncbigene/10800", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "cysteinyl leukotriene receptor 1" }, "metanode": "Gene" }, { "id": 1100, "identifier": "GO:0039519", "identifier_type": "str", "name": "modulation by virus of host autophagy", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0039519", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1101, "identifier": "GO:0003688", "identifier_type": "str", "name": "DNA replication origin binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003688", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1102, "identifier": "C0549493", "identifier_type": "str", "name": "Alveolitis", "properties": { "url": "http://identifiers.org/umls/C0549493", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1103, "identifier": "PC7_2072", "identifier_type": "str", "name": "Beta-catenin phosphorylation cascade", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1104, "identifier": "GO:0035368", "identifier_type": "str", "name": "selenocysteine insertion sequence binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035368", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1105, "identifier": "C0035078", "identifier_type": "str", "name": "Renal failure", "properties": { "url": "http://identifiers.org/umls/C0035078", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1106, "identifier": "4634", "identifier_type": "int", "name": "MYL3", "properties": { "url": "http://identifiers.org/ncbigene/4634", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "myosin, light chain 3, alkali; ventricular, skeletal, slow" }, "metanode": "Gene" }, { "id": 1107, "identifier": "GO:2000678", "identifier_type": "str", "name": "negative regulation of transcription regulatory region DNA binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000678", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1108, "identifier": "GO:0016917", "identifier_type": "str", "name": "GABA receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016917", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1109, "identifier": "729597", "identifier_type": "int", "name": "SPDYE6", "properties": { "url": "http://identifiers.org/ncbigene/729597", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "speedy/RINGO cell cycle regulator family member E6" }, "metanode": "Gene" }, { "id": 1110, "identifier": "7103", "identifier_type": "int", "name": "TSPAN8", "properties": { "url": "http://identifiers.org/ncbigene/7103", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "tetraspanin 8" }, "metanode": "Gene" }, { "id": 1111, "identifier": "57125", "identifier_type": "int", "name": "PLXDC1", "properties": { "url": "http://identifiers.org/ncbigene/57125", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "plexin domain containing 1" }, "metanode": "Gene" }, { "id": 1112, "identifier": "GO:0043984", "identifier_type": "str", "name": "histone H4-K16 acetylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043984", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1113, "identifier": "C0549259", "identifier_type": "str", "name": "Anxiety aggravated", "properties": { "url": "http://identifiers.org/umls/C0549259", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1114, "identifier": "1807", "identifier_type": "int", "name": "DPYS", "properties": { "url": "http://identifiers.org/ncbigene/1807", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "dihydropyrimidinase" }, "metanode": "Gene" }, { "id": 1115, "identifier": "GO:0030234", "identifier_type": "str", "name": "enzyme regulator activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030234", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1116, "identifier": "221078", "identifier_type": "int", "name": "NSUN6", "properties": { "url": "http://identifiers.org/ncbigene/221078", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "NOP2/Sun domain family, member 6" }, "metanode": "Gene" }, { "id": 1117, "identifier": "79031", "identifier_type": "int", "name": "PDCL3", "properties": { "url": "http://identifiers.org/ncbigene/79031", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "phosducin-like 3" }, "metanode": "Gene" }, { "id": 1118, "identifier": "C0376175", "identifier_type": "str", "name": "Bell's palsy", "properties": { "url": "http://identifiers.org/umls/C0376175", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1119, "identifier": "DB00960", "identifier_type": "str", "name": "Pindolol", "properties": { "url": "http://www.drugbank.ca/drugs/DB00960", "inchi": "InChI=1S/C14H20N2O2/c1-10(2)16-8-11(17)9-18-14-5-3-4-13-12(14)6-7-15-13/h3-7,10-11,15-17H,8-9H2,1-2H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=JZQKKSLKJUAGIC-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1120, "identifier": "8927", "identifier_type": "int", "name": "BSN", "properties": { "url": "http://identifiers.org/ncbigene/8927", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "bassoon presynaptic cytomatrix protein" }, "metanode": "Gene" }, { "id": 1121, "identifier": "C0694549", "identifier_type": "str", "name": "Community acquired pneumonia", "properties": { "url": "http://identifiers.org/umls/C0694549", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1122, "identifier": "2617", "identifier_type": "int", "name": "GARS", "properties": { "url": "http://identifiers.org/ncbigene/2617", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "glycyl-tRNA synthetase" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "