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=46675
{ "count": 47031, "next": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46700", "previous": "http://search-api.het.io/v1/nodes/?format=api&limit=25&offset=46650", "results": [ { "id": 46674, "identifier": "C0149512", "identifier_type": "str", "name": "Acute sinusitis", "properties": { "url": "http://identifiers.org/umls/C0149512", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46675, "identifier": "GO:0015197", "identifier_type": "str", "name": "peptide transporter activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015197", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46676, "identifier": "GO:0015807", "identifier_type": "str", "name": "L-amino acid transport", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0015807", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46677, "identifier": "27036", "identifier_type": "int", "name": "SIGLEC7", "properties": { "url": "http://identifiers.org/ncbigene/27036", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "sialic acid binding Ig-like lectin 7" }, "metanode": "Gene" }, { "id": 46678, "identifier": "57576", "identifier_type": "int", "name": "KIF17", "properties": { "url": "http://identifiers.org/ncbigene/57576", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "1", "description": "kinesin family member 17" }, "metanode": "Gene" }, { "id": 46679, "identifier": "80255", "identifier_type": "int", "name": "SLC35F5", "properties": { "url": "http://identifiers.org/ncbigene/80255", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "2", "description": "solute carrier family 35, member F5" }, "metanode": "Gene" }, { "id": 46680, "identifier": "N0000185504", "identifier_type": "str", "name": "Cytochrome P450 2C9 Inhibitors", "properties": { "url": "http://purl.bioontology.org/ontology/NDFRT/N0000185504", "source": "FDA via DrugCentral", "license": "CC BY 4.0", "class_type": "Mechanism of Action" }, "metanode": "Pharmacologic Class" }, { "id": 46681, "identifier": "390442", "identifier_type": "int", "name": "OR11H4", "properties": { "url": "http://identifiers.org/ncbigene/390442", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "14", "description": "olfactory receptor, family 11, subfamily H, member 4" }, "metanode": "Gene" }, { "id": 46682, "identifier": "GO:0086043", "identifier_type": "str", "name": "bundle of His cell action potential", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0086043", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46683, "identifier": "GO:0007264", "identifier_type": "str", "name": "small GTPase mediated signal transduction", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007264", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46684, "identifier": "GO:0001042", "identifier_type": "str", "name": "RNA polymerase I core binding", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0001042", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46685, "identifier": "GO:0070506", "identifier_type": "str", "name": "high-density lipoprotein particle receptor activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0070506", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46686, "identifier": "DB01167", "identifier_type": "str", "name": "Itraconazole", "properties": { "url": "http://www.drugbank.ca/drugs/DB01167", "inchi": "InChI=1S/C35H38Cl2N8O4/c1-3-25(2)45-34(46)44(24-40-45)29-7-5-27(6-8-29)41-14-16-42(17-15-41)28-9-11-30(12-10-28)47-19-31-20-48-35(49-31,21-43-23-38-22-39-43)32-13-4-26(36)18-33(32)37/h4-13,18,22-25,31H,3,14-17,19-21H2,1-2H3/t25?,31-,35-/m0/s1", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=VHVPQPYKVGDNFY-ZPGVKDDISA-N" }, "metanode": "Compound" }, { "id": 46687, "identifier": "DB01187", "identifier_type": "str", "name": "Iophendylate", "properties": { "url": "http://www.drugbank.ca/drugs/DB01187", "inchi": "InChI=1S/C19H29IO2/c1-3-22-19(21)15-9-7-5-4-6-8-12-16(2)17-13-10-11-14-18(17)20/h10-11,13-14,16H,3-9,12,15H2,1-2H3", "source": "DrugBank", "license": "CC BY-NC 4.0", "inchikey": "InChIKey=IWRUDYQZPTVTPA-UHFFFAOYSA-N" }, "metanode": "Compound" }, { "id": 46688, "identifier": "147945", "identifier_type": "int", "name": "NLRP4", "properties": { "url": "http://identifiers.org/ncbigene/147945", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "19", "description": "NLR family, pyrin domain containing 4" }, "metanode": "Gene" }, { "id": 46689, "identifier": "GO:0045717", "identifier_type": "str", "name": "negative regulation of fatty acid biosynthetic process", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045717", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46690, "identifier": "C0876980", "identifier_type": "str", "name": "Headache aggravated", "properties": { "url": "http://identifiers.org/umls/C0876980", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46691, "identifier": "GO:0007566", "identifier_type": "str", "name": "embryo implantation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0007566", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" }, { "id": 46692, "identifier": "GO:0004127", "identifier_type": "str", "name": "cytidylate kinase activity", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0004127", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Molecular Function" }, { "id": 46693, "identifier": "WP236_r80209", "identifier_type": "str", "name": "Adipogenesis", "properties": { "url": "http://www.wikipathways.org/instance/WP236_r80209", "source": "WikiPathways", "license": "CC BY 3.0" }, "metanode": "Pathway" }, { "id": 46694, "identifier": "56204", "identifier_type": "int", "name": "FAM214A", "properties": { "url": "http://identifiers.org/ncbigene/56204", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "15", "description": "family with sequence similarity 214, member A" }, "metanode": "Gene" }, { "id": 46695, "identifier": "79865", "identifier_type": "int", "name": "TREML2", "properties": { "url": "http://identifiers.org/ncbigene/79865", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "6", "description": "triggering receptor expressed on myeloid cells-like 2" }, "metanode": "Gene" }, { "id": 46696, "identifier": "1014", "identifier_type": "int", "name": "CDH16", "properties": { "url": "http://identifiers.org/ncbigene/1014", "source": "Entrez Gene", "license": "CC0 1.0", "chromosome": "16", "description": "cadherin 16, KSP-cadherin" }, "metanode": "Gene" }, { "id": 46697, "identifier": "C0265072", "identifier_type": "str", "name": "Inferior vena cava syndrome", "properties": { "url": "http://identifiers.org/umls/C0265072", "source": "UMLS via SIDER 4.1", "license": "CC BY-NC-SA 4.0" }, "metanode": "Side Effect" }, { "id": 46698, "identifier": "GO:0045597", "identifier_type": "str", "name": "positive regulation of cell differentiation", "properties": { "url": "http://purl.obolibrary.org/obo/GO_0045597", "source": "Gene Ontology", "license": "CC BY 4.0" }, "metanode": "Biological Process" } ] }