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=100
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=125", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=75", "results": [ { "id": 99, "identifier": "DB00246", "identifier_type": "str", "name": "Ziprasidone", "properties": { "url": "http://www.drugbank.ca/drugs/DB00246", "inchi": "InChI=1S/C21H21ClN4OS/c22-17-13-18-15(12-20(27)23-18)11-14(17)5-6-25-7-9-26(10-8-25)21-16-3-1-2-4-19(16)28-24-21/h1-4,11,13H,5-10,12H2,(H,23,27)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=MVWVFYHBGMAFLY-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 100, "identifier": "5596", "identifier_type": "int", "name": "MAPK4", "properties": { "url": "http://identifiers.org/ncbigene/5596", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "mitogen-activated protein kinase 4" }, "metanode": "Gene" }, { "id": 101, "identifier": "51522", "identifier_type": "int", "name": "TMEM14C", "properties": { "url": "http://identifiers.org/ncbigene/51522", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "transmembrane protein 14C" }, "metanode": "Gene" }, { "id": 102, "identifier": "GO:0036457", "identifier_type": "str", "name": "keratohyalin granule", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0036457", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 103, "identifier": "C0948779", "identifier_type": "str", "name": "Gastrointestinal hypomotility", "properties": { "url": "http://identifiers.org/umls/C0948779", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 104, "identifier": "3656", "identifier_type": "int", "name": "IRAK2", "properties": { "url": "http://identifiers.org/ncbigene/3656", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "interleukin-1 receptor-associated kinase 2" }, "metanode": "Gene" }, { "id": 105, "identifier": "23435", "identifier_type": "int", "name": "TARDBP", "properties": { "url": "http://identifiers.org/ncbigene/23435", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "TAR DNA binding protein" }, "metanode": "Gene" }, { "id": 106, "identifier": "GO:0001300", "identifier_type": "str", "name": "chronological cell aging", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001300", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 107, "identifier": "401265", "identifier_type": "int", "name": "KLHL31", "properties": { "url": "http://identifiers.org/ncbigene/401265", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "kelch-like family member 31" }, "metanode": "Gene" }, { "id": 108, "identifier": "GO:0002764", "identifier_type": "str", "name": "immune response-regulating signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002764", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 109, "identifier": "C0858678", "identifier_type": "str", "name": "Alopecia reversible", "properties": { "url": "http://identifiers.org/umls/C0858678", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 110, "identifier": "84275", "identifier_type": "int", "name": "SLC25A33", "properties": { "url": "http://identifiers.org/ncbigene/84275", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "solute carrier family 25 (pyrimidine nucleotide carrier), member 33" }, "metanode": "Gene" }, { "id": 111, "identifier": "GO:0009220", "identifier_type": "str", "name": "pyrimidine ribonucleotide biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009220", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 112, "identifier": "254394", "identifier_type": "int", "name": "MCM9", "properties": { "url": "http://identifiers.org/ncbigene/254394", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "minichromosome maintenance complex component 9" }, "metanode": "Gene" }, { "id": 113, "identifier": "C0221228", "identifier_type": "str", "name": "Comedone", "properties": { "url": "http://identifiers.org/umls/C0221228", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 114, "identifier": "6294", "identifier_type": "int", "name": "SAFB", "properties": { "url": "http://identifiers.org/ncbigene/6294", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "scaffold attachment factor B" }, "metanode": "Gene" }, { "id": 115, "identifier": "GO:0005759", "identifier_type": "str", "name": "mitochondrial matrix", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005759", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 116, "identifier": "64951", "identifier_type": "int", "name": "MRPS24", "properties": { "url": "http://identifiers.org/ncbigene/64951", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "mitochondrial ribosomal protein S24" }, "metanode": "Gene" }, { "id": 117, "identifier": "GO:0006650", "identifier_type": "str", "name": "glycerophospholipid metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006650", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 118, "identifier": "GO:0048027", "identifier_type": "str", "name": "mRNA 5'-UTR binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048027", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 119, "identifier": "117156", "identifier_type": "int", "name": "SCGB3A2", "properties": { "url": "http://identifiers.org/ncbigene/117156", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "secretoglobin, family 3A, member 2" }, "metanode": "Gene" }, { "id": 120, "identifier": "125919", "identifier_type": "int", "name": "ZNF543", "properties": { "url": "http://identifiers.org/ncbigene/125919", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "zinc finger protein 543" }, "metanode": "Gene" }, { "id": 121, "identifier": "GO:0032650", "identifier_type": "str", "name": "regulation of interleukin-1 alpha production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032650", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 122, "identifier": "GO:0046870", "identifier_type": "str", "name": "cadmium ion binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046870", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 123, "identifier": "9617", "identifier_type": "int", "name": "MTRF1", "properties": { "url": "http://identifiers.org/ncbigene/9617", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "mitochondrial translational release factor 1" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "