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=200
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=225", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=175", "results": [ { "id": 199, "identifier": "GO:0048087", "identifier_type": "str", "name": "positive regulation of developmental pigmentation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048087", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 200, "identifier": "DB00972", "identifier_type": "str", "name": "Azelastine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00972", "inchi": "InChI=1S/C22H24ClN3O/c1-25-13-4-5-18(12-14-25)26-22(27)20-7-3-2-6-19(20)21(24-26)15-16-8-10-17(23)11-9-16/h2-3,6-11,18H,4-5,12-15H2,1H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=MBUVEWMHONZEQD-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 201, "identifier": "GO:0045914", "identifier_type": "str", "name": "negative regulation of catecholamine metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045914", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 202, "identifier": "GO:0071819", "identifier_type": "str", "name": "DUBm complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071819", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 203, "identifier": "7746", "identifier_type": "int", "name": "ZSCAN9", "properties": { "url": "http://identifiers.org/ncbigene/7746", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "zinc finger and SCAN domain containing 9" }, "metanode": "Gene" }, { "id": 204, "identifier": "GO:1903708", "identifier_type": "str", "name": "positive regulation of hemopoiesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903708", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 205, "identifier": "GO:0043656", "identifier_type": "str", "name": "intracellular region of host", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043656", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 206, "identifier": "GO:0002068", "identifier_type": "str", "name": "glandular epithelial cell development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002068", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 207, "identifier": "GO:0071035", "identifier_type": "str", "name": "nuclear polyadenylation-dependent rRNA catabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071035", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 208, "identifier": "GO:0050829", "identifier_type": "str", "name": "defense response to Gram-negative bacterium", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050829", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 209, "identifier": "56141", "identifier_type": "int", "name": "PCDHA7", "properties": { "url": "http://identifiers.org/ncbigene/56141", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "protocadherin alpha 7" }, "metanode": "Gene" }, { "id": 210, "identifier": "64760", "identifier_type": "int", "name": "FAM160B2", "properties": { "url": "http://identifiers.org/ncbigene/64760", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "family with sequence similarity 160, member B2" }, "metanode": "Gene" }, { "id": 211, "identifier": "DB00322", "identifier_type": "str", "name": "Floxuridine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00322", "inchi": "InChI=1S/C9H11FN2O5/c10-4-2-12(9(16)11-8(4)15)7-1-5(14)6(3-13)17-7/h2,5-7,13-14H,1,3H2,(H,11,15,16)/t5-,6+,7+/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ODKNJVUHOIMIIZ-RRKCRQDMSA-N" }, "metanode": "Compound" }, { "id": 212, "identifier": "GO:0071447", "identifier_type": "str", "name": "cellular response to hydroperoxide", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071447", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 213, "identifier": "GO:0002092", "identifier_type": "str", "name": "positive regulation of receptor internalization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0002092", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 214, "identifier": "WP560_r83868", "identifier_type": "str", "name": "TGF-beta Receptor Signaling", "properties": { "url": "http://www.wikipathways.org/instance/WP560_r83868", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 215, "identifier": "695", "identifier_type": "int", "name": "BTK", "properties": { "url": "http://identifiers.org/ncbigene/695", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "Bruton agammaglobulinemia tyrosine kinase" }, "metanode": "Gene" }, { "id": 216, "identifier": "9442", "identifier_type": "int", "name": "MED27", "properties": { "url": "http://identifiers.org/ncbigene/9442", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "mediator complex subunit 27" }, "metanode": "Gene" }, { "id": 217, "identifier": "50717", "identifier_type": "int", "name": "DCAF8", "properties": { "url": "http://identifiers.org/ncbigene/50717", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "DDB1 and CUL4 associated factor 8" }, "metanode": "Gene" }, { "id": 218, "identifier": "GO:1904431", "identifier_type": "str", "name": "positive regulation of t-circle formation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904431", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 219, "identifier": "UBERON:0002352", "identifier_type": "str", "name": "atrioventricular node", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002352", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D001283" }, "metanode": "Anatomy" }, { "id": 220, "identifier": "C0854097", "identifier_type": "str", "name": "Hypoaesthesia eye", "properties": { "url": "http://identifiers.org/umls/C0854097", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 221, "identifier": "3276", "identifier_type": "int", "name": "PRMT1", "properties": { "url": "http://identifiers.org/ncbigene/3276", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "protein arginine methyltransferase 1" }, "metanode": "Gene" }, { "id": 222, "identifier": "GO:0021604", "identifier_type": "str", "name": "cranial nerve structural organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021604", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 223, "identifier": "100291323", "identifier_type": "int", "name": "LOC100291323", "properties": { "url": "http://identifiers.org/ncbigene/100291323", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "uncharacterized LOC100291323" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "