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=2550
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2575", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2525", "results": [ { "id": 2537, "identifier": "D020795", "identifier_type": "str", "name": "Photophobia", "properties": { "url": "http://identifiers.org/mesh/D020795", "source": "MeSH", "license": "CC0 1.0" }, "metanode": "Symptom" }, { "id": 2538, "identifier": "GO:0090141", "identifier_type": "str", "name": "positive regulation of mitochondrial fission", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0090141", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2539, "identifier": "6509", "identifier_type": "int", "name": "SLC1A4", "properties": { "url": "http://identifiers.org/ncbigene/6509", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "solute carrier family 1 (glutamate/neutral amino acid transporter), member 4" }, "metanode": "Gene" }, { "id": 2540, "identifier": "C0023787", "identifier_type": "str", "name": "Lipodystrophy", "properties": { "url": "http://identifiers.org/umls/C0023787", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2541, "identifier": "GO:1904259", "identifier_type": "str", "name": "regulation of basement membrane assembly involved in embryonic body morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_1904259", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2542, "identifier": "PC7_5909", "identifier_type": "str", "name": "Nicotinate metabolism", "properties": { "source": "Reactome via Pathway Commons", "license": "CC BY 4.0" }, "metanode": "Pathway" }, { "id": 2543, "identifier": "UBERON:0002418", "identifier_type": "str", "name": "cartilage tissue", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002418", "bto_id": "BTO:0000206", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D002356" }, "metanode": "Anatomy" }, { "id": 2544, "identifier": "9832", "identifier_type": "int", "name": "JAKMIP2", "properties": { "url": "http://identifiers.org/ncbigene/9832", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "janus kinase and microtubule interacting protein 2" }, "metanode": "Gene" }, { "id": 2545, "identifier": "51107", "identifier_type": "int", "name": "APH1A", "properties": { "url": "http://identifiers.org/ncbigene/51107", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "APH1A gamma secretase subunit" }, "metanode": "Gene" }, { "id": 2546, "identifier": "GO:0071973", "identifier_type": "str", "name": "bacterial-type flagellum-dependent cell motility", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071973", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2547, "identifier": "UBERON:0001708", "identifier_type": "str", "name": "jaw skeleton", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0001708", "bto_id": "BTO:0001749", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D007568" }, "metanode": "Anatomy" }, { "id": 2548, "identifier": "C0271468", "identifier_type": "str", "name": "Eustachian tube disorder", "properties": { "url": "http://identifiers.org/umls/C0271468", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2549, "identifier": "GO:0010939", "identifier_type": "str", "name": "regulation of necrotic cell death", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010939", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2550, "identifier": "C0239591", "identifier_type": "str", "name": "Paresthesia of fingers", "properties": { "url": "http://identifiers.org/umls/C0239591", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2551, "identifier": "GO:0019264", "identifier_type": "str", "name": "glycine biosynthetic process from serine", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0019264", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2552, "identifier": "C0080274", "identifier_type": "str", "name": "Urinary retention", "properties": { "url": "http://identifiers.org/umls/C0080274", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2553, "identifier": "GO:0052852", "identifier_type": "str", "name": "very-long-chain-(S)-2-hydroxy-acid oxidase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0052852", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2554, "identifier": "100130101", "identifier_type": "int", "name": "LOC100130101", "properties": { "url": "http://identifiers.org/ncbigene/100130101", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "8", "description": "uncharacterized LOC100130101" }, "metanode": "Gene" }, { "id": 2555, "identifier": "C1519353", "identifier_type": "str", "name": "Rash papular", "properties": { "url": "http://identifiers.org/umls/C1519353", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2556, "identifier": "GO:0071731", "identifier_type": "str", "name": "response to nitric oxide", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071731", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2557, "identifier": "GO:0045953", "identifier_type": "str", "name": "negative regulation of natural killer cell mediated cytotoxicity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045953", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2558, "identifier": "GO:0018344", "identifier_type": "str", "name": "protein geranylgeranylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0018344", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2559, "identifier": "1089", "identifier_type": "int", "name": "CEACAM4", "properties": { "url": "http://identifiers.org/ncbigene/1089", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "carcinoembryonic antigen-related cell adhesion molecule 4" }, "metanode": "Gene" }, { "id": 2560, "identifier": "C0476327", "identifier_type": "str", "name": "Serum amylase increased", "properties": { "url": "http://identifiers.org/umls/C0476327", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2561, "identifier": "54514", "identifier_type": "int", "name": "DDX4", "properties": { "url": "http://identifiers.org/ncbigene/54514", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "DEAD (Asp-Glu-Ala-Asp) box polypeptide 4" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "