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=46150
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46175", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46125", "results": [ { "id": 46149, "identifier": "55959", "identifier_type": "int", "name": "SULF2", "properties": { "url": "http://identifiers.org/ncbigene/55959", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "sulfatase 2" }, "metanode": "Gene" }, { "id": 46150, "identifier": "GO:0070303", "identifier_type": "str", "name": "negative regulation of stress-activated protein kinase signaling cascade", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070303", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46151, "identifier": "753", "identifier_type": "int", "name": "LDLRAD4", "properties": { "url": "http://identifiers.org/ncbigene/753", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "low density lipoprotein receptor class A domain containing 4" }, "metanode": "Gene" }, { "id": 46152, "identifier": "9260", "identifier_type": "int", "name": "PDLIM7", "properties": { "url": "http://identifiers.org/ncbigene/9260", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "PDZ and LIM domain 7 (enigma)" }, "metanode": "Gene" }, { "id": 46153, "identifier": "D020919", "identifier_type": "str", "name": "Sleep Disorders, Intrinsic", "properties": { "url": "http://identifiers.org/mesh/D020919", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 46154, "identifier": "C0034902", "identifier_type": "str", "name": "Aplasia pure red cell", "properties": { "url": "http://identifiers.org/umls/C0034902", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46155, "identifier": "158427", "identifier_type": "int", "name": "TSTD2", "properties": { "url": "http://identifiers.org/ncbigene/158427", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "thiosulfate sulfurtransferase (rhodanese)-like domain containing 2" }, "metanode": "Gene" }, { "id": 46156, "identifier": "3094", "identifier_type": "int", "name": "HINT1", "properties": { "url": "http://identifiers.org/ncbigene/3094", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "histidine triad nucleotide binding protein 1" }, "metanode": "Gene" }, { "id": 46157, "identifier": "57655", "identifier_type": "int", "name": "GRAMD1A", "properties": { "url": "http://identifiers.org/ncbigene/57655", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "GRAM domain containing 1A" }, "metanode": "Gene" }, { "id": 46158, "identifier": "GO:0042693", "identifier_type": "str", "name": "muscle cell fate commitment", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042693", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46159, "identifier": "GO:0006863", "identifier_type": "str", "name": "purine nucleobase transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006863", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46160, "identifier": "WP2446_r84651", "identifier_type": "str", "name": "Retinoblastoma (RB) in Cancer", "properties": { "url": "http://www.wikipathways.org/instance/WP2446_r84651", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 46161, "identifier": "130340", "identifier_type": "int", "name": "AP1S3", "properties": { "url": "http://identifiers.org/ncbigene/130340", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "adaptor-related protein complex 1, sigma 3 subunit" }, "metanode": "Gene" }, { "id": 46162, "identifier": "5547", "identifier_type": "int", "name": "PRCP", "properties": { "url": "http://identifiers.org/ncbigene/5547", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "prolylcarboxypeptidase (angiotensinase C)" }, "metanode": "Gene" }, { "id": 46163, "identifier": "GO:0019829", "identifier_type": "str", "name": "cation-transporting ATPase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019829", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46164, "identifier": "51473", "identifier_type": "int", "name": "DCDC2", "properties": { "url": "http://identifiers.org/ncbigene/51473", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "doublecortin domain containing 2" }, "metanode": "Gene" }, { "id": 46165, "identifier": "GO:0002016", "identifier_type": "str", "name": "regulation of blood volume by renin-angiotensin", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002016", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46166, "identifier": "GO:1902913", "identifier_type": "str", "name": "positive regulation of neuroepithelial cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902913", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46167, "identifier": "GO:0032444", "identifier_type": "str", "name": "activin responsive factor complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032444", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 46168, "identifier": "GO:0008131", "identifier_type": "str", "name": "primary amine oxidase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0008131", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46169, "identifier": "C0438235", "identifier_type": "str", "name": "Liver function test normal", "properties": { "url": "http://identifiers.org/umls/C0438235", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46170, "identifier": "GO:0047631", "identifier_type": "str", "name": "ADP-ribose diphosphatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0047631", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46171, "identifier": "53942", "identifier_type": "int", "name": "CNTN5", "properties": { "url": "http://identifiers.org/ncbigene/53942", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "contactin 5" }, "metanode": "Gene" }, { "id": 46172, "identifier": "C0152427", "identifier_type": "str", "name": "Polydactyly", "properties": { "url": "http://identifiers.org/umls/C0152427", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46173, "identifier": "PC7_5788", "identifier_type": "str", "name": "NOTCH2 Activation and Transmission of Signal to the Nucleus", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" } ] }{ "count": 47031, "next": "