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=1250
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1275", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1225", "results": [ { "id": 1248, "identifier": "197131", "identifier_type": "int", "name": "UBR1", "properties": { "url": "http://identifiers.org/ncbigene/197131", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "ubiquitin protein ligase E3 component n-recognin 1" }, "metanode": "Gene" }, { "id": 1249, "identifier": "444882", "identifier_type": "int", "name": "IGFL4", "properties": { "url": "http://identifiers.org/ncbigene/444882", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "IGF-like family member 4" }, "metanode": "Gene" }, { "id": 1250, "identifier": "23186", "identifier_type": "int", "name": "RCOR1", "properties": { "url": "http://identifiers.org/ncbigene/23186", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "REST corepressor 1" }, "metanode": "Gene" }, { "id": 1251, "identifier": "C0221745", "identifier_type": "str", "name": "Depression suicidal", "properties": { "url": "http://identifiers.org/umls/C0221745", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1252, "identifier": "GO:0070366", "identifier_type": "str", "name": "regulation of hepatocyte differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070366", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1253, "identifier": "100131137", "identifier_type": "int", "name": "BSPH1", "properties": { "url": "http://identifiers.org/ncbigene/100131137", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "binder of sperm protein homolog 1" }, "metanode": "Gene" }, { "id": 1254, "identifier": "GO:0090267", "identifier_type": "str", "name": "positive regulation of mitotic cell cycle spindle assembly checkpoint", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090267", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1255, "identifier": "GO:1901532", "identifier_type": "str", "name": "regulation of hematopoietic progenitor cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901532", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1256, "identifier": "GO:0045900", "identifier_type": "str", "name": "negative regulation of translational elongation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045900", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1257, "identifier": "26525", "identifier_type": "int", "name": "IL36RN", "properties": { "url": "http://identifiers.org/ncbigene/26525", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "interleukin 36 receptor antagonist" }, "metanode": "Gene" }, { "id": 1258, "identifier": "145864", "identifier_type": "int", "name": "HAPLN3", "properties": { "url": "http://identifiers.org/ncbigene/145864", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "hyaluronan and proteoglycan link protein 3" }, "metanode": "Gene" }, { "id": 1259, "identifier": "GO:1901550", "identifier_type": "str", "name": "regulation of endothelial cell development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1901550", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1260, "identifier": "GO:0045410", "identifier_type": "str", "name": "positive regulation of interleukin-6 biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045410", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1261, "identifier": "79728", "identifier_type": "int", "name": "PALB2", "properties": { "url": "http://identifiers.org/ncbigene/79728", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "partner and localizer of BRCA2" }, "metanode": "Gene" }, { "id": 1262, "identifier": "GO:0097354", "identifier_type": "str", "name": "prenylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0097354", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1263, "identifier": "GO:1904252", "identifier_type": "str", "name": "negative regulation of bile acid metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904252", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1264, "identifier": "9368", "identifier_type": "int", "name": "SLC9A3R1", "properties": { "url": "http://identifiers.org/ncbigene/9368", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "solute carrier family 9, subfamily A (NHE3, cation proton antiporter 3), member 3 regulator 1" }, "metanode": "Gene" }, { "id": 1265, "identifier": "GO:0035624", "identifier_type": "str", "name": "receptor transactivation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0035624", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1266, "identifier": "7984", "identifier_type": "int", "name": "ARHGEF5", "properties": { "url": "http://identifiers.org/ncbigene/7984", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "Rho guanine nucleotide exchange factor (GEF) 5" }, "metanode": "Gene" }, { "id": 1267, "identifier": "GO:0000266", "identifier_type": "str", "name": "mitochondrial fission", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0000266", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1268, "identifier": "112609", "identifier_type": "int", "name": "MRAP2", "properties": { "url": "http://identifiers.org/ncbigene/112609", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "melanocortin 2 receptor accessory protein 2" }, "metanode": "Gene" }, { "id": 1269, "identifier": "3202", "identifier_type": "int", "name": "HOXA5", "properties": { "url": "http://identifiers.org/ncbigene/3202", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "homeobox A5" }, "metanode": "Gene" }, { "id": 1270, "identifier": "GO:0071823", "identifier_type": "str", "name": "protein-carbohydrate complex subunit organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071823", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1271, "identifier": "57763", "identifier_type": "int", "name": "ANKRA2", "properties": { "url": "http://identifiers.org/ncbigene/57763", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "ankyrin repeat, family A (RFXANK-like), 2" }, "metanode": "Gene" }, { "id": 1272, "identifier": "5671", "identifier_type": "int", "name": "PSG3", "properties": { "url": "http://identifiers.org/ncbigene/5671", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "pregnancy specific beta-1-glycoprotein 3" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "