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=1600
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1625", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1575", "results": [ { "id": 1596, "identifier": "GO:0032609", "identifier_type": "str", "name": "interferon-gamma production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032609", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1597, "identifier": "GO:0045911", "identifier_type": "str", "name": "positive regulation of DNA recombination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045911", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1598, "identifier": "1164", "identifier_type": "int", "name": "CKS2", "properties": { "url": "http://identifiers.org/ncbigene/1164", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "CDC28 protein kinase regulatory subunit 2" }, "metanode": "Gene" }, { "id": 1599, "identifier": "9927", "identifier_type": "int", "name": "MFN2", "properties": { "url": "http://identifiers.org/ncbigene/9927", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "mitofusin 2" }, "metanode": "Gene" }, { "id": 1600, "identifier": "C0153452", "identifier_type": "str", "name": "Gallbladder cancer", "properties": { "url": "http://identifiers.org/umls/C0153452", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1601, "identifier": "PC7_2912", "identifier_type": "str", "name": "Cytosolic tRNA aminoacylation", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1602, "identifier": "3617", "identifier_type": "int", "name": "IMPG1", "properties": { "url": "http://identifiers.org/ncbigene/3617", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "interphotoreceptor matrix proteoglycan 1" }, "metanode": "Gene" }, { "id": 1603, "identifier": "8284", "identifier_type": "int", "name": "KDM5D", "properties": { "url": "http://identifiers.org/ncbigene/8284", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "Y", "description": "lysine (K)-specific demethylase 5D" }, "metanode": "Gene" }, { "id": 1604, "identifier": "GO:1904903", "identifier_type": "str", "name": "ESCRT III complex disassembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904903", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1605, "identifier": "161291", "identifier_type": "int", "name": "TMEM30B", "properties": { "url": "http://identifiers.org/ncbigene/161291", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "transmembrane protein 30B" }, "metanode": "Gene" }, { "id": 1606, "identifier": "2118", "identifier_type": "int", "name": "ETV4", "properties": { "url": "http://identifiers.org/ncbigene/2118", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "ets variant 4" }, "metanode": "Gene" }, { "id": 1607, "identifier": "C0017567", "identifier_type": "str", "name": "Gingival hypertrophy", "properties": { "url": "http://identifiers.org/umls/C0017567", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1608, "identifier": "GO:0005672", "identifier_type": "str", "name": "transcription factor TFIIA complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005672", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 23641, "identifier": "D020757", "identifier_type": "str", "name": "Amaurosis Fugax", "properties": { "url": "http://identifiers.org/mesh/D020757", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 1609, "identifier": "260436", "identifier_type": "int", "name": "FDCSP", "properties": { "url": "http://identifiers.org/ncbigene/260436", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "follicular dendritic cell secreted protein" }, "metanode": "Gene" }, { "id": 1610, "identifier": "GO:0055057", "identifier_type": "str", "name": "neuroblast division", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0055057", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1611, "identifier": "C0553704", "identifier_type": "str", "name": "Serum potassium increased", "properties": { "url": "http://identifiers.org/umls/C0553704", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1612, "identifier": "C1456863", "identifier_type": "str", "name": "Vasoconstriction", "properties": { "url": "http://identifiers.org/umls/C1456863", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1613, "identifier": "GO:0005272", "identifier_type": "str", "name": "sodium channel activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005272", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1614, "identifier": "84893", "identifier_type": "int", "name": "FBXO18", "properties": { "url": "http://identifiers.org/ncbigene/84893", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "F-box protein, helicase, 18" }, "metanode": "Gene" }, { "id": 1615, "identifier": "GO:0006352", "identifier_type": "str", "name": "DNA-templated transcription, initiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006352", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1616, "identifier": "387103", "identifier_type": "int", "name": "CENPW", "properties": { "url": "http://identifiers.org/ncbigene/387103", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "centromere protein W" }, "metanode": "Gene" }, { "id": 1617, "identifier": "7024", "identifier_type": "int", "name": "TFCP2", "properties": { "url": "http://identifiers.org/ncbigene/7024", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "transcription factor CP2" }, "metanode": "Gene" }, { "id": 1618, "identifier": "GO:0072589", "identifier_type": "str", "name": "box H/ACA scaRNP complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072589", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1619, "identifier": "57062", "identifier_type": "int", "name": "DDX24", "properties": { "url": "http://identifiers.org/ncbigene/57062", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "DEAD (Asp-Glu-Ala-Asp) box helicase 24" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "