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=46750
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46775", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46725", "results": [ { "id": 46749, "identifier": "7070", "identifier_type": "int", "name": "THY1", "properties": { "url": "http://identifiers.org/ncbigene/7070", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "Thy-1 cell surface antigen" }, "metanode": "Gene" }, { "id": 46750, "identifier": "57092", "identifier_type": "int", "name": "PCNP", "properties": { "url": "http://identifiers.org/ncbigene/57092", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "PEST proteolytic signal containing nuclear protein" }, "metanode": "Gene" }, { "id": 46751, "identifier": "118856", "identifier_type": "int", "name": "MMP21", "properties": { "url": "http://identifiers.org/ncbigene/118856", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "matrix metallopeptidase 21" }, "metanode": "Gene" }, { "id": 46752, "identifier": "GO:0005671", "identifier_type": "str", "name": "Ada2/Gcn5/Ada3 transcription activator complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005671", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46753, "identifier": "126695", "identifier_type": "int", "name": "KDF1", "properties": { "url": "http://identifiers.org/ncbigene/126695", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "keratinocyte differentiation factor 1" }, "metanode": "Gene" }, { "id": 46823, "identifier": "C0267940", "identifier_type": "str", "name": "Pancreatitis haemorrhagic", "properties": { "url": "http://identifiers.org/umls/C0267940", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46754, "identifier": "25907", "identifier_type": "int", "name": "TMEM158", "properties": { "url": "http://identifiers.org/ncbigene/25907", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "transmembrane protein 158 (gene/pseudogene)" }, "metanode": "Gene" }, { "id": 46755, "identifier": "1902", "identifier_type": "int", "name": "LPAR1", "properties": { "url": "http://identifiers.org/ncbigene/1902", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "lysophosphatidic acid receptor 1" }, "metanode": "Gene" }, { "id": 46756, "identifier": "171023", "identifier_type": "int", "name": "ASXL1", "properties": { "url": "http://identifiers.org/ncbigene/171023", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "additional sex combs like transcriptional regulator 1" }, "metanode": "Gene" }, { "id": 46757, "identifier": "1208", "identifier_type": "int", "name": "CLPS", "properties": { "url": "http://identifiers.org/ncbigene/1208", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "colipase, pancreatic" }, "metanode": "Gene" }, { "id": 46758, "identifier": "102723872", "identifier_type": "int", "name": "LOC102723872", "properties": { "url": "http://identifiers.org/ncbigene/102723872", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "putative protein FAM157B" }, "metanode": "Gene" }, { "id": 46759, "identifier": "C0221348", "identifier_type": "str", "name": "Yellow nail syndrome", "properties": { "url": "http://identifiers.org/umls/C0221348", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46760, "identifier": "GO:0016672", "identifier_type": "str", "name": "oxidoreductase activity, acting on a sulfur group of donors, quinone or similar compound as acceptor", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016672", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46761, "identifier": "131", "identifier_type": "int", "name": "ADH7", "properties": { "url": "http://identifiers.org/ncbigene/131", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "alcohol dehydrogenase 7 (class IV), mu or sigma polypeptide" }, "metanode": "Gene" }, { "id": 46762, "identifier": "8766", "identifier_type": "int", "name": "RAB11A", "properties": { "url": "http://identifiers.org/ncbigene/8766", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "RAB11A, member RAS oncogene family" }, "metanode": "Gene" }, { "id": 46763, "identifier": "C0031039", "identifier_type": "str", "name": "Pericardial effusion", "properties": { "url": "http://identifiers.org/umls/C0031039", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46764, "identifier": "GO:0072510", "identifier_type": "str", "name": "trivalent inorganic cation transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072510", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46765, "identifier": "105378193", "identifier_type": "int", "name": "LOC105378193", "properties": { "url": "http://identifiers.org/ncbigene/105378193", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "serine/arginine repetitive matrix protein 5-like" }, "metanode": "Gene" }, { "id": 46766, "identifier": "284338", "identifier_type": "int", "name": "PRR19", "properties": { "url": "http://identifiers.org/ncbigene/284338", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "proline rich 19" }, "metanode": "Gene" }, { "id": 46767, "identifier": "2584", "identifier_type": "int", "name": "GALK1", "properties": { "url": "http://identifiers.org/ncbigene/2584", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "galactokinase 1" }, "metanode": "Gene" }, { "id": 46768, "identifier": "DB08909", "identifier_type": "str", "name": "Glycerol Phenylbutyrate", "properties": { "url": "http://www.drugbank.ca/drugs/DB08909", "inchi": "InChI=1S/C33H38O6/c34-31(22-10-19-27-13-4-1-5-14-27)37-25-30(39-33(36)24-12-21-29-17-8-3-9-18-29)26-38-32(35)23-11-20-28-15-6-2-7-16-28/h1-9,13-18,30H,10-12,19-26H2", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ZSDBFLMJVAGKOU-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 46769, "identifier": "102724014", "identifier_type": "int", "name": "LOC102724014", "properties": { "url": "http://identifiers.org/ncbigene/102724014", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "spidroin-1-like" }, "metanode": "Gene" }, { "id": 46770, "identifier": "100129275", "identifier_type": "int", "name": "LOC100129275", "properties": { "url": "http://identifiers.org/ncbigene/100129275", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "uncharacterized LOC100129275" }, "metanode": "Gene" }, { "id": 46771, "identifier": "22978", "identifier_type": "int", "name": "NT5C2", "properties": { "url": "http://identifiers.org/ncbigene/22978", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "5'-nucleotidase, cytosolic II" }, "metanode": "Gene" }, { "id": 46772, "identifier": "GO:0030681", "identifier_type": "str", "name": "multimeric ribonuclease P complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030681", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" } ] }{ "count": 47031, "next": "