huang-sh/deepscience/molecule-visualization
Claude Code and agent skill by huang-sh/deepscience
- community
Checking that the SKILL.md file is still in the repository.
Publication-quality molecular visualization. 2D structure drawings (PNG/SVG), molecule grids with property annotations, scaffold highlighting, protein-ligand interaction diagrams, and interactive 3D views.
Install
npx vskill@latest install huang-sh/deepscience/molecule-visualizationSKILL.md
Molecule Visualization
Generate publication-quality molecular images for drug discovery, medicinal chemistry, and computational chemistry workflows. This skill provides a comprehensive suite of tools for rendering 2D structural drawings, annotated molecule grids, scaffold decomposition views, protein-ligand interaction diagrams, and interactive 3D molecular viewers.
When to Use
- 2D structure drawings: Generate clean, high-resolution depictions of small molecules for papers, patents, reports, and presentations.
- Molecule grids: Compare compound series side-by-side with property annotations (QED, LogP, MW, etc.).
- Scaffold highlighting: Visualize SAR by decomposing molecules into core scaffolds and R-groups.
- Interaction diagrams: Summarize protein-ligand binding modes from docking or crystal structures.
- 3D interactive views: Create browser-based 3D viewers for proteins, ligands, and complexes.
Installation
All scripts require Python 3.8+ and the following packages:
Core Workflows
1. Single Molecule Drawing (scripts/draw_2d.py)
Render a single molecule as a high-quality PNG or SVG image.
2. Molecule Grid (scripts/draw_grid.py)
Compare multiple molecules in a grid layout with optional property annotations.
3. Scaffold Highlighting (scripts/draw_scaffold.py)
Decompose molecules into scaffolds and R-groups for SAR analysis.
4. Protein-Ligand Interaction Diagram (scripts/draw_interactions.py)
Generate 2D interaction diagrams from protein-ligand complexes.
5. Interactive 3D View (scripts/render_3d.py)
Create self-contained HTML files with interactive 3D molecular viewers.
6. Pocket Visualization (scripts/render_3d.py --mode pockets)
Visualize detected binding pockets as colored spheres on the protein surface. Sphere color indicates druggability: green (>0.7), orange (0.4-0.7), red (<0.4). Sphere size is proportional to pocket volume.
7. Docking Results Visualization (scripts/render_3d.py --mode docking-results)
Overlay top docked poses on the protein, colored by rank (green = best, red = worst). The top-ranked pose gets a translucent surface highlight.
Script Reference
| Script | Purpose | Key Inputs | |
|---|---|---|---|
draw_2d.py | Single molecule 2D drawing | SMILES, output path | |
draw_grid.py | Multi-molecule grid | CSV or SMILES list, output path | |
draw_scaffold.py | Scaffold and R-group analysis | SMILES, scaffold, output path | |
draw_interactions.py | Protein-ligand interactions | PDB, SDF, output path | |
render_3d.py | Interactive 3D viewer | PDB/SDF/SMILES, output HTML |
Style Guide
See references/style_guide.md for detailed guidance on:
- Colors: CPK atom coloring scheme (C=gray, N=blue, O=red, S=yellow, Cl=green, etc.)
- Resolution: 300 DPI minimum for print; 150 DPI for screen. Vector (SVG) preferred for publications.
- Font sizes: 12pt minimum for labels in figures; 8pt minimum for atom indices.
- Image dimensions: Single molecule 400x300px default; grid cells 300x250px; interaction diagrams 800x800px.
- Interaction colors: Green for H-bonds, gray for hydrophobic, orange for pi-stacking, red for salt bridges.
- Colorblind-friendly: Prefer blue/orange instead of red/green when accessibility is a concern.
- 2D vs 3D: Use 2D for SAR tables, patent figures, and print publications. Use 3D for binding mode analysis, presentations, and supplementary material.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/science/skills/chemistry/molecule-visualization/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/huang-sh/deepscience/molecule-visualization)