define big  c.n4,a.n6,t.o4,g.o6,g.n7,a.n7,t.c5m,c.c5,g.c8,a.c8,t.c6,c.c6,g.c5,a.c5
define sml  c.o2,t.o2,g.n3,g.n2,a.n3,a.c2
define dr  *.C1*, *.C2*,*.C3*,*.C4*,*.C5*,*.O3*,*.O4*,*.O5*

define pa_pol *.O1P, *.O2P
define pa_npol *.P

define pol *.O??, *.N??
define npol *.C??, *.P??, *.S??

select all
restrict none

select dna
backbone 100
color green
select protein
wireframe 25
color chain
pause

select protein and pol and (within(3.5,(dr and pol)))
cpk 200
color red
pause

select protein and npol and (within(4.5,(dr and npol)))
cpk 200
color orange
pause

select all
restrict none

select dna
backbone 100
color green
select protein
wireframe 25
color chain
pause

select protein and pol and (within(3.5,pa_pol))
cpk 200
color red
pause

select protein and npol and (within(4.5,pa_npol))
cpk 200
color orange
pause

select all
restrict none

select dna
backbone 100
color green
select protein
wireframe 25
color chain
pause

select protein and pol and (within(3.5,big and pol))
cpk 200
color red
pause

select protein and npol and (within(4.5,big and npol))
cpk 200
color orange
pause

select all
restrict none

select dna
backbone 100
color green
select protein
wireframe 25
color chain
pause

select protein and pol and (within(3.5,sml and pol))
cpk 200
color red
pause

select protein and npol and (within(4.5,sml and npol))
cpk 200
color orange
pause

