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=45175
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45200", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=45150", "results": [ { "id": 45175, "identifier": "388960", "identifier_type": "int", "name": "C2orf78", "properties": { "url": "http://identifiers.org/ncbigene/388960", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "chromosome 2 open reading frame 78" }, "metanode": "Gene" }, { "id": 45176, "identifier": "C0235295", "identifier_type": "str", "name": "Abdominal distress", "properties": { "url": "http://identifiers.org/umls/C0235295", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45177, "identifier": "2039", "identifier_type": "int", "name": "DMTN", "properties": { "url": "http://identifiers.org/ncbigene/2039", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "dematin actin binding protein" }, "metanode": "Gene" }, { "id": 45178, "identifier": "55586", "identifier_type": "int", "name": "MIOX", "properties": { "url": "http://identifiers.org/ncbigene/55586", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "myo-inositol oxygenase" }, "metanode": "Gene" }, { "id": 45179, "identifier": "79135", "identifier_type": "int", "name": "APOO", "properties": { "url": "http://identifiers.org/ncbigene/79135", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "apolipoprotein O" }, "metanode": "Gene" }, { "id": 45180, "identifier": "125061", "identifier_type": "int", "name": "AFMID", "properties": { "url": "http://identifiers.org/ncbigene/125061", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "arylformamidase" }, "metanode": "Gene" }, { "id": 45181, "identifier": "GO:1903205", "identifier_type": "str", "name": "regulation of hydrogen peroxide-induced cell death", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1903205", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45182, "identifier": "GO:0043423", "identifier_type": "str", "name": "3-phosphoinositide-dependent protein kinase binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043423", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 45183, "identifier": "9031", "identifier_type": "int", "name": "BAZ1B", "properties": { "url": "http://identifiers.org/ncbigene/9031", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "bromodomain adjacent to zinc finger domain, 1B" }, "metanode": "Gene" }, { "id": 45184, "identifier": "GO:0043102", "identifier_type": "str", "name": "amino acid salvage", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0043102", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45185, "identifier": "GO:1904888", "identifier_type": "str", "name": "cranial skeletal system development", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904888", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45186, "identifier": "728441", "identifier_type": "int", "name": "GGT2", "properties": { "url": "http://identifiers.org/ncbigene/728441", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "gamma-glutamyltransferase 2" }, "metanode": "Gene" }, { "id": 45187, "identifier": "GO:0050916", "identifier_type": "str", "name": "sensory perception of sweet taste", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0050916", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 45722, "identifier": "C0276143", "identifier_type": "str", "name": "Viral pharyngitis", "properties": { "url": "http://identifiers.org/umls/C0276143", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45188, "identifier": "643311", "identifier_type": "int", "name": "CT47B1", "properties": { "url": "http://identifiers.org/ncbigene/643311", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "cancer/testis antigen family 47, member B1" }, "metanode": "Gene" }, { "id": 45189, "identifier": "389658", "identifier_type": "int", "name": "FAM150A", "properties": { "url": "http://identifiers.org/ncbigene/389658", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "family with sequence similarity 150, member A" }, "metanode": "Gene" }, { "id": 45190, "identifier": "26998", "identifier_type": "int", "name": "FETUB", "properties": { "url": "http://identifiers.org/ncbigene/26998", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "fetuin B" }, "metanode": "Gene" }, { "id": 45191, "identifier": "GO:0098574", "identifier_type": "str", "name": "cytoplasmic side of lysosomal membrane", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0098574", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 45192, "identifier": "57410", "identifier_type": "int", "name": "SCYL1", "properties": { "url": "http://identifiers.org/ncbigene/57410", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "SCY1-like 1 (S. cerevisiae)" }, "metanode": "Gene" }, { "id": 45193, "identifier": "C0152227", "identifier_type": "str", "name": "Lacrimation increased", "properties": { "url": "http://identifiers.org/umls/C0152227", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45194, "identifier": "PC7_7459", "identifier_type": "str", "name": "Signaling by Hippo", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 45195, "identifier": "151888", "identifier_type": "int", "name": "BTLA", "properties": { "url": "http://identifiers.org/ncbigene/151888", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "B and T lymphocyte associated" }, "metanode": "Gene" }, { "id": 45196, "identifier": "C0041667", "identifier_type": "str", "name": "Underweight", "properties": { "url": "http://identifiers.org/umls/C0041667", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 45197, "identifier": "5318", "identifier_type": "int", "name": "PKP2", "properties": { "url": "http://identifiers.org/ncbigene/5318", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "plakophilin 2" }, "metanode": "Gene" }, { "id": 45198, "identifier": "55212", "identifier_type": "int", "name": "BBS7", "properties": { "url": "http://identifiers.org/ncbigene/55212", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "4", "description": "Bardet-Biedl syndrome 7" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "