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=1950
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1975", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1925", "results": [ { "id": 1944, "identifier": "DB00653", "identifier_type": "str", "name": "Magnesium Sulfate", "properties": { "url": "http://www.drugbank.ca/drugs/DB00653", "inchi": "InChI=1S/Mg.H2O4S/c;1-5(2,3)4/h;(H2,1,2,3,4)/q+2;/p-2", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=CSNNHWWHGAXBCP-UHFFFAOYSA-L" }, "metanode": "Compound" }, { "id": 1945, "identifier": "80820", "identifier_type": "int", "name": "EEPD1", "properties": { "url": "http://identifiers.org/ncbigene/80820", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "7", "description": "endonuclease/exonuclease/phosphatase family domain containing 1" }, "metanode": "Gene" }, { "id": 1946, "identifier": "6049", "identifier_type": "int", "name": "RNF6", "properties": { "url": "http://identifiers.org/ncbigene/6049", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "13", "description": "ring finger protein (C3H2C3 type) 6" }, "metanode": "Gene" }, { "id": 1947, "identifier": "10716", "identifier_type": "int", "name": "TBR1", "properties": { "url": "http://identifiers.org/ncbigene/10716", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "T-box, brain, 1" }, "metanode": "Gene" }, { "id": 1948, "identifier": "GO:0004908", "identifier_type": "str", "name": "interleukin-1 receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004908", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1949, "identifier": "24144", "identifier_type": "int", "name": "TFIP11", "properties": { "url": "http://identifiers.org/ncbigene/24144", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "22", "description": "tuftelin interacting protein 11" }, "metanode": "Gene" }, { "id": 1950, "identifier": "N0000175550", "identifier_type": "str", "name": "Decreased Immunologic Activity", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000175550", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Physiologic Effect" }, "metanode": "Pharmacologic Class" }, { "id": 1951, "identifier": "C0600125", "identifier_type": "str", "name": "Electrocardiogram PR prolongation", "properties": { "url": "http://identifiers.org/umls/C0600125", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1952, "identifier": "84984", "identifier_type": "int", "name": "CEP19", "properties": { "url": "http://identifiers.org/ncbigene/84984", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "3", "description": "centrosomal protein 19kDa" }, "metanode": "Gene" }, { "id": 1953, "identifier": "GO:0006497", "identifier_type": "str", "name": "protein lipidation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0006497", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1954, "identifier": "200558", "identifier_type": "int", "name": "APLF", "properties": { "url": "http://identifiers.org/ncbigene/200558", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "aprataxin and PNKP like factor" }, "metanode": "Gene" }, { "id": 1955, "identifier": "GO:0060049", "identifier_type": "str", "name": "regulation of protein glycosylation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0060049", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1956, "identifier": "7003", "identifier_type": "int", "name": "TEAD1", "properties": { "url": "http://identifiers.org/ncbigene/7003", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "11", "description": "TEA domain family member 1 (SV40 transcriptional enhancer factor)" }, "metanode": "Gene" }, { "id": 1957, "identifier": "GO:0071077", "identifier_type": "str", "name": "adenosine 3',5'-bisphosphate transmembrane transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071077", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1958, "identifier": "GO:0015722", "identifier_type": "str", "name": "canalicular bile acid transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015722", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1959, "identifier": "GO:0001935", "identifier_type": "str", "name": "endothelial cell proliferation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001935", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1960, "identifier": "25840", "identifier_type": "int", "name": "METTL7A", "properties": { "url": "http://identifiers.org/ncbigene/25840", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "methyltransferase like 7A" }, "metanode": "Gene" }, { "id": 1961, "identifier": "1579", "identifier_type": "int", "name": "CYP4A11", "properties": { "url": "http://identifiers.org/ncbigene/1579", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "cytochrome P450, family 4, subfamily A, polypeptide 11" }, "metanode": "Gene" }, { "id": 1962, "identifier": "89778", "identifier_type": "int", "name": "SERPINB11", "properties": { "url": "http://identifiers.org/ncbigene/89778", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "18", "description": "serpin peptidase inhibitor, clade B (ovalbumin), member 11 (gene/pseudogene)" }, "metanode": "Gene" }, { "id": 1963, "identifier": "DB01064", "identifier_type": "str", "name": "Isoprenaline", "properties": { "url": "http://www.drugbank.ca/drugs/DB01064", "inchi": "InChI=1S/C11H17NO3/c1-7(2)12-6-11(15)8-3-4-9(13)10(14)5-8/h3-5,7,11-15H,6H2,1-2H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=JWZZKOKVBUJMES-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1964, "identifier": "105379641", "identifier_type": "int", "name": "LOC105379641", "properties": { "url": "http://identifiers.org/ncbigene/105379641", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "uncharacterized LOC105379641" }, "metanode": "Gene" }, { "id": 1965, "identifier": "149465", "identifier_type": "int", "name": "CFAP57", "properties": { "url": "http://identifiers.org/ncbigene/149465", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "cilia and flagella associated protein 57" }, "metanode": "Gene" }, { "id": 1966, "identifier": "GO:0047977", "identifier_type": "str", "name": "hepoxilin-epoxide hydrolase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0047977", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 4527, "identifier": "C0262593", "identifier_type": "str", "name": "Peripheral nerve injury", "properties": { "url": "http://identifiers.org/umls/C0262593", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1967, "identifier": "2533", "identifier_type": "int", "name": "FYB", "properties": { "url": "http://identifiers.org/ncbigene/2533", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "FYN binding protein" }, "metanode": "Gene" } ] }{ "count": 47031, "next": "