# Open P22 virus asymmetric unit open 2xyy # Open second state of P22. open 2xyz # Compute morph from first state to second morph start #0 frames 120 morph interpolate #1 morph movie # Undisplay the asymmetric units ~modeldisp #0,1 # Zoom to show full capsid windowsize 800 800 sym #2 surf true res 3 focus # Turn on shadows set shadow # Color ribbons rainbow chain # Record movie playing morph of asym unit and copying coordinates to full capsid. movie record supersample 3 coord #2 1,121 ; perframe "~sym #2 ; sym #2 surf true res 3" frames 120 wait 120 movie encode ~/Desktop/p22surf.mp4 quality higher