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=1750
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1775", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1725", "results": [ { "id": 1746, "identifier": "132949", "identifier_type": "int", "name": "AASDH", "properties": { "url": "http://identifiers.org/ncbigene/132949", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "aminoadipate-semialdehyde dehydrogenase" }, "metanode": "Gene" }, { "id": 1747, "identifier": "GO:0000801", "identifier_type": "str", "name": "central element", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000801", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1748, "identifier": "GO:0004743", "identifier_type": "str", "name": "pyruvate kinase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004743", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1749, "identifier": "D020915", "identifier_type": "str", "name": "Korsakoff Syndrome", "properties": { "url": "http://identifiers.org/mesh/D020915", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 1750, "identifier": "GO:0003062", "identifier_type": "str", "name": "regulation of heart rate by chemical signal", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003062", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1751, "identifier": "79101", "identifier_type": "int", "name": "TAF1D", "properties": { "url": "http://identifiers.org/ncbigene/79101", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "TATA box binding protein (TBP)-associated factor, RNA polymerase I, D, 41kDa" }, "metanode": "Gene" }, { "id": 1752, "identifier": "100132963", "identifier_type": "int", "name": "SMIM9", "properties": { "url": "http://identifiers.org/ncbigene/100132963", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "small integral membrane protein 9" }, "metanode": "Gene" }, { "id": 1753, "identifier": "GO:0097151", "identifier_type": "str", "name": "positive regulation of inhibitory postsynaptic potential", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0097151", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1754, "identifier": "8741", "identifier_type": "int", "name": "TNFSF13", "properties": { "url": "http://identifiers.org/ncbigene/8741", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "tumor necrosis factor (ligand) superfamily, member 13" }, "metanode": "Gene" }, { "id": 1755, "identifier": "C0231170", "identifier_type": "str", "name": "Disability", "properties": { "url": "http://identifiers.org/umls/C0231170", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1756, "identifier": "153241", "identifier_type": "int", "name": "CEP120", "properties": { "url": "http://identifiers.org/ncbigene/153241", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "centrosomal protein 120kDa" }, "metanode": "Gene" }, { "id": 1757, "identifier": "2575", "identifier_type": "int", "name": "GAGE3", "properties": { "url": "http://identifiers.org/ncbigene/2575", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "G antigen 3" }, "metanode": "Gene" }, { "id": 1758, "identifier": "11194", "identifier_type": "int", "name": "ABCB8", "properties": { "url": "http://identifiers.org/ncbigene/11194", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "ATP-binding cassette, sub-family B (MDR/TAP), member 8" }, "metanode": "Gene" }, { "id": 1759, "identifier": "GO:0031306", "identifier_type": "str", "name": "intrinsic component of mitochondrial outer membrane", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031306", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1760, "identifier": "C0007758", "identifier_type": "str", "name": "Cerebellar ataxia", "properties": { "url": "http://identifiers.org/umls/C0007758", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1761, "identifier": "5028", "identifier_type": "int", "name": "P2RY1", "properties": { "url": "http://identifiers.org/ncbigene/5028", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "purinergic receptor P2Y, G-protein coupled, 1" }, "metanode": "Gene" }, { "id": 1762, "identifier": "GO:0040013", "identifier_type": "str", "name": "negative regulation of locomotion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0040013", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1763, "identifier": "GO:0016608", "identifier_type": "str", "name": "growth hormone-releasing hormone activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016608", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1764, "identifier": "GO:0034034", "identifier_type": "str", "name": "purine nucleoside bisphosphate catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034034", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1765, "identifier": "94097", "identifier_type": "int", "name": "SFXN5", "properties": { "url": "http://identifiers.org/ncbigene/94097", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "sideroflexin 5" }, "metanode": "Gene" }, { "id": 1766, "identifier": "255725", "identifier_type": "int", "name": "OR52B2", "properties": { "url": "http://identifiers.org/ncbigene/255725", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 52, subfamily B, member 2" }, "metanode": "Gene" }, { "id": 1767, "identifier": "285267", "identifier_type": "int", "name": "ZNF619", "properties": { "url": "http://identifiers.org/ncbigene/285267", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "zinc finger protein 619" }, "metanode": "Gene" }, { "id": 1768, "identifier": "7481", "identifier_type": "int", "name": "WNT11", "properties": { "url": "http://identifiers.org/ncbigene/7481", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "wingless-type MMTV integration site family, member 11" }, "metanode": "Gene" }, { "id": 1769, "identifier": "118487", "identifier_type": "int", "name": "CHCHD1", "properties": { "url": "http://identifiers.org/ncbigene/118487", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "coiled-coil-helix-coiled-coil-helix domain containing 1" }, "metanode": "Gene" }, { "id": 1770, "identifier": "D006816", "identifier_type": "str", "name": "Huntington Disease", "properties": { "url": "http://identifiers.org/mesh/D006816", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" } ] }{ "count": 47031, "next": "