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=1725
http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1750", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=1700", "results": [ { "id": 1721, "identifier": "GO:0046922", "identifier_type": "str", "name": "peptide-O-fucosyltransferase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0046922", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1722, "identifier": "203427", "identifier_type": "int", "name": "SLC25A43", "properties": { "url": "http://identifiers.org/ncbigene/203427", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "X", "description": "solute carrier family 25, member 43" }, "metanode": "Gene" }, { "id": 1723, "identifier": "GO:0071312", "identifier_type": "str", "name": "cellular response to alkaloid", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0071312", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1724, "identifier": "GO:0072686", "identifier_type": "str", "name": "mitotic spindle", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0072686", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" }, { "id": 1725, "identifier": "100130920", "identifier_type": "int", "name": "LOC100130920", "properties": { "url": "http://identifiers.org/ncbigene/100130920", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "10", "description": "uncharacterized LOC100130920" }, "metanode": "Gene" }, { "id": 1726, "identifier": "161424", "identifier_type": "int", "name": "NOP9", "properties": { "url": "http://identifiers.org/ncbigene/161424", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "NOP9 nucleolar protein" }, "metanode": "Gene" }, { "id": 1727, "identifier": "2251", "identifier_type": "int", "name": "FGF6", "properties": { "url": "http://identifiers.org/ncbigene/2251", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "fibroblast growth factor 6" }, "metanode": "Gene" }, { "id": 1728, "identifier": "10758", "identifier_type": "int", "name": "TRAF3IP2", "properties": { "url": "http://identifiers.org/ncbigene/10758", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "TRAF3 interacting protein 2" }, "metanode": "Gene" }, { "id": 1729, "identifier": "DB01164", "identifier_type": "str", "name": "Calcium Chloride", "properties": { "url": "http://www.drugbank.ca/drugs/DB01164", "inchi": "InChI=1S/Ca.2ClH/h;2*1H/q+2;;/p-2", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=UXVMQQNJUSDDNG-UHFFFAOYSA-L" }, "metanode": "Compound" }, { "id": 1730, "identifier": "GO:0021551", "identifier_type": "str", "name": "central nervous system morphogenesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0021551", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1731, "identifier": "100506388", "identifier_type": "int", "name": "LOC100506388", "properties": { "url": "http://identifiers.org/ncbigene/100506388", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "17", "description": "uncharacterized LOC100506388" }, "metanode": "Gene" }, { "id": 1732, "identifier": "DB00802", "identifier_type": "str", "name": "Alfentanil", "properties": { "url": "http://www.drugbank.ca/drugs/DB00802", "inchi": "InChI=1S/C21H32N6O3/c1-4-19(28)27(18-9-7-6-8-10-18)21(17-30-3)11-13-24(14-12-21)15-16-26-20(29)25(5-2)22-23-26/h6-10H,4-5,11-17H2,1-3H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=IDBPHNDTYPBSNI-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1733, "identifier": "WP2795_r78544", "identifier_type": "str", "name": "Cardiac Hypertrophic Response", "properties": { "url": "http://www.wikipathways.org/instance/WP2795_r78544", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 1734, "identifier": "81696", "identifier_type": "int", "name": "OR5V1", "properties": { "url": "http://identifiers.org/ncbigene/81696", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "olfactory receptor, family 5, subfamily V, member 1" }, "metanode": "Gene" }, { "id": 1735, "identifier": "4704", "identifier_type": "int", "name": "NDUFA9", "properties": { "url": "http://identifiers.org/ncbigene/4704", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "12", "description": "NADH dehydrogenase (ubiquinone) 1 alpha subcomplex, 9, 39kDa" }, "metanode": "Gene" }, { "id": 1736, "identifier": "GO:0033206", "identifier_type": "str", "name": "meiotic cytokinesis", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0033206", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1737, "identifier": "GO:0036005", "identifier_type": "str", "name": "response to macrophage colony-stimulating factor", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0036005", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1738, "identifier": "GO:0001661", "identifier_type": "str", "name": "conditioned taste aversion", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001661", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1739, "identifier": "7045", "identifier_type": "int", "name": "TGFBI", "properties": { "url": "http://identifiers.org/ncbigene/7045", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "5", "description": "transforming growth factor, beta-induced, 68kDa" }, "metanode": "Gene" }, { "id": 1740, "identifier": "C0348801", "identifier_type": "str", "name": "Pneumonia due to Streptococcus, group b", "properties": { "url": "http://identifiers.org/umls/C0348801", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 1741, "identifier": "DB00651", "identifier_type": "str", "name": "Dyphylline", "properties": { "url": "http://www.drugbank.ca/drugs/DB00651", "inchi": "InChI=1S/C10H14N4O4/c1-12-8-7(9(17)13(2)10(12)18)14(5-11-8)3-6(16)4-15/h5-6,15-16H,3-4H2,1-2H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=KSCFJBIXMNOVSH-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 1742, "identifier": "GO:0010070", "identifier_type": "str", "name": "zygote asymmetric cell division", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0010070", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 1743, "identifier": "GO:0038191", "identifier_type": "str", "name": "neuropilin binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0038191", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 1744, "identifier": "UBERON:0002367", "identifier_type": "str", "name": "prostate gland", "properties": { "url": "http://purl.obolibrary.org/obo/UBERON_0002367", "bto_id": "BTO:0001129", "source": "Uberon", "license": "CC BY 3.0", "mesh_id": "D011467" }, "metanode": "Anatomy" }, { "id": 1745, "identifier": "GO:0034679", "identifier_type": "str", "name": "integrin alpha9-beta1 complex", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0034679", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Cellular Component" } ] }{ "count": 47031, "next": "