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=2050
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2075", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2025", "results": [ { "id": 2043, "identifier": "1404", "identifier_type": "int", "name": "HAPLN1", "properties": { "url": "http://identifiers.org/ncbigene/1404", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "hyaluronan and proteoglycan link protein 1" }, "metanode": "Gene" }, { "id": 2044, "identifier": "9911", "identifier_type": "int", "name": "TMCC2", "properties": { "url": "http://identifiers.org/ncbigene/9911", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "transmembrane and coiled-coil domain family 2" }, "metanode": "Gene" }, { "id": 2045, "identifier": "C0037926", "identifier_type": "str", "name": "Spinal cord compression", "properties": { "url": "http://identifiers.org/umls/C0037926", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2046, "identifier": "C0457798", "identifier_type": "str", "name": "Dermatitis eyelid", "properties": { "url": "http://identifiers.org/umls/C0457798", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2047, "identifier": "N0000175436", "identifier_type": "str", "name": "Neuraminidase Inhibitors", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000175436", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 2048, "identifier": "GO:0098532", "identifier_type": "str", "name": "histone H3-K27 trimethylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0098532", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2049, "identifier": "401612", "identifier_type": "int", "name": "SLC25A53", "properties": { "url": "http://identifiers.org/ncbigene/401612", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "solute carrier family 25, member 53" }, "metanode": "Gene" }, { "id": 2050, "identifier": "GO:2000275", "identifier_type": "str", "name": "regulation of oxidative phosphorylation uncoupler activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000275", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2051, "identifier": "GO:0007183", "identifier_type": "str", "name": "SMAD protein complex assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007183", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2052, "identifier": "57333", "identifier_type": "int", "name": "RCN3", "properties": { "url": "http://identifiers.org/ncbigene/57333", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "reticulocalbin 3, EF-hand calcium binding domain" }, "metanode": "Gene" }, { "id": 2053, "identifier": "C0858684", "identifier_type": "str", "name": "Telangiectasis facial", "properties": { "url": "http://identifiers.org/umls/C0858684", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2054, "identifier": "PC7_3827", "identifier_type": "str", "name": "FGFR3b ligand binding and activation", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 2055, "identifier": "GO:0003756", "identifier_type": "str", "name": "protein disulfide isomerase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003756", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2056, "identifier": "GO:0006522", "identifier_type": "str", "name": "alanine metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006522", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2057, "identifier": "GO:0033655", "identifier_type": "str", "name": "host cell cytoplasm part", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033655", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 2058, "identifier": "GO:0003164", "identifier_type": "str", "name": "His-Purkinje system development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003164", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2059, "identifier": "4683", "identifier_type": "int", "name": "NBN", "properties": { "url": "http://identifiers.org/ncbigene/4683", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "nibrin" }, "metanode": "Gene" }, { "id": 2060, "identifier": "54577", "identifier_type": "int", "name": "UGT1A7", "properties": { "url": "http://identifiers.org/ncbigene/54577", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "UDP glucuronosyltransferase 1 family, polypeptide A7" }, "metanode": "Gene" }, { "id": 2061, "identifier": "93624", "identifier_type": "int", "name": "TADA2B", "properties": { "url": "http://identifiers.org/ncbigene/93624", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "transcriptional adaptor 2B" }, "metanode": "Gene" }, { "id": 2062, "identifier": "GO:0033183", "identifier_type": "str", "name": "negative regulation of histone ubiquitination", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033183", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2063, "identifier": "7136", "identifier_type": "int", "name": "TNNI2", "properties": { "url": "http://identifiers.org/ncbigene/7136", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "troponin I type 2 (skeletal, fast)" }, "metanode": "Gene" }, { "id": 2064, "identifier": "C0025007", "identifier_type": "str", "name": "Measles", "properties": { "url": "http://identifiers.org/umls/C0025007", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2065, "identifier": "GO:0045217", "identifier_type": "str", "name": "cell-cell junction maintenance", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045217", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2066, "identifier": "338755", "identifier_type": "int", "name": "OR2AG2", "properties": { "url": "http://identifiers.org/ncbigene/338755", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 2, subfamily AG, member 2" }, "metanode": "Gene" }, { "id": 2067, "identifier": "388649", "identifier_type": "int", "name": "C1orf146", "properties": { "url": "http://identifiers.org/ncbigene/388649", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "chromosome 1 open reading frame 146" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "