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=1875
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1900", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1850", "results": [ { "id": 1871, "identifier": "55573", "identifier_type": "int", "name": "CDV3", "properties": { "url": "http://identifiers.org/ncbigene/55573", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "CDV3 homolog (mouse)" }, "metanode": "Gene" }, { "id": 1872, "identifier": "64320", "identifier_type": "int", "name": "RNF25", "properties": { "url": "http://identifiers.org/ncbigene/64320", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "ring finger protein 25" }, "metanode": "Gene" }, { "id": 1873, "identifier": "29785", "identifier_type": "int", "name": "CYP2S1", "properties": { "url": "http://identifiers.org/ncbigene/29785", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "cytochrome P450, family 2, subfamily S, polypeptide 1" }, "metanode": "Gene" }, { "id": 1874, "identifier": "102723996", "identifier_type": "int", "name": "LOC102723996", "properties": { "url": "http://identifiers.org/ncbigene/102723996", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "21", "description": "ICOS ligand" }, "metanode": "Gene" }, { "id": 1875, "identifier": "GO:0046649", "identifier_type": "str", "name": "lymphocyte activation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046649", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1876, "identifier": "PC7_968", "identifier_type": "str", "name": "ABCA transporters in lipid homeostasis", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1877, "identifier": "494115", "identifier_type": "int", "name": "RBMXL1", "properties": { "url": "http://identifiers.org/ncbigene/494115", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "RNA binding motif protein, X-linked-like 1" }, "metanode": "Gene" }, { "id": 1878, "identifier": "150921", "identifier_type": "int", "name": "TCF23", "properties": { "url": "http://identifiers.org/ncbigene/150921", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "transcription factor 23" }, "metanode": "Gene" }, { "id": 1879, "identifier": "552900", "identifier_type": "int", "name": "BOLA2", "properties": { "url": "http://identifiers.org/ncbigene/552900", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "bolA family member 2" }, "metanode": "Gene" }, { "id": 1880, "identifier": "383", "identifier_type": "int", "name": "ARG1", "properties": { "url": "http://identifiers.org/ncbigene/383", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "arginase 1" }, "metanode": "Gene" }, { "id": 1881, "identifier": "8874", "identifier_type": "int", "name": "ARHGEF7", "properties": { "url": "http://identifiers.org/ncbigene/8874", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "Rho guanine nucleotide exchange factor (GEF) 7" }, "metanode": "Gene" }, { "id": 1882, "identifier": "GO:1902966", "identifier_type": "str", "name": "positive regulation of protein localization to early endosome", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902966", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1883, "identifier": "81575", "identifier_type": "int", "name": "APOLD1", "properties": { "url": "http://identifiers.org/ncbigene/81575", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "apolipoprotein L domain containing 1" }, "metanode": "Gene" }, { "id": 1884, "identifier": "C0270611", "identifier_type": "str", "name": "Brain injury", "properties": { "url": "http://identifiers.org/umls/C0270611", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1885, "identifier": "GO:0034763", "identifier_type": "str", "name": "negative regulation of transmembrane transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034763", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1886, "identifier": "83591", "identifier_type": "int", "name": "THAP2", "properties": { "url": "http://identifiers.org/ncbigene/83591", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "THAP domain containing, apoptosis associated protein 2" }, "metanode": "Gene" }, { "id": 1887, "identifier": "79932", "identifier_type": "int", "name": "KIAA0319L", "properties": { "url": "http://identifiers.org/ncbigene/79932", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "KIAA0319-like" }, "metanode": "Gene" }, { "id": 1888, "identifier": "100129399", "identifier_type": "int", "name": "LOC100129399", "properties": { "url": "http://identifiers.org/ncbigene/100129399", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "uncharacterized LOC100129399" }, "metanode": "Gene" }, { "id": 1889, "identifier": "5161", "identifier_type": "int", "name": "PDHA2", "properties": { "url": "http://identifiers.org/ncbigene/5161", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "pyruvate dehydrogenase (lipoamide) alpha 2" }, "metanode": "Gene" }, { "id": 1890, "identifier": "55199", "identifier_type": "int", "name": "FAM86C1", "properties": { "url": "http://identifiers.org/ncbigene/55199", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "family with sequence similarity 86, member C1" }, "metanode": "Gene" }, { "id": 1891, "identifier": "GO:0072546", "identifier_type": "str", "name": "ER membrane protein complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072546", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1892, "identifier": "GO:0007422", "identifier_type": "str", "name": "peripheral nervous system development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007422", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1893, "identifier": "196051", "identifier_type": "int", "name": "PPAPDC1A", "properties": { "url": "http://identifiers.org/ncbigene/196051", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "phosphatidic acid phosphatase type 2 domain containing 1A" }, "metanode": "Gene" }, { "id": 1894, "identifier": "23256", "identifier_type": "int", "name": "SCFD1", "properties": { "url": "http://identifiers.org/ncbigene/23256", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "sec1 family domain containing 1" }, "metanode": "Gene" }, { "id": 1895, "identifier": "DB00621", "identifier_type": "str", "name": "Oxandrolone", "properties": { "url": "http://www.drugbank.ca/drugs/DB00621", "inchi": "InChI=1S/C19H30O3/c1-17-11-22-16(20)10-12(17)4-5-13-14(17)6-8-18(2)15(13)7-9-19(18,3)21/h12-15,21H,4-11H2,1-3H3/t12-,13+,14-,15-,17-,18-,19-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=QSLJIVKCVHQPLV-PEMPUTJUSA-N" }, "metanode": "Compound" } ] }{ "count": 47031, "next": "