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=1325
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1350", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1300", "results": [ { "id": 1323, "identifier": "GO:0008203", "identifier_type": "str", "name": "cholesterol metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008203", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1324, "identifier": "GO:0032045", "identifier_type": "str", "name": "guanyl-nucleotide exchange factor complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032045", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1325, "identifier": "C0020569", "identifier_type": "str", "name": "Salivary gland enlargement", "properties": { "url": "http://identifiers.org/umls/C0020569", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1326, "identifier": "GO:0008540", "identifier_type": "str", "name": "proteasome regulatory particle, base subcomplex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008540", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1327, "identifier": "GO:0032066", "identifier_type": "str", "name": "nucleolus to nucleoplasm transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032066", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1328, "identifier": "GO:1990314", "identifier_type": "str", "name": "cellular response to insulin-like growth factor stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1990314", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1329, "identifier": "DB00426", "identifier_type": "str", "name": "Famciclovir", "properties": { "url": "http://www.drugbank.ca/drugs/DB00426", "inchi": "InChI=1S/C14H19N5O4/c1-9(20)22-6-11(7-23-10(2)21)3-4-19-8-17-12-5-16-14(15)18-13(12)19/h5,8,11H,3-4,6-7H2,1-2H3,(H2,15,16,18)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=GGXKWVWZWMLJEH-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1330, "identifier": "C0850149", "identifier_type": "str", "name": "Dry cough", "properties": { "url": "http://identifiers.org/umls/C0850149", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1331, "identifier": "4916", "identifier_type": "int", "name": "NTRK3", "properties": { "url": "http://identifiers.org/ncbigene/4916", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "neurotrophic tyrosine kinase, receptor, type 3" }, "metanode": "Gene" }, { "id": 1332, "identifier": "54938", "identifier_type": "int", "name": "SARS2", "properties": { "url": "http://identifiers.org/ncbigene/54938", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "seryl-tRNA synthetase 2, mitochondrial" }, "metanode": "Gene" }, { "id": 1333, "identifier": "GO:0007435", "identifier_type": "str", "name": "salivary gland morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007435", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1334, "identifier": "GO:2001070", "identifier_type": "str", "name": "starch binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2001070", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1335, "identifier": "3572", "identifier_type": "int", "name": "IL6ST", "properties": { "url": "http://identifiers.org/ncbigene/3572", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "interleukin 6 signal transducer" }, "metanode": "Gene" }, { "id": 1336, "identifier": "23011", "identifier_type": "int", "name": "RAB21", "properties": { "url": "http://identifiers.org/ncbigene/23011", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "RAB21, member RAS oncogene family" }, "metanode": "Gene" }, { "id": 1337, "identifier": "400713", "identifier_type": "int", "name": "ZNF880", "properties": { "url": "http://identifiers.org/ncbigene/400713", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 880" }, "metanode": "Gene" }, { "id": 1338, "identifier": "GO:0001076", "identifier_type": "str", "name": "transcription factor activity, RNA polymerase II transcription factor binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001076", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1339, "identifier": "105369191", "identifier_type": "int", "name": "LOC105369191", "properties": { "url": "http://identifiers.org/ncbigene/105369191", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "uncharacterized LOC105369191" }, "metanode": "Gene" }, { "id": 1340, "identifier": "GO:0043008", "identifier_type": "str", "name": "ATP-dependent protein binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043008", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1341, "identifier": "GO:0015129", "identifier_type": "str", "name": "lactate transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015129", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1342, "identifier": "55892", "identifier_type": "int", "name": "MYNN", "properties": { "url": "http://identifiers.org/ncbigene/55892", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "myoneurin" }, "metanode": "Gene" }, { "id": 1343, "identifier": "64399", "identifier_type": "int", "name": "HHIP", "properties": { "url": "http://identifiers.org/ncbigene/64399", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "hedgehog interacting protein" }, "metanode": "Gene" }, { "id": 1344, "identifier": "GO:0016167", "identifier_type": "str", "name": "glial cell-derived neurotrophic factor receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016167", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1345, "identifier": "C0856108", "identifier_type": "str", "name": "Hypercholesterolemia aggravated", "properties": { "url": "http://identifiers.org/umls/C0856108", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1346, "identifier": "4114", "identifier_type": "int", "name": "MAGEB3", "properties": { "url": "http://identifiers.org/ncbigene/4114", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "melanoma antigen family B3" }, "metanode": "Gene" }, { "id": 1347, "identifier": "GO:1901214", "identifier_type": "str", "name": "regulation of neuron death", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901214", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "