#!rasmol -script
# File: rsa3.spt
# Creator: RasMol Version 2.6, modified by Eleanor Stainback
# Assumes pdb file already loaded in Rasmol Window
background [0,0,0]

set ambient 60
set specular off

reset
select all
cpk off
label off
ribbon off
wireframe
slab 100
set slabmode solid
rotate z 115
rotate y 81
rotate x 162
translate x 2
translate y -8
zoom 145

set bonds off
set axes off
set boundingbox off
set unitcell off
set bondmode and
dots off


# Avoid Colour Problems!
select all
colour bonds none
colour backbone none
colour hbonds none
colour ssbonds none
colour ribbons none
colour white

#isolate polar vs buried vs others, no water
select all
color yellow
cpk
select water
cpk off
wireframe off
select polar
color blue
select buried
color magenta

#tell viewer about molecule
echo Ribonuclease A
echo Polar residues in blue, hydrophobic residues in pink,
echo others in yellow
echo NB. Water molecules not shown
echo Use the slab command to view the interior of the molecule
echo eg. 'slab 45', use 'slab 100' to reset