define set1 *.O4*
define set2 dna and oxygen and backbone and not set1
define set3 dna and nitrogen
define set4 dna and oxygen and not backbone
define dnapol (set1, set2, set3, set4)
define dnanp dna and (phosphorus, carbon, sulfur)
define propol protein and (nitrogen, oxygen)
define pronp protein and (carbon, sulfur)
define ribpol propol and within (3.5, set1)
define ribnp pronp and within (4.5, (dna and backbone and carbon))
define phopol propol and within (3.5, set2)
define phonp pronp and within (4.5, phosphorus)
define majpol propol and within (3.5, (dc and *.N4, da and (*.N6, *.N7), dg and (*.N6, *.O7), dt and *.O4))
define minpol propol and within (3.5, (dc and *.O2, da and (*.O2, *.N3), dg and (*.N2, *.N3), dt and *.O2))
define majnp pronp and within (4.5, (dc and (*.C4, *.C5, *.C6), da and (*.C5, *.C6, *.C8), dg and (*.C5, *.C6, *.C8), dt and (*.C5M, *.C4, *.C5, *.C6)))
define minnp pronp and within (4.5, (dc and *.C2, da and *.C2, dg and *.C2))

