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=44825
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44850", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=44800", "results": [ { "id": 44825, "identifier": "728026", "identifier_type": "int", "name": "LOC728026", "properties": { "url": "http://identifiers.org/ncbigene/728026", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "prothymosin alpha-like" }, "metanode": "Gene" }, { "id": 44826, "identifier": "C1535939", "identifier_type": "str", "name": "Pneumocystis jirovecii pneumonia", "properties": { "url": "http://identifiers.org/umls/C1535939", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44827, "identifier": "GO:0046166", "identifier_type": "str", "name": "glyceraldehyde-3-phosphate biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046166", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44828, "identifier": "GO:0008898", "identifier_type": "str", "name": "S-adenosylmethionine-homocysteine S-methyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008898", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 44829, "identifier": "2306", "identifier_type": "int", "name": "FOXD2", "properties": { "url": "http://identifiers.org/ncbigene/2306", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "forkhead box D2" }, "metanode": "Gene" }, { "id": 44830, "identifier": "10941", "identifier_type": "int", "name": "UGT2A1", "properties": { "url": "http://identifiers.org/ncbigene/10941", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "UDP glucuronosyltransferase 2 family, polypeptide A1, complex locus" }, "metanode": "Gene" }, { "id": 44831, "identifier": "GO:2000615", "identifier_type": "str", "name": "regulation of histone H3-K9 acetylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000615", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44832, "identifier": "DB06605", "identifier_type": "str", "name": "Apixaban", "properties": { "url": "http://www.drugbank.ca/drugs/DB06605", "inchi": "InChI=1S/C25H25N5O4/c1-34-19-11-9-18(10-12-19)30-23-20(22(27-30)24(26)32)13-15-29(25(23)33)17-7-5-16(6-8-17)28-14-3-2-4-21(28)31/h5-12H,2-4,13-15H2,1H3,(H2,26,32)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=QNZCBYKSOIHPEH-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 44833, "identifier": "C0026603", "identifier_type": "str", "name": "Motion sickness", "properties": { "url": "http://identifiers.org/umls/C0026603", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44834, "identifier": "GO:0005587", "identifier_type": "str", "name": "collagen type IV trimer", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005587", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 44835, "identifier": "D020920", "identifier_type": "str", "name": "Dyssomnias", "properties": { "url": "http://identifiers.org/mesh/D020920", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 44836, "identifier": "GO:0008241", "identifier_type": "str", "name": "peptidyl-dipeptidase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008241", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 44837, "identifier": "54797", "identifier_type": "int", "name": "MED18", "properties": { "url": "http://identifiers.org/ncbigene/54797", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "mediator complex subunit 18" }, "metanode": "Gene" }, { "id": 44838, "identifier": "GO:0015847", "identifier_type": "str", "name": "putrescine transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015847", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44839, "identifier": "729722", "identifier_type": "int", "name": "LOC729722", "properties": { "url": "http://identifiers.org/ncbigene/729722", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "ankyrin repeat domain-containing protein ENSP00000383090-like" }, "metanode": "Gene" }, { "id": 44840, "identifier": "C0679429", "identifier_type": "str", "name": "Platelet dysfunction", "properties": { "url": "http://identifiers.org/umls/C0679429", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 44841, "identifier": "387273", "identifier_type": "int", "name": "KRTAP5-10", "properties": { "url": "http://identifiers.org/ncbigene/387273", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "keratin associated protein 5-10" }, "metanode": "Gene" }, { "id": 44842, "identifier": "22870", "identifier_type": "int", "name": "PPP6R1", "properties": { "url": "http://identifiers.org/ncbigene/22870", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "protein phosphatase 6, regulatory subunit 1" }, "metanode": "Gene" }, { "id": 44843, "identifier": "GO:1901159", "identifier_type": "str", "name": "xylulose 5-phosphate biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901159", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44844, "identifier": "GO:1904705", "identifier_type": "str", "name": "regulation of vascular smooth muscle cell proliferation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904705", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 44845, "identifier": "WP696_r72081", "identifier_type": "str", "name": "Benzo(a)pyrene metabolism", "properties": { "url": "http://www.wikipathways.org/instance/WP696_r72081", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 44846, "identifier": "GO:0070095", "identifier_type": "str", "name": "fructose-6-phosphate binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070095", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 44847, "identifier": "GO:0000786", "identifier_type": "str", "name": "nucleosome", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000786", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 44848, "identifier": "55612", "identifier_type": "int", "name": "FERMT1", "properties": { "url": "http://identifiers.org/ncbigene/55612", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "fermitin family member 1" }, "metanode": "Gene" }, { "id": 44849, "identifier": "C0853813", "identifier_type": "str", "name": "Local reaction", "properties": { "url": "http://identifiers.org/umls/C0853813", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "