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=1550
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1575", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1525", "results": [ { "id": 1546, "identifier": "GO:0070878", "identifier_type": "str", "name": "primary miRNA binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070878", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1547, "identifier": "276", "identifier_type": "int", "name": "AMY1A", "properties": { "url": "http://identifiers.org/ncbigene/276", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "amylase, alpha 1A (salivary)" }, "metanode": "Gene" }, { "id": 1548, "identifier": "9039", "identifier_type": "int", "name": "UBA3", "properties": { "url": "http://identifiers.org/ncbigene/9039", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "ubiquitin-like modifier activating enzyme 3" }, "metanode": "Gene" }, { "id": 1549, "identifier": "DB04930", "identifier_type": "str", "name": "Permethrin", "properties": { "url": "http://www.drugbank.ca/drugs/DB04930", "inchi": "InChI=1S/C21H20Cl2O3/c1-21(2)17(12-18(22)23)19(21)20(24)25-13-14-7-6-10-16(11-14)26-15-8-4-3-5-9-15/h3-12,17,19H,13H2,1-2H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=RLLPVAHGXHCWKJ-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1550, "identifier": "284611", "identifier_type": "int", "name": "FAM102B", "properties": { "url": "http://identifiers.org/ncbigene/284611", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "family with sequence similarity 102, member B" }, "metanode": "Gene" }, { "id": 1551, "identifier": "27006", "identifier_type": "int", "name": "FGF22", "properties": { "url": "http://identifiers.org/ncbigene/27006", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "fibroblast growth factor 22" }, "metanode": "Gene" }, { "id": 1552, "identifier": "2729", "identifier_type": "int", "name": "GCLC", "properties": { "url": "http://identifiers.org/ncbigene/2729", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "glutamate-cysteine ligase, catalytic subunit" }, "metanode": "Gene" }, { "id": 1553, "identifier": "C0271710", "identifier_type": "str", "name": "Hypoglycemic reaction", "properties": { "url": "http://identifiers.org/umls/C0271710", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1554, "identifier": "57418", "identifier_type": "int", "name": "WDR18", "properties": { "url": "http://identifiers.org/ncbigene/57418", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "WD repeat domain 18" }, "metanode": "Gene" }, { "id": 1555, "identifier": "2323", "identifier_type": "int", "name": "FLT3LG", "properties": { "url": "http://identifiers.org/ncbigene/2323", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "fms-related tyrosine kinase 3 ligand" }, "metanode": "Gene" }, { "id": 1556, "identifier": "GO:0005452", "identifier_type": "str", "name": "inorganic anion exchanger activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005452", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1557, "identifier": "GO:0042113", "identifier_type": "str", "name": "B cell activation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042113", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1558, "identifier": "GO:0021603", "identifier_type": "str", "name": "cranial nerve formation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021603", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1559, "identifier": "55220", "identifier_type": "int", "name": "KLHDC8A", "properties": { "url": "http://identifiers.org/ncbigene/55220", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "kelch domain containing 8A" }, "metanode": "Gene" }, { "id": 1560, "identifier": "GO:0016575", "identifier_type": "str", "name": "histone deacetylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016575", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1561, "identifier": "GO:0035174", "identifier_type": "str", "name": "histone serine kinase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035174", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1562, "identifier": "23293", "identifier_type": "int", "name": "SMG6", "properties": { "url": "http://identifiers.org/ncbigene/23293", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "SMG6 nonsense mediated mRNA decay factor" }, "metanode": "Gene" }, { "id": 1563, "identifier": "7779", "identifier_type": "int", "name": "SLC30A1", "properties": { "url": "http://identifiers.org/ncbigene/7779", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "solute carrier family 30 (zinc transporter), member 1" }, "metanode": "Gene" }, { "id": 1564, "identifier": "C0021775", "identifier_type": "str", "name": "Intermittent claudication", "properties": { "url": "http://identifiers.org/umls/C0021775", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1565, "identifier": "GO:0071541", "identifier_type": "str", "name": "eukaryotic translation initiation factor 3 complex, eIF3m", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071541", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1566, "identifier": "100130988", "identifier_type": "int", "name": "C7orf72", "properties": { "url": "http://identifiers.org/ncbigene/100130988", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "chromosome 7 open reading frame 72" }, "metanode": "Gene" }, { "id": 1567, "identifier": "149069", "identifier_type": "int", "name": "DCDC2B", "properties": { "url": "http://identifiers.org/ncbigene/149069", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "doublecortin domain containing 2B" }, "metanode": "Gene" }, { "id": 1568, "identifier": "GO:0016878", "identifier_type": "str", "name": "acid-thiol ligase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016878", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1569, "identifier": "DB00421", "identifier_type": "str", "name": "Spironolactone", "properties": { "url": "http://www.drugbank.ca/drugs/DB00421", "inchi": "InChI=1S/C24H32O4S/c1-14(25)29-19-13-15-12-16(26)4-8-22(15,2)17-5-9-23(3)18(21(17)19)6-10-24(23)11-7-20(27)28-24/h12,17-19,21H,4-11,13H2,1-3H3/t17-,18-,19+,21+,22-,23-,24+/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=LXMSZDCAJNLERA-ZHYRCANASA-N" }, "metanode": "Compound" }, { "id": 1570, "identifier": "DB08847", "identifier_type": "str", "name": "Hydroxyproline", "properties": { "url": "http://www.drugbank.ca/drugs/DB08847", "inchi": "InChI=1/C5H9NO3/c7-3-1-4(5(8)9)6-2-3/h3-4,6-7H,1-2H2,(H,8,9)/t3-,4?/s2", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=PMMYEEVYMWASQN-ACHLYQRRNA-N" }, "metanode": "Compound" } ] }{ "count": 47031, "next": "