chembl-database-visualize
Skill0 starsChanged 2 months agoApache-2.0View on GitHub
Query the ChEMBL database for bioactive molecules, drug targets, bioactivity data (IC50, Ki, EC50), drug mechanisms, and chemical similarity/substructure searches. Synthesizes results into interactive standalone web dashboards featuring 2D/3D molecular structure viewers, Lipinski radar charts, and SAR potency distribution plots. Use when the user asks to analyze, visualize, or compare compounds, targets, or bioactivity profiles.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
License Guard: Verify that .licenses/chembl_database_visualize_LICENSE.txt exists in the workspace root.
- Very specific: line 22
Execute Utility Scripts: Always invoke the provided Python scripts in scripts/.
- Distinctive: line 24
Normalize Bioactivity: Always normalize bioactivity concentration units to nM when comparing affinities across studies.
- Distinctive: line 31
Run full compound profiling, structure fetching, and dashboard generation:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ChEMBL Database Visualize
Overview
Provides programmatic queries and visual analytics for EMBL-EBI's ChEMBL bioactivity database. Generates standalone interactive web dashboards with 3D conformer viewers, 2D vector diagrams, physicochemical property profiles, and structure-activity relationship (SAR) potency plots.
Prerequisites
- Python Environment: Python 3.10+ with
polite-http(or standardurllib.request). - License Guard: Verify that
.licenses/chembl_database_visualize_LICENSE.txtexists in the workspace root. If absent, display the licensing notice and create the file with an ISO timestamp before querying.
Core Rules
- Execute Utility Scripts: Always invoke the provided Python scripts in
scripts/. Do not perform ad-hoccurlor un-rate-limited queries against the ChEMBL API. - Rate Limiting Compliance: Enforce the 5.0 QPS limit to respect EMBL-EBI service quotas.
- Normalize Bioactivity: Always normalize bioactivity concentration units to nM when comparing affinities across studies.
- Interactive Dashboard Delivery: Deliver the generated
dashboard.htmlas the visual analytics artifact whenever compound or SAR inquiries are made. - Skill Attribution: State in the output that the ChEMBL Database Visualize skill was used, citing Zdrazil et al. (2024).
Workflows
1. Unified End-to-End Pipeline (Recommended)
Run full compound profiling, structure fetching, and dashboard generation:
python3 scripts/run_pipeline.py --molecule CHEMBL25 -o ./output/CHEMBL25/Target SAR and bioactivity distribution:
python3 scripts/run_pipeline.py --target CHEMBL203 --activity_type IC50 -o ./output/CHEMBL203/Chemical similarity search with interactive analog gallery:
python3 scripts/run_pipeline.py --smiles "CC(=O)Oc1ccccc1C(=O)O" --similarity 85 -o ./output/aspirin_analogs/Offline synthetic mock mode (for sandboxed testing without network):
python3 scripts/run_pipeline.py --molecule CHEMBL25 -o ./output/mock_compound/ --mock2. Modular Subcommands
Query raw endpoints directly using scripts/chembl_api.py:
# Fetch molecule data
python3 scripts/chembl_api.py molecule --id CHEMBL25 --output ./output/mol.json
# Fetch normalized bioactivity
python3 scripts/chembl_api.py activity --filter target_chembl_id=CHEMBL203 standard_type=IC50 --normalize --limit 20 --output ./output/act.json
# Download 3D SDF structure
python3 scripts/chembl_api.py molecule --id CHEMBL25 --dl_format sdf --output ./output/mol.sdf
# Download 2D vector image
python3 scripts/chembl_api.py image --id CHEMBL25 --output ./output/mol.svgDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

