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=45950
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45975", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45925", "results": [ { "id": 45948, "identifier": "123263", "identifier_type": "int", "name": "MTFMT", "properties": { "url": "http://identifiers.org/ncbigene/123263", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "mitochondrial methionyl-tRNA formyltransferase" }, "metanode": "Gene" }, { "id": 45949, "identifier": "PC7_8764", "identifier_type": "str", "name": "Vpr-mediated induction of apoptosis by mitochondrial outer membrane permeabilization", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 45950, "identifier": "WP558_r79680", "identifier_type": "str", "name": "Complement and Coagulation Cascades", "properties": { "url": "http://www.wikipathways.org/instance/WP558_r79680", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 45951, "identifier": "56113", "identifier_type": "int", "name": "PCDHGA2", "properties": { "url": "http://identifiers.org/ncbigene/56113", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "protocadherin gamma subfamily A, 2" }, "metanode": "Gene" }, { "id": 45952, "identifier": "GO:0004465", "identifier_type": "str", "name": "lipoprotein lipase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004465", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45953, "identifier": "102724536", "identifier_type": "int", "name": "PRR33", "properties": { "url": "http://identifiers.org/ncbigene/102724536", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "proline rich 33" }, "metanode": "Gene" }, { "id": 45954, "identifier": "100526740", "identifier_type": "int", "name": "ATP5J2-PTCD1", "properties": { "url": "http://identifiers.org/ncbigene/100526740", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "ATP5J2-PTCD1 readthrough" }, "metanode": "Gene" }, { "id": 45955, "identifier": "795", "identifier_type": "int", "name": "S100G", "properties": { "url": "http://identifiers.org/ncbigene/795", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "S100 calcium binding protein G" }, "metanode": "Gene" }, { "id": 45956, "identifier": "127062", "identifier_type": "int", "name": "OR2M3", "properties": { "url": "http://identifiers.org/ncbigene/127062", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "olfactory receptor, family 2, subfamily M, member 3" }, "metanode": "Gene" }, { "id": 45957, "identifier": "GO:0032994", "identifier_type": "str", "name": "protein-lipid complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032994", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45958, "identifier": "3248", "identifier_type": "int", "name": "HPGD", "properties": { "url": "http://identifiers.org/ncbigene/3248", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "hydroxyprostaglandin dehydrogenase 15-(NAD)" }, "metanode": "Gene" }, { "id": 45959, "identifier": "GO:0046416", "identifier_type": "str", "name": "D-amino acid metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046416", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45960, "identifier": "GO:0001842", "identifier_type": "str", "name": "neural fold formation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001842", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45961, "identifier": "29850", "identifier_type": "int", "name": "TRPM5", "properties": { "url": "http://identifiers.org/ncbigene/29850", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "transient receptor potential cation channel, subfamily M, member 5" }, "metanode": "Gene" }, { "id": 45962, "identifier": "10240", "identifier_type": "int", "name": "MRPS31", "properties": { "url": "http://identifiers.org/ncbigene/10240", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "mitochondrial ribosomal protein S31" }, "metanode": "Gene" }, { "id": 45963, "identifier": "51643", "identifier_type": "int", "name": "TMBIM4", "properties": { "url": "http://identifiers.org/ncbigene/51643", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "transmembrane BAX inhibitor motif containing 4" }, "metanode": "Gene" }, { "id": 45964, "identifier": "GO:0032733", "identifier_type": "str", "name": "positive regulation of interleukin-10 production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032733", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45965, "identifier": "GO:0097350", "identifier_type": "str", "name": "neutrophil clearance", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0097350", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45968, "identifier": "GO:0000733", "identifier_type": "str", "name": "DNA strand renaturation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000733", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45969, "identifier": "C1535948", "identifier_type": "str", "name": "Retinal aneurysm", "properties": { "url": "http://identifiers.org/umls/C1535948", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45970, "identifier": "C0853755", "identifier_type": "str", "name": "Blood osmolarity decreased", "properties": { "url": "http://identifiers.org/umls/C0853755", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45971, "identifier": "GO:0005989", "identifier_type": "str", "name": "lactose biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005989", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45972, "identifier": "84524", "identifier_type": "int", "name": "ZC3H8", "properties": { "url": "http://identifiers.org/ncbigene/84524", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "zinc finger CCCH-type containing 8" }, "metanode": "Gene" }, { "id": 45973, "identifier": "C0017601", "identifier_type": "str", "name": "Glaucoma", "properties": { "url": "http://identifiers.org/umls/C0017601", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45974, "identifier": "GO:0098735", "identifier_type": "str", "name": "positive regulation of the force of heart contraction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0098735", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "