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=45425
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45450", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45400", "results": [ { "id": 45423, "identifier": "D020179", "identifier_type": "str", "name": "Jet Lag Syndrome", "properties": { "url": "http://identifiers.org/mesh/D020179", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 45424, "identifier": "GO:0072567", "identifier_type": "str", "name": "chemokine (C-X-C motif) ligand 2 production", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072567", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45425, "identifier": "65988", "identifier_type": "int", "name": "ZNF747", "properties": { "url": "http://identifiers.org/ncbigene/65988", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "zinc finger protein 747" }, "metanode": "Gene" }, { "id": 45426, "identifier": "PC7_7265", "identifier_type": "str", "name": "SHC-related events triggered by IGF1R", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 45427, "identifier": "7473", "identifier_type": "int", "name": "WNT3", "properties": { "url": "http://identifiers.org/ncbigene/7473", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "wingless-type MMTV integration site family, member 3" }, "metanode": "Gene" }, { "id": 45428, "identifier": "GO:1902443", "identifier_type": "str", "name": "negative regulation of ripoptosome assembly involved in necroptotic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902443", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45429, "identifier": "C0919907", "identifier_type": "str", "name": "Pleural infection", "properties": { "url": "http://identifiers.org/umls/C0919907", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45430, "identifier": "GO:0030241", "identifier_type": "str", "name": "skeletal muscle myosin thick filament assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030241", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45431, "identifier": "DB00890", "identifier_type": "str", "name": "Dienestrol", "properties": { "url": "http://www.drugbank.ca/drugs/DB00890", "inchi": "InChI=1S/C18H18O2/c1-3-17(13-5-9-15(19)10-6-13)18(4-2)14-7-11-16(20)12-8-14/h3-12,19-20H,1-2H3/b17-3+,18-4+", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=NFDFQCUYFHCNBW-SCGPFSFSSA-N" }, "metanode": "Compound" }, { "id": 45432, "identifier": "D006469", "identifier_type": "str", "name": "Hemoptysis", "properties": { "url": "http://identifiers.org/mesh/D006469", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 45433, "identifier": "GO:0016560", "identifier_type": "str", "name": "protein import into peroxisome matrix, docking", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0016560", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45434, "identifier": "GO:0031946", "identifier_type": "str", "name": "regulation of glucocorticoid biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031946", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45435, "identifier": "348093", "identifier_type": "int", "name": "RBPMS2", "properties": { "url": "http://identifiers.org/ncbigene/348093", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "RNA binding protein with multiple splicing 2" }, "metanode": "Gene" }, { "id": 45436, "identifier": "550", "identifier_type": "int", "name": "AUP1", "properties": { "url": "http://identifiers.org/ncbigene/550", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "ancient ubiquitous protein 1" }, "metanode": "Gene" }, { "id": 45437, "identifier": "GO:0001889", "identifier_type": "str", "name": "liver development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001889", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45438, "identifier": "59335", "identifier_type": "int", "name": "PRDM12", "properties": { "url": "http://identifiers.org/ncbigene/59335", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "PR domain containing 12" }, "metanode": "Gene" }, { "id": 45439, "identifier": "27136", "identifier_type": "int", "name": "MORC1", "properties": { "url": "http://identifiers.org/ncbigene/27136", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "MORC family CW-type zinc finger 1" }, "metanode": "Gene" }, { "id": 45440, "identifier": "GO:0031232", "identifier_type": "str", "name": "extrinsic component of external side of plasma membrane", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031232", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45441, "identifier": "GO:0033646", "identifier_type": "str", "name": "host intracellular part", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033646", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45442, "identifier": "57692", "identifier_type": "int", "name": "MAGEE1", "properties": { "url": "http://identifiers.org/ncbigene/57692", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "melanoma antigen family E1" }, "metanode": "Gene" }, { "id": 45443, "identifier": "C0338831", "identifier_type": "str", "name": "Mania", "properties": { "url": "http://identifiers.org/umls/C0338831", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45444, "identifier": "GO:0034968", "identifier_type": "str", "name": "histone lysine methylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034968", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45445, "identifier": "GO:2000980", "identifier_type": "str", "name": "regulation of inner ear receptor cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000980", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45446, "identifier": "5584", "identifier_type": "int", "name": "PRKCI", "properties": { "url": "http://identifiers.org/ncbigene/5584", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "protein kinase C, iota" }, "metanode": "Gene" }, { "id": 45447, "identifier": "51526", "identifier_type": "int", "name": "OSER1", "properties": { "url": "http://identifiers.org/ncbigene/51526", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "oxidative stress responsive serine-rich 1" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "