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=1900
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1925", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1875", "results": [ { "id": 1896, "identifier": "440021", "identifier_type": "int", "name": "KRTAP5-2", "properties": { "url": "http://identifiers.org/ncbigene/440021", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "keratin associated protein 5-2" }, "metanode": "Gene" }, { "id": 2146, "identifier": "GO:0043204", "identifier_type": "str", "name": "perikaryon", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043204", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1897, "identifier": "84939", "identifier_type": "int", "name": "MUM1", "properties": { "url": "http://identifiers.org/ncbigene/84939", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "melanoma associated antigen (mutated) 1" }, "metanode": "Gene" }, { "id": 1898, "identifier": "GO:0086006", "identifier_type": "str", "name": "voltage-gated sodium channel activity involved in cardiac muscle cell action potential", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0086006", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1899, "identifier": "100130967", "identifier_type": "int", "name": "C6orf99", "properties": { "url": "http://identifiers.org/ncbigene/100130967", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "chromosome 6 open reading frame 99" }, "metanode": "Gene" }, { "id": 1900, "identifier": "26595", "identifier_type": "int", "name": "OR8B2", "properties": { "url": "http://identifiers.org/ncbigene/26595", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 8, subfamily B, member 2" }, "metanode": "Gene" }, { "id": 1901, "identifier": "56137", "identifier_type": "int", "name": "PCDHA12", "properties": { "url": "http://identifiers.org/ncbigene/56137", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "protocadherin alpha 12" }, "metanode": "Gene" }, { "id": 1902, "identifier": "102724560", "identifier_type": "int", "name": "LOC102724560", "properties": { "url": "http://identifiers.org/ncbigene/102724560", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "cystathionine beta-synthase" }, "metanode": "Gene" }, { "id": 1903, "identifier": "C0040053", "identifier_type": "str", "name": "Thrombosis", "properties": { "url": "http://identifiers.org/umls/C0040053", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1904, "identifier": "PC7_4661", "identifier_type": "str", "name": "IRS activation", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1905, "identifier": "9454", "identifier_type": "int", "name": "HOMER3", "properties": { "url": "http://identifiers.org/ncbigene/9454", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "homer scaffolding protein 3" }, "metanode": "Gene" }, { "id": 1906, "identifier": "GO:0042596", "identifier_type": "str", "name": "fear response", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042596", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1907, "identifier": "GO:0065005", "identifier_type": "str", "name": "protein-lipid complex assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0065005", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1908, "identifier": "GO:0090148", "identifier_type": "str", "name": "membrane fission", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090148", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1909, "identifier": "PC7_6067", "identifier_type": "str", "name": "Other semaphorin interactions", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1910, "identifier": "GO:0005861", "identifier_type": "str", "name": "troponin complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005861", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1911, "identifier": "C0235462", "identifier_type": "str", "name": "Anginal attack", "properties": { "url": "http://identifiers.org/umls/C0235462", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1912, "identifier": "D020235", "identifier_type": "str", "name": "Gait Apraxia", "properties": { "url": "http://identifiers.org/mesh/D020235", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 1913, "identifier": "GO:0050811", "identifier_type": "str", "name": "GABA receptor binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050811", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1914, "identifier": "83594", "identifier_type": "int", "name": "NUDT12", "properties": { "url": "http://identifiers.org/ncbigene/83594", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "nudix (nucleoside diphosphate linked moiety X)-type motif 12" }, "metanode": "Gene" }, { "id": 1915, "identifier": "GO:0015817", "identifier_type": "str", "name": "histidine transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015817", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1916, "identifier": "GO:0005815", "identifier_type": "str", "name": "microtubule organizing center", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005815", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1917, "identifier": "5741", "identifier_type": "int", "name": "PTH", "properties": { "url": "http://identifiers.org/ncbigene/5741", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "parathyroid hormone" }, "metanode": "Gene" }, { "id": 1918, "identifier": "GO:0001888", "identifier_type": "str", "name": "glucuronyl-galactosyl-proteoglycan 4-alpha-N-acetylglucosaminyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001888", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1919, "identifier": "51667", "identifier_type": "int", "name": "NUB1", "properties": { "url": "http://identifiers.org/ncbigene/51667", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "negative regulator of ubiquitin-like proteins 1" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "