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=275
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=300", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=250", "results": [ { "id": 275, "identifier": "GO:0048232", "identifier_type": "str", "name": "male gamete generation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048232", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 276, "identifier": "PC7_6939", "identifier_type": "str", "name": "Resolution of D-loop structures", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 277, "identifier": "646951", "identifier_type": "int", "name": "FAM188B2", "properties": { "url": "http://identifiers.org/ncbigene/646951", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "family with sequence similarity 188, member B2" }, "metanode": "Gene" }, { "id": 278, "identifier": "GO:0050951", "identifier_type": "str", "name": "sensory perception of temperature stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050951", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 279, "identifier": "GO:0004791", "identifier_type": "str", "name": "thioredoxin-disulfide reductase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004791", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 280, "identifier": "2521", "identifier_type": "int", "name": "FUS", "properties": { "url": "http://identifiers.org/ncbigene/2521", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "FUS RNA binding protein" }, "metanode": "Gene" }, { "id": 281, "identifier": "C0342548", "identifier_type": "str", "name": "Early menarche", "properties": { "url": "http://identifiers.org/umls/C0342548", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 282, "identifier": "100506658", "identifier_type": "int", "name": "OCLN", "properties": { "url": "http://identifiers.org/ncbigene/100506658", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "occludin" }, "metanode": "Gene" }, { "id": 283, "identifier": "29123", "identifier_type": "int", "name": "ANKRD11", "properties": { "url": "http://identifiers.org/ncbigene/29123", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "ankyrin repeat domain 11" }, "metanode": "Gene" }, { "id": 284, "identifier": "4990", "identifier_type": "int", "name": "SIX6", "properties": { "url": "http://identifiers.org/ncbigene/4990", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "SIX homeobox 6" }, "metanode": "Gene" }, { "id": 285, "identifier": "GO:0045762", "identifier_type": "str", "name": "positive regulation of adenylate cyclase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045762", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 286, "identifier": "55012", "identifier_type": "int", "name": "PPP2R3C", "properties": { "url": "http://identifiers.org/ncbigene/55012", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "protein phosphatase 2, regulatory subunit B'', gamma" }, "metanode": "Gene" }, { "id": 287, "identifier": "94059", "identifier_type": "int", "name": "LENG9", "properties": { "url": "http://identifiers.org/ncbigene/94059", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "leukocyte receptor cluster (LRC) member 9" }, "metanode": "Gene" }, { "id": 288, "identifier": "DB00318", "identifier_type": "str", "name": "Codeine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00318", "inchi": "InChI=1S/C18H21NO3/c1-19-8-7-18-11-4-5-13(20)17(18)22-16-14(21-2)6-3-10(15(16)18)9-12(11)19/h3-6,11-13,17,20H,7-9H2,1-2H3/t11-,12+,13-,17-,18-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=OROGSEYTTFOCAN-DNJOTXNNSA-N" }, "metanode": "Compound" }, { "id": 289, "identifier": "105375303", "identifier_type": "int", "name": "LOC105375303", "properties": { "url": "http://identifiers.org/ncbigene/105375303", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "uncharacterized LOC105375303" }, "metanode": "Gene" }, { "id": 290, "identifier": "22829", "identifier_type": "int", "name": "NLGN4Y", "properties": { "url": "http://identifiers.org/ncbigene/22829", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "Y", "description": "neuroligin 4, Y-linked" }, "metanode": "Gene" }, { "id": 291, "identifier": "PC7_3869", "identifier_type": "str", "name": "Factors involved in megakaryocyte development and platelet production", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 292, "identifier": "GO:0035136", "identifier_type": "str", "name": "forelimb morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035136", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 293, "identifier": "GO:0032456", "identifier_type": "str", "name": "endocytic recycling", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032456", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 294, "identifier": "389084", "identifier_type": "int", "name": "C2orf82", "properties": { "url": "http://identifiers.org/ncbigene/389084", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "chromosome 2 open reading frame 82" }, "metanode": "Gene" }, { "id": 295, "identifier": "C0853939", "identifier_type": "str", "name": "Oral mucosal discolouration", "properties": { "url": "http://identifiers.org/umls/C0853939", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 296, "identifier": "26152", "identifier_type": "int", "name": "ZNF337", "properties": { "url": "http://identifiers.org/ncbigene/26152", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "zinc finger protein 337" }, "metanode": "Gene" }, { "id": 297, "identifier": "GO:0036157", "identifier_type": "str", "name": "outer dynein arm", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0036157", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 298, "identifier": "D019462", "identifier_type": "str", "name": "Syncope, Vasovagal", "properties": { "url": "http://identifiers.org/mesh/D019462", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 299, "identifier": "GO:0045502", "identifier_type": "str", "name": "dynein binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045502", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" } ] }