Skip to content

v0.3.3 — interactive HTML Ramachandran (Plotly)

Choose a tag to compare

@krisss0mecom krisss0mecom released this 01 May 20:16
· 13 commits to main since this release

Pretty visualization upgrade: --plot-html generates a self-contained interactive HTML Ramachandran map.

Features

  • Smooth filled contours instead of blocky histogram
  • Dark theme (plotly_dark)
  • Hover for exact density values at any (phi, psi)
  • Zoom + pan + auto-screenshot button
  • Per-residue subplot grid for peptides up to 16 residues
  • Annotated canonical basins (alpha-R, beta, PPII, alpha-L)
  • Self-contained HTML (CDN-loaded plotly), 50-200 KB typical
  • Opens in any browser, no server needed, share by email

Usage
alphadynamics predict --sequence KLVFFAE --plot-html --device cpu -o out.npz

writes out.npz and out_ramachandran.html

both formats together:

alphadynamics predict --sequence KLVFFAE --plot --plot-html --device cpu -o out.npz

Install plotly via:
pip install 'alphadynamics[viz]'

Plugin SKILL.md updated so Claude Code picks PNG vs HTML based on user intent.