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=45475
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45500", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45450", "results": [ { "id": 45473, "identifier": "105379874", "identifier_type": "int", "name": "LOC105379874", "properties": { "url": "http://identifiers.org/ncbigene/105379874", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "uncharacterized LOC105379874" }, "metanode": "Gene" }, { "id": 45474, "identifier": "284996", "identifier_type": "int", "name": "RNF149", "properties": { "url": "http://identifiers.org/ncbigene/284996", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "ring finger protein 149" }, "metanode": "Gene" }, { "id": 45475, "identifier": "255189", "identifier_type": "int", "name": "PLA2G4F", "properties": { "url": "http://identifiers.org/ncbigene/255189", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "phospholipase A2, group IVF" }, "metanode": "Gene" }, { "id": 45476, "identifier": "144100", "identifier_type": "int", "name": "PLEKHA7", "properties": { "url": "http://identifiers.org/ncbigene/144100", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "pleckstrin homology domain containing, family A member 7" }, "metanode": "Gene" }, { "id": 45477, "identifier": "C0040436", "identifier_type": "str", "name": "Tooth erosion", "properties": { "url": "http://identifiers.org/umls/C0040436", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45478, "identifier": "GO:0071173", "identifier_type": "str", "name": "spindle assembly checkpoint", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071173", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45479, "identifier": "6862", "identifier_type": "int", "name": "T", "properties": { "url": "http://identifiers.org/ncbigene/6862", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "T, brachyury homolog (mouse)" }, "metanode": "Gene" }, { "id": 45480, "identifier": "C0027066", "identifier_type": "str", "name": "Myoclonus", "properties": { "url": "http://identifiers.org/umls/C0027066", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45481, "identifier": "102725179", "identifier_type": "int", "name": "LOC102725179", "properties": { "url": "http://identifiers.org/ncbigene/102725179", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "tyrosine-protein phosphatase non-receptor type 20-like" }, "metanode": "Gene" }, { "id": 45482, "identifier": "126231", "identifier_type": "int", "name": "ZNF573", "properties": { "url": "http://identifiers.org/ncbigene/126231", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 573" }, "metanode": "Gene" }, { "id": 45483, "identifier": "GO:0009197", "identifier_type": "str", "name": "pyrimidine deoxyribonucleoside diphosphate biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009197", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45484, "identifier": "1438", "identifier_type": "int", "name": "CSF2RA", "properties": { "url": "http://identifiers.org/ncbigene/1438", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X|Y", "description": "colony stimulating factor 2 receptor, alpha, low-affinity (granulocyte-macrophage)" }, "metanode": "Gene" }, { "id": 45485, "identifier": "GO:0098639", "identifier_type": "str", "name": "collagen binding involved in cell-matrix adhesion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0098639", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45486, "identifier": "C0013528", "identifier_type": "str", "name": "Echolalia", "properties": { "url": "http://identifiers.org/umls/C0013528", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45487, "identifier": "GO:0004827", "identifier_type": "str", "name": "proline-tRNA ligase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004827", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45488, "identifier": "N0000000069", "identifier_type": "str", "name": "Calcium Channel Antagonists", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000000069", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 45489, "identifier": "100996750", "identifier_type": "int", "name": "LOC100996750", "properties": { "url": "http://identifiers.org/ncbigene/100996750", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "keratin-associated protein 4-7" }, "metanode": "Gene" }, { "id": 45490, "identifier": "GO:0031510", "identifier_type": "str", "name": "SUMO activating enzyme complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031510", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45491, "identifier": "GO:0004083", "identifier_type": "str", "name": "bisphosphoglycerate 2-phosphatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004083", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45492, "identifier": "3891", "identifier_type": "int", "name": "KRT85", "properties": { "url": "http://identifiers.org/ncbigene/3891", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "keratin 85, type II" }, "metanode": "Gene" }, { "id": 45493, "identifier": "8558", "identifier_type": "int", "name": "CDK10", "properties": { "url": "http://identifiers.org/ncbigene/8558", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "cyclin-dependent kinase 10" }, "metanode": "Gene" }, { "id": 45494, "identifier": "GO:2000058", "identifier_type": "str", "name": "regulation of protein ubiquitination involved in ubiquitin-dependent protein catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000058", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45495, "identifier": "GO:1900407", "identifier_type": "str", "name": "regulation of cellular response to oxidative stress", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1900407", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45496, "identifier": "GO:0045578", "identifier_type": "str", "name": "negative regulation of B cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045578", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45497, "identifier": "55608", "identifier_type": "int", "name": "ANKRD10", "properties": { "url": "http://identifiers.org/ncbigene/55608", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "ankyrin repeat domain 10" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "