Skip to content

Instantly share code, notes, and snippets.

View kate-fie's full-sized avatar

Kate Fieseler kate-fie

View GitHub Profile
@bobbypaton
bobbypaton / pymol_style.py
Last active November 16, 2025 17:23
Create high quality ball-and-stick molecular images with Pymol and other things like ESP surfaces and spin density plots
# BallnStick creates a ball and stick representation of an object
# Add_VDW creates a copy of an object with full-sized, transparent spheres
# Bondi VDW values added below to override default Pymol settings
from pymol import cmd
from pymol import stored
# Bondi VDW values
cmd.alter("elem Ac", "vdw=2.00")
cmd.alter("elem Al", "vdw=2.00")
cmd.alter("elem Am", "vdw=2.00")
cmd.alter("elem Sb", "vdw=2.00")