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=150
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=175", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=125", "results": [ { "id": 149, "identifier": "10197", "identifier_type": "int", "name": "PSME3", "properties": { "url": "http://identifiers.org/ncbigene/10197", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "proteasome (prosome, macropain) activator subunit 3 (PA28 gamma; Ki)" }, "metanode": "Gene" }, { "id": 150, "identifier": "652968", "identifier_type": "int", "name": "GATSL3", "properties": { "url": "http://identifiers.org/ncbigene/652968", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "GATS protein-like 3" }, "metanode": "Gene" }, { "id": 151, "identifier": "3903", "identifier_type": "int", "name": "LAIR1", "properties": { "url": "http://identifiers.org/ncbigene/3903", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "leukocyte-associated immunoglobulin-like receptor 1" }, "metanode": "Gene" }, { "id": 152, "identifier": "8554", "identifier_type": "int", "name": "PIAS1", "properties": { "url": "http://identifiers.org/ncbigene/8554", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "protein inhibitor of activated STAT, 1" }, "metanode": "Gene" }, { "id": 153, "identifier": "GO:0032357", "identifier_type": "str", "name": "oxidized purine DNA binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032357", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 154, "identifier": "GO:0019958", "identifier_type": "str", "name": "C-X-C chemokine binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019958", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 155, "identifier": "GO:0021836", "identifier_type": "str", "name": "chemorepulsion involved in postnatal olfactory bulb interneuron migration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021836", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 156, "identifier": "PC7_6569", "identifier_type": "str", "name": "Presenilin action in Notch and Wnt signaling", "properties": { "source": "PID via Pathway Commons", "license": "CC0 1.0" }, "metanode": "Pathway" }, { "id": 157, "identifier": "GO:1904590", "identifier_type": "str", "name": "negative regulation of protein import", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904590", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 158, "identifier": "4841", "identifier_type": "int", "name": "NONO", "properties": { "url": "http://identifiers.org/ncbigene/4841", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "non-POU domain containing, octamer-binding" }, "metanode": "Gene" }, { "id": 159, "identifier": "GO:0018904", "identifier_type": "str", "name": "ether metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0018904", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 160, "identifier": "54879", "identifier_type": "int", "name": "ST7L", "properties": { "url": "http://identifiers.org/ncbigene/54879", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "suppression of tumorigenicity 7 like" }, "metanode": "Gene" }, { "id": 161, "identifier": "100132146", "identifier_type": "int", "name": "LOC100132146", "properties": { "url": "http://identifiers.org/ncbigene/100132146", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "uncharacterized LOC100132146" }, "metanode": "Gene" }, { "id": 162, "identifier": "GO:0070316", "identifier_type": "str", "name": "regulation of G0 to G1 transition", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070316", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 163, "identifier": "162515", "identifier_type": "int", "name": "SLC16A11", "properties": { "url": "http://identifiers.org/ncbigene/162515", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "solute carrier family 16, member 11" }, "metanode": "Gene" }, { "id": 164, "identifier": "7182", "identifier_type": "int", "name": "NR2C2", "properties": { "url": "http://identifiers.org/ncbigene/7182", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "nuclear receptor subfamily 2, group C, member 2" }, "metanode": "Gene" }, { "id": 165, "identifier": "C0220854", "identifier_type": "str", "name": "Hyperpnea", "properties": { "url": "http://identifiers.org/umls/C0220854", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 166, "identifier": "57332", "identifier_type": "int", "name": "CBX8", "properties": { "url": "http://identifiers.org/ncbigene/57332", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "chromobox homolog 8" }, "metanode": "Gene" }, { "id": 167, "identifier": "DB06589", "identifier_type": "str", "name": "Pazopanib", "properties": { "url": "http://www.drugbank.ca/drugs/DB06589", "inchi": "InChI=1S/C21H23N7O2S/c1-13-5-6-15(11-19(13)31(22,29)30)24-21-23-10-9-20(25-21)27(3)16-7-8-17-14(2)28(4)26-18(17)12-16/h5-12H,1-4H3,(H2,22,29,30)(H,23,24,25)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=CUIHSIWYWATEQL-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 168, "identifier": "4354", "identifier_type": "int", "name": "MPP1", "properties": { "url": "http://identifiers.org/ncbigene/4354", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "membrane protein, palmitoylated 1, 55kDa" }, "metanode": "Gene" }, { "id": 169, "identifier": "C0235031", "identifier_type": "str", "name": "Neurological symptom", "properties": { "url": "http://identifiers.org/umls/C0235031", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 170, "identifier": "388951", "identifier_type": "int", "name": "TSPYL6", "properties": { "url": "http://identifiers.org/ncbigene/388951", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "TSPY-like 6" }, "metanode": "Gene" }, { "id": 171, "identifier": "GO:1901205", "identifier_type": "str", "name": "negative regulation of adrenergic receptor signaling pathway involved in heart process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901205", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 172, "identifier": "26019", "identifier_type": "int", "name": "UPF2", "properties": { "url": "http://identifiers.org/ncbigene/26019", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "UPF2 regulator of nonsense transcripts homolog (yeast)" }, "metanode": "Gene" }, { "id": 173, "identifier": "2014", "identifier_type": "int", "name": "EMP3", "properties": { "url": "http://identifiers.org/ncbigene/2014", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "epithelial membrane protein 3" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "