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=425
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=450", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=400", "results": [ { "id": 425, "identifier": "GO:0033391", "identifier_type": "str", "name": "chromatoid body", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033391", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 426, "identifier": "GO:0009162", "identifier_type": "str", "name": "deoxyribonucleoside monophosphate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009162", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 427, "identifier": "GO:0034595", "identifier_type": "str", "name": "phosphatidylinositol phosphate 5-phosphatase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034595", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 428, "identifier": "136647", "identifier_type": "int", "name": "MPLKIP", "properties": { "url": "http://identifiers.org/ncbigene/136647", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "M-phase specific PLK1 interacting protein" }, "metanode": "Gene" }, { "id": 429, "identifier": "51373", "identifier_type": "int", "name": "MRPS17", "properties": { "url": "http://identifiers.org/ncbigene/51373", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "mitochondrial ribosomal protein S17" }, "metanode": "Gene" }, { "id": 430, "identifier": "23542", "identifier_type": "int", "name": "MAPK8IP2", "properties": { "url": "http://identifiers.org/ncbigene/23542", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "mitogen-activated protein kinase 8 interacting protein 2" }, "metanode": "Gene" }, { "id": 431, "identifier": "GO:0098827", "identifier_type": "str", "name": "endoplasmic reticulum subcompartment", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0098827", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 432, "identifier": "8028", "identifier_type": "int", "name": "MLLT10", "properties": { "url": "http://identifiers.org/ncbigene/8028", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "myeloid/lymphoid or mixed-lineage leukemia (trithorax homolog, Drosophila); translocated to, 10" }, "metanode": "Gene" }, { "id": 433, "identifier": "84254", "identifier_type": "int", "name": "CAMKK1", "properties": { "url": "http://identifiers.org/ncbigene/84254", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "calcium/calmodulin-dependent protein kinase kinase 1, alpha" }, "metanode": "Gene" }, { "id": 434, "identifier": "114794", "identifier_type": "int", "name": "ELFN2", "properties": { "url": "http://identifiers.org/ncbigene/114794", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "extracellular leucine-rich repeat and fibronectin type III domain containing 2" }, "metanode": "Gene" }, { "id": 435, "identifier": "647589", "identifier_type": "int", "name": "ANHX", "properties": { "url": "http://identifiers.org/ncbigene/647589", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "anomalous homeobox" }, "metanode": "Gene" }, { "id": 436, "identifier": "6385", "identifier_type": "int", "name": "SDC4", "properties": { "url": "http://identifiers.org/ncbigene/6385", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "syndecan 4" }, "metanode": "Gene" }, { "id": 437, "identifier": "C0276684", "identifier_type": "str", "name": "Balanitis candida", "properties": { "url": "http://identifiers.org/umls/C0276684", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 438, "identifier": "GO:0030825", "identifier_type": "str", "name": "positive regulation of cGMP metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030825", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 439, "identifier": "94101", "identifier_type": "int", "name": "ORMDL1", "properties": { "url": "http://identifiers.org/ncbigene/94101", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "ORMDL sphingolipid biosynthesis regulator 1" }, "metanode": "Gene" }, { "id": 440, "identifier": "731220", "identifier_type": "int", "name": "RFX8", "properties": { "url": "http://identifiers.org/ncbigene/731220", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "RFX family member 8, lacking RFX DNA binding domain" }, "metanode": "Gene" }, { "id": 441, "identifier": "GO:0006398", "identifier_type": "str", "name": "mRNA 3'-end processing by stem-loop binding and cleavage", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006398", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 442, "identifier": "GO:0000803", "identifier_type": "str", "name": "sex chromosome", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000803", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 443, "identifier": "9724", "identifier_type": "int", "name": "UTP14C", "properties": { "url": "http://identifiers.org/ncbigene/9724", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "UTP14, U3 small nucleolar ribonucleoprotein, homolog C (yeast)" }, "metanode": "Gene" }, { "id": 444, "identifier": "GO:0060923", "identifier_type": "str", "name": "cardiac muscle cell fate commitment", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060923", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 445, "identifier": "GO:0051004", "identifier_type": "str", "name": "regulation of lipoprotein lipase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051004", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 446, "identifier": "GO:0018879", "identifier_type": "str", "name": "biphenyl metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0018879", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 447, "identifier": "GO:0060221", "identifier_type": "str", "name": "retinal rod cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060221", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 448, "identifier": "3558", "identifier_type": "int", "name": "IL2", "properties": { "url": "http://identifiers.org/ncbigene/3558", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "interleukin 2" }, "metanode": "Gene" }, { "id": 449, "identifier": "D014474", "identifier_type": "str", "name": "Unconsciousness", "properties": { "url": "http://identifiers.org/mesh/D014474", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" } ] }{ "count": 47031, "next": "