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=2025
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2050", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2000", "results": [ { "id": 2018, "identifier": "259286", "identifier_type": "int", "name": "TAS2R40", "properties": { "url": "http://identifiers.org/ncbigene/259286", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "taste receptor, type 2, member 40" }, "metanode": "Gene" }, { "id": 2019, "identifier": "GO:0035841", "identifier_type": "str", "name": "new growing cell tip", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035841", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 2020, "identifier": "C0003175", "identifier_type": "str", "name": "Anthrax", "properties": { "url": "http://identifiers.org/umls/C0003175", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2021, "identifier": "3421", "identifier_type": "int", "name": "IDH3G", "properties": { "url": "http://identifiers.org/ncbigene/3421", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "isocitrate dehydrogenase 3 (NAD+) gamma" }, "metanode": "Gene" }, { "id": 2022, "identifier": "GO:0015871", "identifier_type": "str", "name": "choline transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015871", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2023, "identifier": "GO:0031254", "identifier_type": "str", "name": "cell trailing edge", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031254", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 2024, "identifier": "GO:0038061", "identifier_type": "str", "name": "NIK/NF-kappaB signaling", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0038061", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2025, "identifier": "83743", "identifier_type": "int", "name": "GRWD1", "properties": { "url": "http://identifiers.org/ncbigene/83743", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "glutamate-rich WD repeat containing 1" }, "metanode": "Gene" }, { "id": 2026, "identifier": "100129840", "identifier_type": "int", "name": "LOC100129840", "properties": { "url": "http://identifiers.org/ncbigene/100129840", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "uncharacterized LOC100129840" }, "metanode": "Gene" }, { "id": 2027, "identifier": "GO:0019871", "identifier_type": "str", "name": "sodium channel inhibitor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019871", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2028, "identifier": "5874", "identifier_type": "int", "name": "RAB27B", "properties": { "url": "http://identifiers.org/ncbigene/5874", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "RAB27B, member RAS oncogene family" }, "metanode": "Gene" }, { "id": 2029, "identifier": "10285", "identifier_type": "int", "name": "SMNDC1", "properties": { "url": "http://identifiers.org/ncbigene/10285", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "survival motor neuron domain containing 1" }, "metanode": "Gene" }, { "id": 2030, "identifier": "GO:0072423", "identifier_type": "str", "name": "response to DNA damage checkpoint signaling", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072423", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2031, "identifier": "GO:0036065", "identifier_type": "str", "name": "fucosylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0036065", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2032, "identifier": "221935", "identifier_type": "int", "name": "SDK1", "properties": { "url": "http://identifiers.org/ncbigene/221935", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "sidekick cell adhesion molecule 1" }, "metanode": "Gene" }, { "id": 2033, "identifier": "GO:0006636", "identifier_type": "str", "name": "unsaturated fatty acid biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006636", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2034, "identifier": "GO:0050818", "identifier_type": "str", "name": "regulation of coagulation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050818", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2035, "identifier": "GO:0033061", "identifier_type": "str", "name": "DNA recombinase mediator complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033061", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 2036, "identifier": "84681", "identifier_type": "int", "name": "HINT2", "properties": { "url": "http://identifiers.org/ncbigene/84681", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "histidine triad nucleotide binding protein 2" }, "metanode": "Gene" }, { "id": 2037, "identifier": "GO:0016415", "identifier_type": "str", "name": "octanoyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016415", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2038, "identifier": "30833", "identifier_type": "int", "name": "NT5C", "properties": { "url": "http://identifiers.org/ncbigene/30833", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "5', 3'-nucleotidase, cytosolic" }, "metanode": "Gene" }, { "id": 2039, "identifier": "6572", "identifier_type": "int", "name": "SLC18A3", "properties": { "url": "http://identifiers.org/ncbigene/6572", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "solute carrier family 18 (vesicular acetylcholine transporter), member 3" }, "metanode": "Gene" }, { "id": 2040, "identifier": "102725017", "identifier_type": "int", "name": "LOC102725017", "properties": { "url": "http://identifiers.org/ncbigene/102725017", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "uncharacterized LOC102725017" }, "metanode": "Gene" }, { "id": 2041, "identifier": "GO:0031338", "identifier_type": "str", "name": "regulation of vesicle fusion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031338", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2042, "identifier": "388341", "identifier_type": "int", "name": "LRRC75A", "properties": { "url": "http://identifiers.org/ncbigene/388341", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "leucine rich repeat containing 75A" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "