with one click
tarkg
// Query canonical TarKG drug-target triplets. Use when the user asks about drug-target interactions, relation labels, disease/pathway context, or quick lookups for drugs/targets in TarKG.
// Query canonical TarKG drug-target triplets. Use when the user asks about drug-target interactions, relation labels, disease/pathway context, or quick lookups for drugs/targets in TarKG.
Query the DrugComb drug combination database for cancer cell-line synergy and sensitivity data. Use whenever the user asks about drug combinations, synergy scores (ZIP/Bliss/Loewe/HSA), combination sensitivity (CSS), or wants to look up how two drugs interact in a specific cancer cell line.
Query canonical DrugCombDB combination records. Use when the user asks about drug pairs, synergy values, or cell-line-specific combination evidence.
Query or inspect the FDA Orange Book - FDA-Approved Drug Products Listing resource for drug-centric tasks with emphasis on drug knowledgebase Use whenever Codex needs the calling pattern, downloadable entrypoint, or example query flow from this skill example script.
Query the RepurposeDrugs single-agent drug repurposing database. Use whenever the user asks about drug-disease repurposing associations, clinical trial phases for repurposed drugs, or wants to look up any entity (drug name, disease name, NCT ID) in RepurposeDrugs.
Query the Gene-Drug Knowledge Database (GDKD) for variant-specific gene–drug associations in oncology. Use when the user asks about cancer genomic biomarkers, drug sensitivity/resistance by gene or variant, targetable mutations, or clinical evidence for cancer therapeutics.
Query the MecDDI mechanism-based drug-drug interaction database. Use whenever the user asks about drug-drug interactions, DDI mechanisms (PK/PD), enzyme or transporter-mediated interactions, or wants to look up interacting drug pairs by drug name or MecDDI drug ID. Trigger on keywords like DDI, drug interaction, MecDDI, mechanism-based interaction, pharmacokinetic interaction, pharmacodynamic interaction, or any query involving two drugs that may interact.
| name | TarKG |
| description | Query canonical TarKG drug-target triplets. Use when the user asks about drug-target interactions, relation labels, disease/pathway context, or quick lookups for drugs/targets in TarKG. |
Query the canonical packaged TarKG TSV output.
resources_metadata/dti/TarKG/tarkg.tsvdrug, target, relation, disease, pathway| Function | Input | Returns |
|---|---|---|
load_tarkg(path) | TSV path | list[dict] |
query_entity(entity, rows, limit) | single entity string | dict |
query_entities(entities, path, limit) | list of entity strings | list[dict] |
query_entity returns keys used by retrieve.py: matched, node_info,
outgoing_edges, incoming_edges, candidates.
Run example.py directly for demo queries against the canonical TSV.