Skip to content

Instantly share code, notes, and snippets.

@JonasR
Created August 31, 2012 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JonasR/3557863 to your computer and use it in GitHub Desktop.
Save JonasR/3557863 to your computer and use it in GitHub Desktop.
create trajectory pngs
##Thanks to Hemochromatosis journal for help
load ../../referenz_close_lessshallow.pse, ref
load ../../Output/178H/out/178H.pdb, traj
align traj, REFERENZchaina
zoom traj, buffer=-6
delete REFERENZchaina
#Representations and colouring
hide everything, all
show cartoon, traj
#Calc sec str for every frame
dss
colour green
select mutations, resi 11+15
color red, mutations
show sticks, mutations
##Create pngs of movie
mset 1 100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000
viewport 900, 675
bg_color white
set ray_opaque_background, off
set ray_trace_frames, 1
set ray_shadows,0;
set cache_frames=0
set ray_trace_mode, 0; # color raytrace, no outlines
set antialias, 2; #High anti-aliasings
mclear
mpng mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment