#!/usr/local/bin/vmd # VMD script written by save_state # VMD version: 1.8.1b8 set viewplist {} set fixedlist {} # Atom selection macros atomselect macro at {resname ADE A THY T} atomselect macro acidic {resname ASP GLU} atomselect macro cyclic {resname HIS PHE PRO TRP TYR} atomselect macro acyclic {protein and not cyclic} atomselect macro aliphatic {resname ALA GLY ILE LEU VAL} atomselect macro alpha {protein and name CA} atomselect macro amino protein atomselect macro aromatic {resname HIS PHE TRP TYR} atomselect macro basic {resname ARG HIS LYS} atomselect macro bonded {numbonds > 0} atomselect macro buried {resname ALA LEU VAL ILE PHE CYS MET TRP} atomselect macro cg {resname CYT C GUA G} atomselect macro charged {basic or acidic} atomselect macro hetero {not (protein or nucleic)} atomselect macro hydrophobic {resname ALA LEU VAL ILE PRO PHE MET TRP} atomselect macro small {resname ALA GLY SER} atomselect macro medium {resname VAL THR ASP ASN PRO CYS ASX PCA HYP} atomselect macro large {protein and not (small or medium)} atomselect macro neutral {resname VAL PHE GLN TYR HIS CYS MET TRP ASX GLX PCA HYP} atomselect macro polar {protein and not hydrophobic} atomselect macro purine {resname ADE A GUA G} atomselect macro pyrimidine {resname CYT C THY T URI U} atomselect macro surface {protein and not buried} atomselect macro lipid {resname DLPE DMPC GPC LPPC PALM PC PGCL POPC POPE} atomselect macro ion {name CAL CLA MG POT SOD ZN} atomselect macro sugar {resname AGLC} atomselect macro solvent {not (protein or sugar or nucleic or lipid)} atomselect macro carbon {name "C.*" and not ion} atomselect macro hydrogen {name "[0-9]?H.*"} atomselect macro nitrogen {name "N.*"} atomselect macro oxygen {name "O.*"} atomselect macro sulfur {name "S.*" and not ion} atomselect macro noh {not hydrogen} # Display settings display eyesep 0.065000 display focallength 2.000000 display height 6.000000 display distance -2.000000 display projection Orthographic display nearclip set 0.500000 display farclip set 10.000000 display depthcue off display cuestart 0.500000 display cueend 10.000000 display cuedensity 0.400000 display cuemode Exp2 mol new {da.psf} type psf mol addfile {imd_ini.pdb} type pdb mol delrep 0 top mol representation Ribbons 0.300000 6.000000 2.000000 mol color Name mol selection {all} mol material Opaque mol addrep top mol representation CPK 1.000000 0.300000 8.000000 6.000000 mol color Name mol selection {all} mol material Opaque mol addrep top mol representation VDW 0.400000 8.000000 mol color ColorID 3 mol selection {resid 1 and name CA} mol material Opaque mol addrep top mol rename top {da.psf} set viewpoints([molinfo top]) {{{1.000000 0.000000 0.000000 -0.767000} {0.000000 1.000000 0.000000 1.116000} {0.000000 0.000000 1.000000 0.506000} {0.000000 0.000000 0.000000 1.000000}} {{1.000000 0.000000 0.000000 0.000000} {0.000000 1.000000 0.000000 0.000000} {0.000000 0.000000 1.000000 0.000000} {0.000000 0.000000 0.000000 1.000000}} {{0.099252 0.000000 0.000000 0.000000} {0.000000 0.099252 0.000000 0.000000} {0.000000 0.000000 0.099252 0.000000} {0.000000 0.000000 0.000000 1.000000}} {{1.000000 0.000000 0.000000 0.616782} {0.000000 1.000000 0.000000 -0.166812} {0.000000 0.000000 1.000000 -0.354075} {0.000000 0.000000 0.000000 1.000000}}} lappend viewplist [molinfo top] set topmol [molinfo top] # done with molecule 0 foreach v $viewplist { molinfo $v set {center_matrix rotate_matrix scale_matrix global_matrix} $viewpoints($v) } foreach v $fixedlist { molinfo $v set fixed 1 } unset viewplist unset fixedlist mol top $topmol unset topmol proc vmdrestoremycolors {} { color Chain {B} blue color Segname {BH} blue color Molecule {0} blue color Molecule {da.psf} blue color Surface {Grasp} gray color Labels {Springs} orange color change rgb 0 0.0 0.0 1.0 color change rgb 2 0.34999999404 0.34999999404 0.34999999404 color change rgb 3 1.0 0.5 0.0 color change rgb 4 1.0 1.0 0.0 color change rgb 5 0.5 0.5 0.20000000298 color change rgb 6 0.600000023842 0.600000023842 0.600000023842 color change rgb 7 0.0 1.0 0.0 color change rgb 9 1.0 0.600000023842 0.600000023842 color change rgb 11 0.649999976158 0.0 0.649999976158 color change rgb 12 0.5 0.899999976158 0.40000000596 color change rgb 13 0.899999976158 0.40000000596 0.699999988079 color change rgb 14 0.5 0.300000011921 0.0 color change rgb 15 0.5 0.5 0.75 } vmdrestoremycolors