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=2225
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2250", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=2200", "results": [ { "id": 2217, "identifier": "C0041912", "identifier_type": "str", "name": "Upper respiratory tract infection", "properties": { "url": "http://identifiers.org/umls/C0041912", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2218, "identifier": "653308", "identifier_type": "int", "name": "ASAH2B", "properties": { "url": "http://identifiers.org/ncbigene/653308", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "N-acylsphingosine amidohydrolase (non-lysosomal ceramidase) 2B" }, "metanode": "Gene" }, { "id": 2219, "identifier": "26574", "identifier_type": "int", "name": "AATF", "properties": { "url": "http://identifiers.org/ncbigene/26574", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "apoptosis antagonizing transcription factor" }, "metanode": "Gene" }, { "id": 2220, "identifier": "GO:0009189", "identifier_type": "str", "name": "deoxyribonucleoside diphosphate biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009189", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2221, "identifier": "171546", "identifier_type": "int", "name": "SPTSSA", "properties": { "url": "http://identifiers.org/ncbigene/171546", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "serine palmitoyltransferase, small subunit A" }, "metanode": "Gene" }, { "id": 2222, "identifier": "390637", "identifier_type": "int", "name": "GDPGP1", "properties": { "url": "http://identifiers.org/ncbigene/390637", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "GDP-D-glucose phosphorylase 1" }, "metanode": "Gene" }, { "id": 2223, "identifier": "101928093", "identifier_type": "int", "name": "LOC101928093", "properties": { "url": "http://identifiers.org/ncbigene/101928093", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "uncharacterized LOC101928093" }, "metanode": "Gene" }, { "id": 2224, "identifier": "670", "identifier_type": "int", "name": "BPHL", "properties": { "url": "http://identifiers.org/ncbigene/670", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "biphenyl hydrolase-like (serine hydrolase)" }, "metanode": "Gene" }, { "id": 2225, "identifier": "728715", "identifier_type": "int", "name": "LOC728715", "properties": { "url": "http://identifiers.org/ncbigene/728715", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "ovostatin homolog 2" }, "metanode": "Gene" }, { "id": 2226, "identifier": "GO:0071384", "identifier_type": "str", "name": "cellular response to corticosteroid stimulus", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071384", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2227, "identifier": "3123", "identifier_type": "int", "name": "HLA-DRB1", "properties": { "url": "http://identifiers.org/ncbigene/3123", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "major histocompatibility complex, class II, DR beta 1" }, "metanode": "Gene" }, { "id": 2228, "identifier": "200728", "identifier_type": "int", "name": "TMEM17", "properties": { "url": "http://identifiers.org/ncbigene/200728", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "transmembrane protein 17" }, "metanode": "Gene" }, { "id": 2229, "identifier": "C0265294", "identifier_type": "str", "name": "Metaphyseal dysplasia", "properties": { "url": "http://identifiers.org/umls/C0265294", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2230, "identifier": "GO:0070424", "identifier_type": "str", "name": "regulation of nucleotide-binding oligomerization domain containing signaling pathway", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070424", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2231, "identifier": "C0020255", "identifier_type": "str", "name": "Hydrocephalus", "properties": { "url": "http://identifiers.org/umls/C0020255", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 2232, "identifier": "DB00993", "identifier_type": "str", "name": "Azathioprine", "properties": { "url": "http://www.drugbank.ca/drugs/DB00993", "inchi": "InChI=1S/C9H7N7O2S/c1-15-4-14-7(16(17)18)9(15)19-8-5-6(11-2-10-5)12-3-13-8/h2-4H,1H3,(H,10,11,12,13)", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=LMEKQMALGUDUQG-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 2233, "identifier": "GO:2000145", "identifier_type": "str", "name": "regulation of cell motility", "properties": { "url": "http://purl.obolibrary.org/obo/GO_2000145", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2234, "identifier": "GO:0032534", "identifier_type": "str", "name": "regulation of microvillus assembly", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0032534", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2235, "identifier": "81930", "identifier_type": "int", "name": "KIF18A", "properties": { "url": "http://identifiers.org/ncbigene/81930", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "kinesin family member 18A" }, "metanode": "Gene" }, { "id": 2236, "identifier": "90693", "identifier_type": "int", "name": "CCDC126", "properties": { "url": "http://identifiers.org/ncbigene/90693", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "coiled-coil domain containing 126" }, "metanode": "Gene" }, { "id": 2237, "identifier": "DB00492", "identifier_type": "str", "name": "Fosinopril", "properties": { "url": "http://www.drugbank.ca/drugs/DB00492", "inchi": "InChI=1S/C30H46NO7P/c1-4-28(33)37-30(22(2)3)38-39(36,18-12-11-15-23-13-7-5-8-14-23)21-27(32)31-20-25(19-26(31)29(34)35)24-16-9-6-10-17-24/h5,7-8,13-14,22,24-26,30H,4,6,9-12,15-21H2,1-3H3,(H,34,35)/t25-,26+,30?,39?/m1/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=BIDNLKIUORFRQP-FKDWWROVSA-N" }, "metanode": "Compound" }, { "id": 2238, "identifier": "23559", "identifier_type": "int", "name": "WBP1", "properties": { "url": "http://identifiers.org/ncbigene/23559", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "WW domain binding protein 1" }, "metanode": "Gene" }, { "id": 2239, "identifier": "GO:0070087", "identifier_type": "str", "name": "chromo shadow domain binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070087", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 2240, "identifier": "GO:0048015", "identifier_type": "str", "name": "phosphatidylinositol-mediated signaling", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0048015", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 2241, "identifier": "GO:0009123", "identifier_type": "str", "name": "nucleoside monophosphate metabolic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0009123", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }{ "count": 47031, "next": "