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=46125
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46150", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46100", "results": [ { "id": 46124, "identifier": "GO:0045663", "identifier_type": "str", "name": "positive regulation of myoblast differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045663", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46125, "identifier": "189", "identifier_type": "int", "name": "AGXT", "properties": { "url": "http://identifiers.org/ncbigene/189", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "alanine-glyoxylate aminotransferase" }, "metanode": "Gene" }, { "id": 46126, "identifier": "8936", "identifier_type": "int", "name": "WASF1", "properties": { "url": "http://identifiers.org/ncbigene/8936", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "WAS protein family, member 1" }, "metanode": "Gene" }, { "id": 46127, "identifier": "C0231529", "identifier_type": "str", "name": "Tendon pain", "properties": { "url": "http://identifiers.org/umls/C0231529", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46128, "identifier": "DB01099", "identifier_type": "str", "name": "Flucytosine", "properties": { "url": "http://www.drugbank.ca/drugs/DB01099", "inchi": "InChI=1S/C4H4FN3O/c5-2-1-7-4(9)8-3(2)6/h1H,(H3,6,7,8,9)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=XRECTZIEBJDKEO-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 46129, "identifier": "GO:0072677", "identifier_type": "str", "name": "eosinophil migration", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072677", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46130, "identifier": "DOID:1459", "identifier_type": "str", "name": "hypothyroidism", "properties": { "url": "http://purl.obolibrary.org/obo/DOID_1459", "source": "Disease Ontology", "license": "CC BY 3.0" }, "metanode": "Disease" }, { "id": 46131, "identifier": "2770", "identifier_type": "int", "name": "GNAI1", "properties": { "url": "http://identifiers.org/ncbigene/2770", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "guanine nucleotide binding protein (G protein), alpha inhibiting activity polypeptide 1" }, "metanode": "Gene" }, { "id": 46132, "identifier": "C0002871", "identifier_type": "str", "name": "Anaemia", "properties": { "url": "http://identifiers.org/umls/C0002871", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46133, "identifier": "PC7_7643", "identifier_type": "str", "name": "Sodium-coupled sulphate, di- and tri-carboxylate transporters", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46134, "identifier": "C0042994", "identifier_type": "str", "name": "Vulval disorder", "properties": { "url": "http://identifiers.org/umls/C0042994", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46135, "identifier": "C0020546", "identifier_type": "str", "name": "Hypertensive crisis", "properties": { "url": "http://identifiers.org/umls/C0020546", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46136, "identifier": "C0334634", "identifier_type": "str", "name": "Mantle cell lymphoma", "properties": { "url": "http://identifiers.org/umls/C0334634", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46137, "identifier": "5239", "identifier_type": "int", "name": "PGM5", "properties": { "url": "http://identifiers.org/ncbigene/5239", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "9", "description": "phosphoglucomutase 5" }, "metanode": "Gene" }, { "id": 46138, "identifier": "C0025193", "identifier_type": "str", "name": "Melancholia", "properties": { "url": "http://identifiers.org/umls/C0025193", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46139, "identifier": "GO:0048144", "identifier_type": "str", "name": "fibroblast proliferation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048144", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46140, "identifier": "DB00518", "identifier_type": "str", "name": "Albendazole", "properties": { "url": "http://www.drugbank.ca/drugs/DB00518", "inchi": "InChI=1S/C12H15N3O2S/c1-3-6-18-8-4-5-9-10(7-8)14-11(13-9)15-12(16)17-2/h4-5,7H,3,6H2,1-2H3,(H2,13,14,15,16)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=HXHWSAZORRCQMX-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 46141, "identifier": "154150", "identifier_type": "int", "name": "HDGFL1", "properties": { "url": "http://identifiers.org/ncbigene/154150", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "hepatoma derived growth factor-like 1" }, "metanode": "Gene" }, { "id": 46142, "identifier": "PC7_4729", "identifier_type": "str", "name": "Influenza Viral RNA Transcription and Replication", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 46143, "identifier": "7564", "identifier_type": "int", "name": "ZNF16", "properties": { "url": "http://identifiers.org/ncbigene/7564", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "zinc finger protein 16" }, "metanode": "Gene" }, { "id": 46144, "identifier": "105369637", "identifier_type": "int", "name": "LOC105369637", "properties": { "url": "http://identifiers.org/ncbigene/105369637", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "collagen alpha-1(I) chain-like" }, "metanode": "Gene" }, { "id": 46145, "identifier": "GO:0045631", "identifier_type": "str", "name": "regulation of mechanoreceptor differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045631", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46146, "identifier": "118426", "identifier_type": "int", "name": "LOH12CR1", "properties": { "url": "http://identifiers.org/ncbigene/118426", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "loss of heterozygosity, 12, chromosomal region 1" }, "metanode": "Gene" }, { "id": 46147, "identifier": "GO:0090209", "identifier_type": "str", "name": "negative regulation of triglyceride metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090209", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46148, "identifier": "C0151717", "identifier_type": "str", "name": "Skin hypertrophy", "properties": { "url": "http://identifiers.org/umls/C0151717", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" } ] }{ "count": 47031, "next": "