#!rasmol -script
# File: helix.spt
# Creator: RasMol Version 2.6-modified by E Stainback
#Assumes file already loaded into Rasmol Window
background [0,0,0]

set ambient 60
set specular off

reset
slab off
rotate z 146
rotate y 59
rotate x 131
zoom 250

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


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

# Atoms
colour atoms [255,255,0]
spacefill off

#helix
restrict 13-32
select nitrogen
color blue
select oxygen
color red
select 13-32
ribbon
hbonds 10
centre 25

#echo statements
echo An alpha helix from the enzyme carboxypeptidase A
echo nitrogen in blue
echo oxygen in red
echo note hydrogen bonds within helix structure