$npx -y skills add QSong-github/DrugClaw --skill drugcombQuery 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
| 1 | # DrugComb Query Skill |
| 2 | |
| 3 | Search DrugComb summary records by any entity. Auto-detects type by pattern: |
| 4 | |
| 5 | | Input Pattern | Detected As | Match Logic | |
| 6 | |---|---|---| |
| 7 | | `5-FU` / `imatinib` | drug name | case-insensitive substring on `drug_row` OR `drug_col` | |
| 8 | | `A549` / `MCF-7` | cell line | case-insensitive substring on `cell_line_name` | |
| 9 | | `12345` (pure digits) | block_id | exact on `block_id` | |
| 10 | | `CID:2244` | PubChem CID | exact on `drug_row_cid` OR `drug_col_cid` | |
| 11 | |
| 12 | ## API |
| 13 | |
| 14 | | Function | Input | Returns | |
| 15 | |---|---|---| |
| 16 | | `load_drugcomb(path)` | CSV path | `list[dict]` | |
| 17 | | `columns(data)` | loaded data | column name list | |
| 18 | | `search(data, entity)` | single entity string | `list[dict]` | |
| 19 | | `search_batch(data, entities)` | list of entity strings | `dict[str, list[dict]]` | |
| 20 | | `summarize(hits, entity)` | hit list + label | compact LLM-readable text | |
| 21 | | `to_json(hits)` | hit list | `list[dict]` | |
| 22 | |
| 23 | ## Usage |
| 24 | |
| 25 | See `if __name__ == "__main__"` block in `example.py` for runnable examples covering: drug name search, cell-line search, batch search, and JSON output. |
| 26 | |
| 27 | ## Data |
| 28 | |
| 29 | - **Source**: DrugComb normalized full-package output |
| 30 | - **Key columns**: `drug_row`, `drug_col`, `cell_line_name`, `synergy_zip`, `synergy_bliss` |
| 31 | - **Path**: `resources_metadata/drug_combination/DrugComb/drugcomb.csv` |
| 32 | |
| 33 | ## Citation |
| 34 | |
| 35 | Zagidullin B, Aldahdooh J, Zheng S, et al. DrugComb: an integrative cancer drug combination data portal. *Nucleic Acids Res.* 2019;47(W1):W43–W51. doi:10.1093/nar/gkz337 |