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=45275
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45300", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45250", "results": [ { "id": 45274, "identifier": "GO:2000819", "identifier_type": "str", "name": "regulation of nucleotide-excision repair", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000819", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45275, "identifier": "C2607947", "identifier_type": "str", "name": "Deafness unilateral", "properties": { "url": "http://identifiers.org/umls/C2607947", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45276, "identifier": "105371035", "identifier_type": "int", "name": "LOC105371035", "properties": { "url": "http://identifiers.org/ncbigene/105371035", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "uncharacterized LOC105371035" }, "metanode": "Gene" }, { "id": 45277, "identifier": "105379798", "identifier_type": "int", "name": "LOC105379798", "properties": { "url": "http://identifiers.org/ncbigene/105379798", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "uncharacterized LOC105379798" }, "metanode": "Gene" }, { "id": 45278, "identifier": "GO:1902003", "identifier_type": "str", "name": "regulation of beta-amyloid formation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902003", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45279, "identifier": "C0234967", "identifier_type": "str", "name": "Choreoathetoid movements", "properties": { "url": "http://identifiers.org/umls/C0234967", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45280, "identifier": "GO:1902808", "identifier_type": "str", "name": "positive regulation of cell cycle G1/S phase transition", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902808", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45281, "identifier": "93", "identifier_type": "int", "name": "ACVR2B", "properties": { "url": "http://identifiers.org/ncbigene/93", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "activin A receptor, type IIB" }, "metanode": "Gene" }, { "id": 45282, "identifier": "GO:0070986", "identifier_type": "str", "name": "left/right axis specification", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070986", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45283, "identifier": "165545", "identifier_type": "int", "name": "DQX1", "properties": { "url": "http://identifiers.org/ncbigene/165545", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "DEAQ box RNA-dependent ATPase 1" }, "metanode": "Gene" }, { "id": 45284, "identifier": "81285", "identifier_type": "int", "name": "OR51E2", "properties": { "url": "http://identifiers.org/ncbigene/81285", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "olfactory receptor, family 51, subfamily E, member 2" }, "metanode": "Gene" }, { "id": 45285, "identifier": "646960", "identifier_type": "int", "name": "PRSS56", "properties": { "url": "http://identifiers.org/ncbigene/646960", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "protease, serine, 56" }, "metanode": "Gene" }, { "id": 45286, "identifier": "GO:1902001", "identifier_type": "str", "name": "fatty acid transmembrane transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1902001", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45287, "identifier": "GO:0070993", "identifier_type": "str", "name": "translation preinitiation complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070993", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45288, "identifier": "GO:0042048", "identifier_type": "str", "name": "olfactory behavior", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0042048", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45289, "identifier": "GO:0032262", "identifier_type": "str", "name": "pyrimidine nucleotide salvage", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032262", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45290, "identifier": "GO:1903533", "identifier_type": "str", "name": "regulation of protein targeting", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903533", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45291, "identifier": "114294", "identifier_type": "int", "name": "LACTB", "properties": { "url": "http://identifiers.org/ncbigene/114294", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "lactamase, beta" }, "metanode": "Gene" }, { "id": 45292, "identifier": "4887", "identifier_type": "int", "name": "NPY2R", "properties": { "url": "http://identifiers.org/ncbigene/4887", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "neuropeptide Y receptor Y2" }, "metanode": "Gene" }, { "id": 45293, "identifier": "GO:0034696", "identifier_type": "str", "name": "response to prostaglandin F", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034696", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45294, "identifier": "GO:0030505", "identifier_type": "str", "name": "inorganic diphosphate transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0030505", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45295, "identifier": "85449", "identifier_type": "int", "name": "KIAA1755", "properties": { "url": "http://identifiers.org/ncbigene/85449", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "20", "description": "KIAA1755" }, "metanode": "Gene" }, { "id": 45296, "identifier": "115749", "identifier_type": "int", "name": "C12orf56", "properties": { "url": "http://identifiers.org/ncbigene/115749", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "chromosome 12 open reading frame 56" }, "metanode": "Gene" }, { "id": 45297, "identifier": "DB01091", "identifier_type": "str", "name": "Butenafine", "properties": { "url": "http://www.drugbank.ca/drugs/DB01091", "inchi": "InChI=1S/C23H27N/c1-23(2,3)21-14-12-18(13-15-21)16-24(4)17-20-10-7-9-19-8-5-6-11-22(19)20/h5-15H,16-17H2,1-4H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=ABJKWBDEJIDSJZ-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 45298, "identifier": "22982", "identifier_type": "int", "name": "DIP2C", "properties": { "url": "http://identifiers.org/ncbigene/22982", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "DIP2 disco-interacting protein 2 homolog C (Drosophila)" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "