#!rasmol -script
# File: haem5.spt
# Creator: RasMol Version 2.6, modified by Eleanor Stainback

background [0,0,0]
set ambient 60
set specular off

reset
select all
cpk off
label off
ribbon off
wireframe
slab off
rotate z -145
rotate y -58
rotate x 81
translate x 31
translate y -79
zoom 386


# 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 Carbon Monoxide bound to the heme group of haemolgobin
echo Carbon in green
echo Nitrogen in blue
echo Oxygen in red
echo Iron in orange