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=1650
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1675", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1625", "results": [ { "id": 1645, "identifier": "147183", "identifier_type": "int", "name": "KRT25", "properties": { "url": "http://identifiers.org/ncbigene/147183", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "keratin 25, type I" }, "metanode": "Gene" }, { "id": 1647, "identifier": "105369154", "identifier_type": "int", "name": "LOC105369154", "properties": { "url": "http://identifiers.org/ncbigene/105369154", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "polycystin-1-like" }, "metanode": "Gene" }, { "id": 1648, "identifier": "GO:0051494", "identifier_type": "str", "name": "negative regulation of cytoskeleton organization", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0051494", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1649, "identifier": "GO:0070945", "identifier_type": "str", "name": "neutrophil mediated killing of gram-negative bacterium", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070945", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1650, "identifier": "55743", "identifier_type": "int", "name": "CHFR", "properties": { "url": "http://identifiers.org/ncbigene/55743", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "checkpoint with forkhead and ring finger domains, E3 ubiquitin protein ligase" }, "metanode": "Gene" }, { "id": 1651, "identifier": "GO:0031267", "identifier_type": "str", "name": "small GTPase binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0031267", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1652, "identifier": "C0015467", "identifier_type": "str", "name": "Facial neuralgia", "properties": { "url": "http://identifiers.org/umls/C0015467", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1653, "identifier": "DB00345", "identifier_type": "str", "name": "Aminohippurate", "properties": { "url": "http://www.drugbank.ca/drugs/DB00345", "inchi": "InChI=1S/C9H10N2O3/c10-7-3-1-6(2-4-7)9(14)11-5-8(12)13/h1-4H,5,10H2,(H,11,14)(H,12,13)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=HSMNQINEKMPTIC-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1654, "identifier": "409", "identifier_type": "int", "name": "ARRB2", "properties": { "url": "http://identifiers.org/ncbigene/409", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "arrestin, beta 2" }, "metanode": "Gene" }, { "id": 1655, "identifier": "9172", "identifier_type": "int", "name": "MYOM2", "properties": { "url": "http://identifiers.org/ncbigene/9172", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "myomesin 2" }, "metanode": "Gene" }, { "id": 1656, "identifier": "GO:0007548", "identifier_type": "str", "name": "sex differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007548", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1657, "identifier": "PC7_8064", "identifier_type": "str", "name": "TRIF-mediated programmed cell death", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 1658, "identifier": "GO:0006532", "identifier_type": "str", "name": "aspartate biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006532", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1659, "identifier": "81857", "identifier_type": "int", "name": "MED25", "properties": { "url": "http://identifiers.org/ncbigene/81857", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "mediator complex subunit 25" }, "metanode": "Gene" }, { "id": 1660, "identifier": "651959", "identifier_type": "int", "name": "LOC651959", "properties": { "url": "http://identifiers.org/ncbigene/651959", "source": "Entrez Gene", "license": "CC0 1.0", "description": "FSHD region gene 2-like" }, "metanode": "Gene" }, { "id": 1661, "identifier": "2878", "identifier_type": "int", "name": "GPX3", "properties": { "url": "http://identifiers.org/ncbigene/2878", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "glutathione peroxidase 3" }, "metanode": "Gene" }, { "id": 1662, "identifier": "57567", "identifier_type": "int", "name": "ZNF319", "properties": { "url": "http://identifiers.org/ncbigene/57567", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "zinc finger protein 319" }, "metanode": "Gene" }, { "id": 1663, "identifier": "UBERON:0001105", "identifier_type": "str", "name": "clavicle bone", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001105", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D002968" }, "metanode": "Anatomy" }, { "id": 1664, "identifier": "GO:0004392", "identifier_type": "str", "name": "heme oxygenase (decyclizing) activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004392", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1665, "identifier": "GO:0048712", "identifier_type": "str", "name": "negative regulation of astrocyte differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048712", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1666, "identifier": "91947", "identifier_type": "int", "name": "ARRDC4", "properties": { "url": "http://identifiers.org/ncbigene/91947", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "arrestin domain containing 4" }, "metanode": "Gene" }, { "id": 1667, "identifier": "80230", "identifier_type": "int", "name": "RUFY1", "properties": { "url": "http://identifiers.org/ncbigene/80230", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "RUN and FYVE domain containing 1" }, "metanode": "Gene" }, { "id": 1668, "identifier": "GO:0043103", "identifier_type": "str", "name": "hypoxanthine salvage", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043103", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1669, "identifier": "414189", "identifier_type": "int", "name": "AGAP6", "properties": { "url": "http://identifiers.org/ncbigene/414189", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "ArfGAP with GTPase domain, ankyrin repeat and PH domain 6" }, "metanode": "Gene" }, { "id": 1670, "identifier": "5459", "identifier_type": "int", "name": "POU4F3", "properties": { "url": "http://identifiers.org/ncbigene/5459", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "POU class 4 homeobox 3" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "