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=1700
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1725", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1675", "results": [ { "id": 1696, "identifier": "C0267841", "identifier_type": "str", "name": "Acalculous cholecystitis", "properties": { "url": "http://identifiers.org/umls/C0267841", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1697, "identifier": "C0019112", "identifier_type": "str", "name": "Haemorrhoids", "properties": { "url": "http://identifiers.org/umls/C0019112", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1698, "identifier": "130560", "identifier_type": "int", "name": "SPATA3", "properties": { "url": "http://identifiers.org/ncbigene/130560", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "spermatogenesis associated 3" }, "metanode": "Gene" }, { "id": 1699, "identifier": "GO:0070895", "identifier_type": "str", "name": "negative regulation of transposon integration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070895", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1700, "identifier": "5783", "identifier_type": "int", "name": "PTPN13", "properties": { "url": "http://identifiers.org/ncbigene/5783", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "protein tyrosine phosphatase, non-receptor type 13 (APO-1/CD95 (Fas)-associated phosphatase)" }, "metanode": "Gene" }, { "id": 1701, "identifier": "10434", "identifier_type": "int", "name": "LYPLA1", "properties": { "url": "http://identifiers.org/ncbigene/10434", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "lysophospholipase I" }, "metanode": "Gene" }, { "id": 1702, "identifier": "GO:0005686", "identifier_type": "str", "name": "U2 snRNP", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005686", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1703, "identifier": "113419", "identifier_type": "int", "name": "TEX261", "properties": { "url": "http://identifiers.org/ncbigene/113419", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "testis expressed 261" }, "metanode": "Gene" }, { "id": 1704, "identifier": "GO:0060284", "identifier_type": "str", "name": "regulation of cell development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060284", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1705, "identifier": "4140", "identifier_type": "int", "name": "MARK3", "properties": { "url": "http://identifiers.org/ncbigene/4140", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "MAP/microtubule affinity-regulating kinase 3" }, "metanode": "Gene" }, { "id": 1706, "identifier": "339855", "identifier_type": "int", "name": "KY", "properties": { "url": "http://identifiers.org/ncbigene/339855", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "kyphoscoliosis peptidase" }, "metanode": "Gene" }, { "id": 1707, "identifier": "GO:0070431", "identifier_type": "str", "name": "nucleotide-binding oligomerization domain containing 2 signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070431", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1708, "identifier": "UBERON:0002303", "identifier_type": "str", "name": "juxtaglomerular apparatus", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002303", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D007606" }, "metanode": "Anatomy" }, { "id": 1709, "identifier": "6721", "identifier_type": "int", "name": "SREBF2", "properties": { "url": "http://identifiers.org/ncbigene/6721", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "sterol regulatory element binding transcription factor 2" }, "metanode": "Gene" }, { "id": 1710, "identifier": "GO:0060338", "identifier_type": "str", "name": "regulation of type I interferon-mediated signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060338", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1711, "identifier": "GO:0042346", "identifier_type": "str", "name": "positive regulation of NF-kappaB import into nucleus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042346", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1712, "identifier": "C0855619", "identifier_type": "str", "name": "Alanine aminotransferase abnormal", "properties": { "url": "http://identifiers.org/umls/C0855619", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1713, "identifier": "1297", "identifier_type": "int", "name": "COL9A1", "properties": { "url": "http://identifiers.org/ncbigene/1297", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "collagen, type IX, alpha 1" }, "metanode": "Gene" }, { "id": 1714, "identifier": "10060", "identifier_type": "int", "name": "ABCC9", "properties": { "url": "http://identifiers.org/ncbigene/10060", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "ATP-binding cassette, sub-family C (CFTR/MRP), member 9" }, "metanode": "Gene" }, { "id": 1715, "identifier": "GO:0006435", "identifier_type": "str", "name": "threonyl-tRNA aminoacylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006435", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1716, "identifier": "GO:0051123", "identifier_type": "str", "name": "RNA polymerase II transcriptional preinitiation complex assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051123", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1717, "identifier": "340665", "identifier_type": "int", "name": "CYP26C1", "properties": { "url": "http://identifiers.org/ncbigene/340665", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "cytochrome P450, family 26, subfamily C, polypeptide 1" }, "metanode": "Gene" }, { "id": 1718, "identifier": "GO:0072507", "identifier_type": "str", "name": "divalent inorganic cation homeostasis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072507", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1719, "identifier": "3766", "identifier_type": "int", "name": "KCNJ10", "properties": { "url": "http://identifiers.org/ncbigene/3766", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "potassium channel, inwardly rectifying subfamily J, member 10" }, "metanode": "Gene" }, { "id": 1720, "identifier": "8417", "identifier_type": "int", "name": "STX7", "properties": { "url": "http://identifiers.org/ncbigene/8417", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "syntaxin 7" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "