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=1800
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1825", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1775", "results": [ { "id": 1796, "identifier": "GO:0042472", "identifier_type": "str", "name": "inner ear morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042472", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1797, "identifier": "23447", "identifier_type": "int", "name": "CDW93", "properties": { "url": "http://identifiers.org/ncbigene/23447", "source": "Entrez Gene", "license": "CC0 1.0", "description": "CDw93 antigen" }, "metanode": "Gene" }, { "id": 1798, "identifier": "8061", "identifier_type": "int", "name": "FOSL1", "properties": { "url": "http://identifiers.org/ncbigene/8061", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "FOS-like antigen 1" }, "metanode": "Gene" }, { "id": 1799, "identifier": "GO:0001608", "identifier_type": "str", "name": "G-protein coupled nucleotide receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001608", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1800, "identifier": "56134", "identifier_type": "int", "name": "PCDHAC2", "properties": { "url": "http://identifiers.org/ncbigene/56134", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "protocadherin alpha subfamily C, 2" }, "metanode": "Gene" }, { "id": 1801, "identifier": "84287", "identifier_type": "int", "name": "ZDHHC16", "properties": { "url": "http://identifiers.org/ncbigene/84287", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "zinc finger, DHHC-type containing 16" }, "metanode": "Gene" }, { "id": 1802, "identifier": "93034", "identifier_type": "int", "name": "NT5C1B", "properties": { "url": "http://identifiers.org/ncbigene/93034", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "5'-nucleotidase, cytosolic IB" }, "metanode": "Gene" }, { "id": 1803, "identifier": "105374278", "identifier_type": "int", "name": "LOC105374278", "properties": { "url": "http://identifiers.org/ncbigene/105374278", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "uncharacterized LOC105374278" }, "metanode": "Gene" }, { "id": 1804, "identifier": "GO:0003213", "identifier_type": "str", "name": "cardiac right atrium morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0003213", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1805, "identifier": "137362", "identifier_type": "int", "name": "GOT1L1", "properties": { "url": "http://identifiers.org/ncbigene/137362", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "glutamic-oxaloacetic transaminase 1-like 1" }, "metanode": "Gene" }, { "id": 1806, "identifier": "GO:2000768", "identifier_type": "str", "name": "positive regulation of nephron tubule epithelial cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000768", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1807, "identifier": "102724751", "identifier_type": "int", "name": "LOC102724751", "properties": { "url": "http://identifiers.org/ncbigene/102724751", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "putative BCR-like protein 2" }, "metanode": "Gene" }, { "id": 1808, "identifier": "UBERON:0000029", "identifier_type": "str", "name": "lymph node", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0000029", "bto_id": "BTO:0000784", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D008198" }, "metanode": "Anatomy" }, { "id": 1809, "identifier": "C0019193", "identifier_type": "str", "name": "Hepatitis toxic", "properties": { "url": "http://identifiers.org/umls/C0019193", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1810, "identifier": "256987", "identifier_type": "int", "name": "SERINC5", "properties": { "url": "http://identifiers.org/ncbigene/256987", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "serine incorporator 5" }, "metanode": "Gene" }, { "id": 1811, "identifier": "N0000008953", "identifier_type": "str", "name": "Decreased Striated Muscle Contraction", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000008953", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Physiologic Effect" }, "metanode": "Pharmacologic Class" }, { "id": 1812, "identifier": "GO:0015035", "identifier_type": "str", "name": "protein disulfide oxidoreductase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015035", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1813, "identifier": "1122", "identifier_type": "int", "name": "CHML", "properties": { "url": "http://identifiers.org/ncbigene/1122", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "choroideremia-like (Rab escort protein 2)" }, "metanode": "Gene" }, { "id": 1814, "identifier": "140701", "identifier_type": "int", "name": "ABHD16B", "properties": { "url": "http://identifiers.org/ncbigene/140701", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "abhydrolase domain containing 16B" }, "metanode": "Gene" }, { "id": 1815, "identifier": "51144", "identifier_type": "int", "name": "HSD17B12", "properties": { "url": "http://identifiers.org/ncbigene/51144", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "hydroxysteroid (17-beta) dehydrogenase 12" }, "metanode": "Gene" }, { "id": 1816, "identifier": "112950", "identifier_type": "int", "name": "MED8", "properties": { "url": "http://identifiers.org/ncbigene/112950", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "mediator complex subunit 8" }, "metanode": "Gene" }, { "id": 1817, "identifier": "GO:0060337", "identifier_type": "str", "name": "type I interferon signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060337", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1818, "identifier": "119749", "identifier_type": "int", "name": "OR4C46", "properties": { "url": "http://identifiers.org/ncbigene/119749", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 4, subfamily C, member 46" }, "metanode": "Gene" }, { "id": 1819, "identifier": "GO:0046077", "identifier_type": "str", "name": "dUDP metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046077", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1820, "identifier": "GO:0021840", "identifier_type": "str", "name": "directional guidance of interneurons involved in migration from the subpallium to the cortex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021840", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "