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=750
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=775", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=725", "results": [ { "id": 748, "identifier": "10385", "identifier_type": "int", "name": "BTN2A2", "properties": { "url": "http://identifiers.org/ncbigene/10385", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "butyrophilin, subfamily 2, member A2" }, "metanode": "Gene" }, { "id": 749, "identifier": "GO:0047184", "identifier_type": "str", "name": "1-acylglycerophosphocholine O-acyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0047184", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 823, "identifier": "C0239725", "identifier_type": "str", "name": "Genital pain", "properties": { "url": "http://identifiers.org/umls/C0239725", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 750, "identifier": "GO:0008474", "identifier_type": "str", "name": "palmitoyl-(protein) hydrolase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008474", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 751, "identifier": "GO:0016882", "identifier_type": "str", "name": "cyclo-ligase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016882", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 752, "identifier": "285973", "identifier_type": "int", "name": "ATG9B", "properties": { "url": "http://identifiers.org/ncbigene/285973", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "autophagy related 9B" }, "metanode": "Gene" }, { "id": 753, "identifier": "GO:0043262", "identifier_type": "str", "name": "adenosine-diphosphatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043262", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 754, "identifier": "102725035", "identifier_type": "int", "name": "LOC102725035", "properties": { "url": "http://identifiers.org/ncbigene/102725035", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "leukocyte immunoglobulin-like receptor subfamily B member 3" }, "metanode": "Gene" }, { "id": 755, "identifier": "84669", "identifier_type": "int", "name": "USP32", "properties": { "url": "http://identifiers.org/ncbigene/84669", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "ubiquitin specific peptidase 32" }, "metanode": "Gene" }, { "id": 756, "identifier": "C1963818", "identifier_type": "str", "name": "Gastrointestinal sounds abnormal", "properties": { "url": "http://identifiers.org/umls/C1963818", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 757, "identifier": "399888", "identifier_type": "int", "name": "FAM180B", "properties": { "url": "http://identifiers.org/ncbigene/399888", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "family with sequence similarity 180, member B" }, "metanode": "Gene" }, { "id": 758, "identifier": "GO:0015297", "identifier_type": "str", "name": "antiporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015297", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 759, "identifier": "GO:0071810", "identifier_type": "str", "name": "regulation of fever generation by regulation of prostaglandin secretion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071810", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 760, "identifier": "1504", "identifier_type": "int", "name": "CTRB1", "properties": { "url": "http://identifiers.org/ncbigene/1504", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "chymotrypsinogen B1" }, "metanode": "Gene" }, { "id": 761, "identifier": "10011", "identifier_type": "int", "name": "SRA1", "properties": { "url": "http://identifiers.org/ncbigene/10011", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "steroid receptor RNA activator 1" }, "metanode": "Gene" }, { "id": 762, "identifier": "GO:0008022", "identifier_type": "str", "name": "protein C-terminus binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008022", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 763, "identifier": "DB00432", "identifier_type": "str", "name": "Trifluridine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00432", "inchi": "InChI=1S/C10H11F3N2O5/c11-10(12,13)4-2-15(9(19)14-8(4)18)7-1-5(17)6(3-16)20-7/h2,5-7,16-17H,1,3H2,(H,14,18,19)/t5-,6+,7+/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=VSQQQLOSPVPRAZ-RRKCRQDMSA-N" }, "metanode": "Compound" }, { "id": 764, "identifier": "201181", "identifier_type": "int", "name": "ZNF385C", "properties": { "url": "http://identifiers.org/ncbigene/201181", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "zinc finger protein 385C" }, "metanode": "Gene" }, { "id": 765, "identifier": "C0860988", "identifier_type": "str", "name": "Phosphate increased", "properties": { "url": "http://identifiers.org/umls/C0860988", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 766, "identifier": "3845", "identifier_type": "int", "name": "KRAS", "properties": { "url": "http://identifiers.org/ncbigene/3845", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "Kirsten rat sarcoma viral oncogene homolog" }, "metanode": "Gene" }, { "id": 767, "identifier": "8368", "identifier_type": "int", "name": "HIST1H4L", "properties": { "url": "http://identifiers.org/ncbigene/8368", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "histone cluster 1, H4l" }, "metanode": "Gene" }, { "id": 768, "identifier": "C0020443", "identifier_type": "str", "name": "Hypercholesterolaemia", "properties": { "url": "http://identifiers.org/umls/C0020443", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 769, "identifier": "100130520", "identifier_type": "int", "name": "LOC100130520", "properties": { "url": "http://identifiers.org/ncbigene/100130520", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "CD300c molecule-like" }, "metanode": "Gene" }, { "id": 770, "identifier": "C0852925", "identifier_type": "str", "name": "Gastrointestinal necrosis", "properties": { "url": "http://identifiers.org/umls/C0852925", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 771, "identifier": "C0393444", "identifier_type": "str", "name": "Meningitis chemical", "properties": { "url": "http://identifiers.org/umls/C0393444", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "