#!rasmol -script
# File: haem5.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
slab off
rotate z -145
rotate y -58
rotate x 81
translate x 31
translate y -79
zoom 386

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 heme group with oxygen bound to irons
restrict hem and *a
select hem and *a
connect true
centre atomno=1071
wireframe 40
cpk 120
select carbon and hem
color greenblue
select nitrogen and hem
color blue
select oxygen and hem
color red
select iron and hem
color orange



#tell viewer about molecule
echo Oxygen bound to the heme group of haemolgobin
echo Carbon in green
echo Nitrogen in blue
echo Oxygen in red
echo Iron in orange