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=2300
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2325", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2275", "results": [ { "id": 2290, "identifier": "115827", "identifier_type": "int", "name": "RAB3C", "properties": { "url": "http://identifiers.org/ncbigene/115827", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "RAB3C, member RAS oncogene family" }, "metanode": "Gene" }, { "id": 2291, "identifier": "284948", "identifier_type": "int", "name": "SH2D6", "properties": { "url": "http://identifiers.org/ncbigene/284948", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "SH2 domain containing 6" }, "metanode": "Gene" }, { "id": 2292, "identifier": "GO:1900245", "identifier_type": "str", "name": "positive regulation of MDA-5 signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1900245", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2293, "identifier": "53344", "identifier_type": "int", "name": "CHIC1", "properties": { "url": "http://identifiers.org/ncbigene/53344", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "cysteine-rich hydrophobic domain 1" }, "metanode": "Gene" }, { "id": 2294, "identifier": "GO:0097421", "identifier_type": "str", "name": "liver regeneration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0097421", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2295, "identifier": "145482", "identifier_type": "int", "name": "PTGR2", "properties": { "url": "http://identifiers.org/ncbigene/145482", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "prostaglandin reductase 2" }, "metanode": "Gene" }, { "id": 2296, "identifier": "GO:0004645", "identifier_type": "str", "name": "phosphorylase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004645", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2297, "identifier": "201799", "identifier_type": "int", "name": "TMEM154", "properties": { "url": "http://identifiers.org/ncbigene/201799", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "transmembrane protein 154" }, "metanode": "Gene" }, { "id": 2298, "identifier": "105371437", "identifier_type": "int", "name": "LOC105371437", "properties": { "url": "http://identifiers.org/ncbigene/105371437", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "uncharacterized LOC105371437" }, "metanode": "Gene" }, { "id": 2299, "identifier": "GO:0002755", "identifier_type": "str", "name": "MyD88-dependent toll-like receptor signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002755", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2300, "identifier": "GO:2000242", "identifier_type": "str", "name": "negative regulation of reproductive process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000242", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2301, "identifier": "495", "identifier_type": "int", "name": "ATP4A", "properties": { "url": "http://identifiers.org/ncbigene/495", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "ATPase, H+/K+ exchanging, alpha polypeptide" }, "metanode": "Gene" }, { "id": 2302, "identifier": "8986", "identifier_type": "int", "name": "RPS6KA4", "properties": { "url": "http://identifiers.org/ncbigene/8986", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "ribosomal protein S6 kinase, 90kDa, polypeptide 4" }, "metanode": "Gene" }, { "id": 2303, "identifier": "GO:0006733", "identifier_type": "str", "name": "oxidoreduction coenzyme metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006733", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2304, "identifier": "C0085602", "identifier_type": "str", "name": "Polydipsia", "properties": { "url": "http://identifiers.org/umls/C0085602", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2305, "identifier": "643394", "identifier_type": "int", "name": "SPINK9", "properties": { "url": "http://identifiers.org/ncbigene/643394", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "serine peptidase inhibitor, Kazal type 9" }, "metanode": "Gene" }, { "id": 2306, "identifier": "2820", "identifier_type": "int", "name": "GPD2", "properties": { "url": "http://identifiers.org/ncbigene/2820", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "glycerol-3-phosphate dehydrogenase 2 (mitochondrial)" }, "metanode": "Gene" }, { "id": 2307, "identifier": "57381", "identifier_type": "int", "name": "RHOJ", "properties": { "url": "http://identifiers.org/ncbigene/57381", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "ras homolog family member J" }, "metanode": "Gene" }, { "id": 2308, "identifier": "92017", "identifier_type": "int", "name": "SNX29", "properties": { "url": "http://identifiers.org/ncbigene/92017", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "sorting nexin 29" }, "metanode": "Gene" }, { "id": 2309, "identifier": "C0024225", "identifier_type": "str", "name": "Lymphangitis", "properties": { "url": "http://identifiers.org/umls/C0024225", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2310, "identifier": "GO:0044725", "identifier_type": "str", "name": "chromatin reprogramming in the zygote", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0044725", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2311, "identifier": "160622", "identifier_type": "int", "name": "GRASP", "properties": { "url": "http://identifiers.org/ncbigene/160622", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "GRP1 (general receptor for phosphoinositides 1)-associated scaffold protein" }, "metanode": "Gene" }, { "id": 2312, "identifier": "5273", "identifier_type": "int", "name": "SERPINB10", "properties": { "url": "http://identifiers.org/ncbigene/5273", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "serpin peptidase inhibitor, clade B (ovalbumin), member 10" }, "metanode": "Gene" }, { "id": 2313, "identifier": "C0235807", "identifier_type": "str", "name": "Hair texture abnormal", "properties": { "url": "http://identifiers.org/umls/C0235807", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2314, "identifier": "116151", "identifier_type": "int", "name": "FAM210B", "properties": { "url": "http://identifiers.org/ncbigene/116151", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "family with sequence similarity 210, member B" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "