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=325
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=350", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=300", "results": [ { "id": 325, "identifier": "GO:0006335", "identifier_type": "str", "name": "DNA replication-dependent nucleosome assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006335", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 326, "identifier": "GO:0006635", "identifier_type": "str", "name": "fatty acid beta-oxidation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006635", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 327, "identifier": "84105", "identifier_type": "int", "name": "PCBD2", "properties": { "url": "http://identifiers.org/ncbigene/84105", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "pterin-4 alpha-carbinolamine dehydratase/dimerization cofactor of hepatocyte nuclear factor 1 alpha (TCF1) 2" }, "metanode": "Gene" }, { "id": 328, "identifier": "GO:0031959", "identifier_type": "str", "name": "mineralocorticoid receptor signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031959", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 329, "identifier": "149041", "identifier_type": "int", "name": "RC3H1", "properties": { "url": "http://identifiers.org/ncbigene/149041", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "ring finger and CCCH-type domains 1" }, "metanode": "Gene" }, { "id": 330, "identifier": "6252", "identifier_type": "int", "name": "RTN1", "properties": { "url": "http://identifiers.org/ncbigene/6252", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "reticulon 1" }, "metanode": "Gene" }, { "id": 331, "identifier": "64781", "identifier_type": "int", "name": "CERK", "properties": { "url": "http://identifiers.org/ncbigene/64781", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "ceramide kinase" }, "metanode": "Gene" }, { "id": 332, "identifier": "GO:0070585", "identifier_type": "str", "name": "protein localization to mitochondrion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070585", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 333, "identifier": "79823", "identifier_type": "int", "name": "CAMKMT", "properties": { "url": "http://identifiers.org/ncbigene/79823", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "calmodulin-lysine N-methyltransferase" }, "metanode": "Gene" }, { "id": 334, "identifier": "100526773", "identifier_type": "int", "name": "EPPIN-WFDC6", "properties": { "url": "http://identifiers.org/ncbigene/100526773", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "EPPIN-WFDC6 readthrough" }, "metanode": "Gene" }, { "id": 335, "identifier": "828", "identifier_type": "int", "name": "CAPS", "properties": { "url": "http://identifiers.org/ncbigene/828", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "calcyphosine" }, "metanode": "Gene" }, { "id": 336, "identifier": "GO:0033233", "identifier_type": "str", "name": "regulation of protein sumoylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033233", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 337, "identifier": "24", "identifier_type": "int", "name": "ABCA4", "properties": { "url": "http://identifiers.org/ncbigene/24", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "ATP-binding cassette, sub-family A (ABC1), member 4" }, "metanode": "Gene" }, { "id": 338, "identifier": "27430", "identifier_type": "int", "name": "MAT2B", "properties": { "url": "http://identifiers.org/ncbigene/27430", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "methionine adenosyltransferase II, beta" }, "metanode": "Gene" }, { "id": 339, "identifier": "UBERON:0001768", "identifier_type": "str", "name": "uvea", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001768", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D014602" }, "metanode": "Anatomy" }, { "id": 340, "identifier": "DB00666", "identifier_type": "str", "name": "Nafarelin", "properties": { "url": "http://www.drugbank.ca/drugs/DB00666", "inchi": "InChI=1S/C66H83N17O13/c1-36(2)25-48(58(89)76-47(13-7-23-71-66(68)69)65(96)83-24-8-14-54(83)64(95)73-33-55(67)86)77-60(91)50(28-38-15-18-39-9-3-4-10-40(39)26-38)78-59(90)49(27-37-16-19-43(85)20-17-37)79-63(94)53(34-84)82-61(92)51(29-41-31-72-45-12-6-5-11-44(41)45)80-62(93)52(30-42-32-70-35-74-42)81-57(88)46-21-22-56(87)75-46/h3-6,9-12,15-20,26,31-32,35-36,46-54,72,84-85H,7-8,13-14,21-25,27-30,33-34H2,1-2H3,(H2,67,86)(H,70,74)(H,73,95)(H,75,87)(H,76,89)(H,77,91)(H,78,90)(H,79,94)(H,80,93)(H,81,88)(H,82,92)(H4,68,69,71)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=RWHUEXWOYVBUCI-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 341, "identifier": "GO:0005126", "identifier_type": "str", "name": "cytokine receptor binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0005126", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 342, "identifier": "C0011630", "identifier_type": "str", "name": "Fungal skin infection", "properties": { "url": "http://identifiers.org/umls/C0011630", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 343, "identifier": "29883", "identifier_type": "int", "name": "CNOT7", "properties": { "url": "http://identifiers.org/ncbigene/29883", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "CCR4-NOT transcription complex, subunit 7" }, "metanode": "Gene" }, { "id": 344, "identifier": "5878", "identifier_type": "int", "name": "RAB5C", "properties": { "url": "http://identifiers.org/ncbigene/5878", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "RAB5C, member RAS oncogene family" }, "metanode": "Gene" }, { "id": 345, "identifier": "10273", "identifier_type": "int", "name": "STUB1", "properties": { "url": "http://identifiers.org/ncbigene/10273", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "STIP1 homology and U-box containing protein 1, E3 ubiquitin protein ligase" }, "metanode": "Gene" }, { "id": 346, "identifier": "51804", "identifier_type": "int", "name": "SIX4", "properties": { "url": "http://identifiers.org/ncbigene/51804", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "SIX homeobox 4" }, "metanode": "Gene" }, { "id": 347, "identifier": "GO:0032133", "identifier_type": "str", "name": "chromosome passenger complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032133", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 348, "identifier": "C0151610", "identifier_type": "str", "name": "Tongue oedema", "properties": { "url": "http://identifiers.org/umls/C0151610", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 349, "identifier": "C0085616", "identifier_type": "str", "name": "Vasospasm", "properties": { "url": "http://identifiers.org/umls/C0085616", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "