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=875
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=900", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=850", "results": [ { "id": 874, "identifier": "C0235527", "identifier_type": "str", "name": "Cardiac failure right", "properties": { "url": "http://identifiers.org/umls/C0235527", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 875, "identifier": "GO:0001190", "identifier_type": "str", "name": "transcriptional activator activity, RNA polymerase II transcription factor binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001190", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 876, "identifier": "1653", "identifier_type": "int", "name": "DDX1", "properties": { "url": "http://identifiers.org/ncbigene/1653", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "DEAD (Asp-Glu-Ala-Asp) box helicase 1" }, "metanode": "Gene" }, { "id": 877, "identifier": "10144", "identifier_type": "int", "name": "FAM13A", "properties": { "url": "http://identifiers.org/ncbigene/10144", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "family with sequence similarity 13, member A" }, "metanode": "Gene" }, { "id": 878, "identifier": "105379587", "identifier_type": "int", "name": "LOC105379587", "properties": { "url": "http://identifiers.org/ncbigene/105379587", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "putative ubiquitin carboxyl-terminal hydrolase 17-like protein 23" }, "metanode": "Gene" }, { "id": 879, "identifier": "GO:0061183", "identifier_type": "str", "name": "regulation of dermatome development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0061183", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 880, "identifier": "3978", "identifier_type": "int", "name": "LIG1", "properties": { "url": "http://identifiers.org/ncbigene/3978", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "ligase I, DNA, ATP-dependent" }, "metanode": "Gene" }, { "id": 881, "identifier": "8645", "identifier_type": "int", "name": "KCNK5", "properties": { "url": "http://identifiers.org/ncbigene/8645", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "potassium channel, two pore domain subfamily K, member 5" }, "metanode": "Gene" }, { "id": 882, "identifier": "C0032708", "identifier_type": "str", "name": "Porphyrin metabolism disorder", "properties": { "url": "http://identifiers.org/umls/C0032708", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 883, "identifier": "GO:0042093", "identifier_type": "str", "name": "T-helper cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042093", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 884, "identifier": "C0496899", "identifier_type": "str", "name": "Brain neoplasm benign", "properties": { "url": "http://identifiers.org/umls/C0496899", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 885, "identifier": "GO:1902339", "identifier_type": "str", "name": "positive regulation of apoptotic process involved in morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902339", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 886, "identifier": "3973", "identifier_type": "int", "name": "LHCGR", "properties": { "url": "http://identifiers.org/ncbigene/3973", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "luteinizing hormone/choriogonadotropin receptor" }, "metanode": "Gene" }, { "id": 887, "identifier": "11098", "identifier_type": "int", "name": "PRSS23", "properties": { "url": "http://identifiers.org/ncbigene/11098", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "protease, serine, 23" }, "metanode": "Gene" }, { "id": 888, "identifier": "UBERON:0002361", "identifier_type": "str", "name": "pia mater", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002361", "bto_id": "BTO:0001635", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D010841" }, "metanode": "Anatomy" }, { "id": 889, "identifier": "GO:0042797", "identifier_type": "str", "name": "tRNA transcription from RNA polymerase III promoter", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042797", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 890, "identifier": "54826", "identifier_type": "int", "name": "GIN1", "properties": { "url": "http://identifiers.org/ncbigene/54826", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "gypsy retrotransposon integrase 1" }, "metanode": "Gene" }, { "id": 891, "identifier": "GO:0002864", "identifier_type": "str", "name": "regulation of acute inflammatory response to antigenic stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002864", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 892, "identifier": "GO:0060177", "identifier_type": "str", "name": "regulation of angiotensin metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060177", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 893, "identifier": "C0549410", "identifier_type": "str", "name": "Palmar-plantar erythrodysaesthesia syndrome", "properties": { "url": "http://identifiers.org/umls/C0549410", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 894, "identifier": "22899", "identifier_type": "int", "name": "ARHGEF15", "properties": { "url": "http://identifiers.org/ncbigene/22899", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "Rho guanine nucleotide exchange factor (GEF) 15" }, "metanode": "Gene" }, { "id": 895, "identifier": "7385", "identifier_type": "int", "name": "UQCRC2", "properties": { "url": "http://identifiers.org/ncbigene/7385", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "ubiquinol-cytochrome c reductase core protein II" }, "metanode": "Gene" }, { "id": 896, "identifier": "157310", "identifier_type": "int", "name": "PEBP4", "properties": { "url": "http://identifiers.org/ncbigene/157310", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "phosphatidylethanolamine-binding protein 4" }, "metanode": "Gene" }, { "id": 897, "identifier": "1961", "identifier_type": "int", "name": "EGR4", "properties": { "url": "http://identifiers.org/ncbigene/1961", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "early growth response 4" }, "metanode": "Gene" }, { "id": 898, "identifier": "55780", "identifier_type": "int", "name": "ERMARD", "properties": { "url": "http://identifiers.org/ncbigene/55780", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "ER membrane-associated RNA degradation" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "