cmd.select("his1", "name CB and resn his within %s of (name CB and resn asp)"%(13.7))
cmd.select("his2", "name CD2 and resn his within %s of (name CB and resn asp)"%(13.7))
cmd.select("his3", "name CE1 and resn his within %s of (name CB and resn asp)"%(12.5))
cmd.select("his4", "name CG and resn his within %s of (name CB and resn asp)"%(13.2))
cmd.select("his5", "name ND1 and resn his within %s of (name CB and resn asp)"%(12.5))
cmd.select("his6", "name NE2 and resn his within %s of (name CB and resn asp)"%(13.2))
cmd.select("his7", "name CB and resn his within %s of (name CG and resn asp)"%(14.7))
cmd.select("his8", "name CD2 and resn his within %s of (name CG and resn asp)"%(14.9))
cmd.select("his9", "name CE1 and resn his within %s of (name CG and resn asp)"%(13.7))
cmd.select("his10", "name CG and resn his within %s of (name CG and resn asp)"%(14.4))
cmd.select("his11", "name ND1 and resn his within %s of (name CG and resn asp)"%(13.6))
cmd.select("his12", "name NE2 and resn his within %s of (name CG and resn asp)"%(14.5))
cmd.select("his13", "name CB and resn his within %s of (name OD1 and resn asp)"%(15.6))
cmd.select("his14", "name CD2 and resn his within %s of (name OD1 and resn asp)"%(15.8))
cmd.select("his15", "name CE1 and resn his within %s of (name OD1 and resn asp)"%(14.7))
cmd.select("his16", "name CG and resn his within %s of (name OD1 and resn asp)"%(15.3))
cmd.select("his17", "name ND1 and resn his within %s of (name OD1 and resn asp)"%(14.6))
cmd.select("his18", "name NE2 and resn his within %s of (name OD1 and resn asp)"%(15.4))
cmd.select("his19", "name CB and resn his within %s of (name OD2 and resn asp)"%(14.8))
cmd.select("his20", "name CD2 and resn his within %s of (name OD2 and resn asp)"%(15.2))
cmd.select("his21", "name CE1 and resn his within %s of (name OD2 and resn asp)"%(13.9))
cmd.select("his22", "name CG and resn his within %s of (name OD2 and resn asp)"%(14.5))
cmd.select("his23", "name ND1 and resn his within %s of (name OD2 and resn asp)"%(13.7))
cmd.select("his24", "name NE2 and resn his within %s of (name OD2 and resn asp)"%(14.8))
cmd.select("his25", "name CB and resn his within %s of (name CB and resn glu)"%(21.0))
cmd.select("his26", "name CD2 and resn his within %s of (name CB and resn glu)"%(21.4))
cmd.select("his27", "name CE1 and resn his within %s of (name CB and resn glu)"%(20.1))
cmd.select("his28", "name CG and resn his within %s of (name CB and resn glu)"%(20.8))
cmd.select("his29", "name ND1 and resn his within %s of (name CB and resn glu)"%(19.9))
cmd.select("his30", "name NE2 and resn his within %s of (name CB and resn glu)"%(21.0))
cmd.select("his31", "name CB and resn his within %s of (name CD and resn glu)"%(18.6))
cmd.select("his32", "name CD2 and resn his within %s of (name CD and resn glu)"%(19.0))
cmd.select("his33", "name CE1 and resn his within %s of (name CD and resn glu)"%(17.8))
cmd.select("his34", "name CG and resn his within %s of (name CD and resn glu)"%(18.4))
cmd.select("his35", "name ND1 and resn his within %s of (name CD and resn glu)"%(17.6))
cmd.select("his36", "name NE2 and resn his within %s of (name CD and resn glu)"%(18.6))
cmd.select("his37", "name CB and resn his within %s of (name CG and resn glu)"%(20.0))
cmd.select("his38", "name CD2 and resn his within %s of (name CG and resn glu)"%(20.5))
cmd.select("his39", "name CE1 and resn his within %s of (name CG and resn glu)"%(19.3))
cmd.select("his40", "name CG and resn his within %s of (name CG and resn glu)"%(19.8))
cmd.select("his41", "name ND1 and resn his within %s of (name CG and resn glu)"%(19.1))
cmd.select("his42", "name NE2 and resn his within %s of (name CG and resn glu)"%(20.1))
cmd.select("his43", "name CB and resn his within %s of (name OE1 and resn glu)"%(17.8))
cmd.select("his44", "name CD2 and resn his within %s of (name OE1 and resn glu)"%(18.2))
cmd.select("his45", "name CE1 and resn his within %s of (name OE1 and resn glu)"%(17.1))
cmd.select("his46", "name CG and resn his within %s of (name OE1 and resn glu)"%(17.6))
cmd.select("his47", "name ND1 and resn his within %s of (name OE1 and resn glu)"%(16.9))
cmd.select("his48", "name NE2 and resn his within %s of (name OE1 and resn glu)"%(17.9))
cmd.select("his49", "name CB and resn his within %s of (name OE2 and resn glu)"%(18.3))
cmd.select("his50", "name CD2 and resn his within %s of (name OE2 and resn glu)"%(18.7))
cmd.select("his51", "name CE1 and resn his within %s of (name OE2 and resn glu)"%(17.3))
cmd.select("his52", "name CG and resn his within %s of (name OE2 and resn glu)"%(18.0))
cmd.select("his53", "name ND1 and resn his within %s of (name OE2 and resn glu)"%(17.2))
cmd.select("his54", "name NE2 and resn his within %s of (name OE2 and resn glu)"%(18.2))
cmd.select("his","byres his54 and byres his53 and byres his52 and byres his51 and byres his50 and byres his49 and byres his48 and byres his47 and byres his46 and byres his45 and byres his44 and byres his43 and byres his42 and byres his41 and byres his40 and byres his39 and byres his38 and byres his37 and byres his36 and byres his35 and byres his34 and byres his33 and byres his32 and byres his31 and byres his30 and byres his29 and byres his28 and byres his27 and byres his26 and byres his25 and byres his24 and byres his23 and byres his22 and byres his21 and byres his20 and byres his19 and byres his18 and byres his17 and byres his16 and byres his15 and byres his14 and byres his13 and byres his12 and byres his11 and byres his10 and byres his9 and byres his8 and byres his7 and byres his6 and byres his5 and byres his4 and byres his3 and byres his2 and byres his1")
cmd.delete("his1")
cmd.delete("his2")
cmd.delete("his3")
cmd.delete("his4")
cmd.delete("his5")
cmd.delete("his6")
cmd.delete("his7")
cmd.delete("his8")
cmd.delete("his9")
cmd.delete("his10")
cmd.delete("his11")
cmd.delete("his12")
cmd.delete("his13")
cmd.delete("his14")
cmd.delete("his15")
cmd.delete("his16")
cmd.delete("his17")
cmd.delete("his18")
cmd.delete("his19")
cmd.delete("his20")
cmd.delete("his21")
cmd.delete("his22")
cmd.delete("his23")
cmd.delete("his24")
cmd.delete("his25")
cmd.delete("his26")
cmd.delete("his27")
cmd.delete("his28")
cmd.delete("his29")
cmd.delete("his30")
cmd.delete("his31")
cmd.delete("his32")
cmd.delete("his33")
cmd.delete("his34")
cmd.delete("his35")
cmd.delete("his36")
cmd.delete("his37")
cmd.delete("his38")
cmd.delete("his39")
cmd.delete("his40")
cmd.delete("his41")
cmd.delete("his42")
cmd.delete("his43")
cmd.delete("his44")
cmd.delete("his45")
cmd.delete("his46")
cmd.delete("his47")
cmd.delete("his48")
cmd.delete("his49")
cmd.delete("his50")
cmd.delete("his51")
cmd.delete("his52")
cmd.delete("his53")
cmd.delete("his54")
cmd.select("asp1", "name CB and resn asp within %s of (name CB and his)"%(13.7))
cmd.select("asp2", "name CG and resn asp within %s of (name CB and his)"%(14.7))
cmd.select("asp3", "name OD1 and resn asp within %s of (name CB and his)"%(15.6))
cmd.select("asp4", "name OD2 and resn asp within %s of (name CB and his)"%(14.8))
cmd.select("asp5", "name CB and resn asp within %s of (name CD2 and his)"%(13.7))
cmd.select("asp6", "name CG and resn asp within %s of (name CD2 and his)"%(14.9))
cmd.select("asp7", "name OD1 and resn asp within %s of (name CD2 and his)"%(15.8))
cmd.select("asp8", "name OD2 and resn asp within %s of (name CD2 and his)"%(15.2))
cmd.select("asp9", "name CB and resn asp within %s of (name CE1 and his)"%(12.5))
cmd.select("asp10", "name CG and resn asp within %s of (name CE1 and his)"%(13.7))
cmd.select("asp11", "name OD1 and resn asp within %s of (name CE1 and his)"%(14.7))
cmd.select("asp12", "name OD2 and resn asp within %s of (name CE1 and his)"%(13.9))
cmd.select("asp13", "name CB and resn asp within %s of (name CG and his)"%(13.2))
cmd.select("asp14", "name CG and resn asp within %s of (name CG and his)"%(14.4))
cmd.select("asp15", "name OD1 and resn asp within %s of (name CG and his)"%(15.3))
cmd.select("asp16", "name OD2 and resn asp within %s of (name CG and his)"%(14.5))
cmd.select("asp17", "name CB and resn asp within %s of (name ND1 and his)"%(12.5))
cmd.select("asp18", "name CG and resn asp within %s of (name ND1 and his)"%(13.6))
cmd.select("asp19", "name OD1 and resn asp within %s of (name ND1 and his)"%(14.6))
cmd.select("asp20", "name OD2 and resn asp within %s of (name ND1 and his)"%(13.7))
cmd.select("asp21", "name CB and resn asp within %s of (name NE2 and his)"%(13.2))
cmd.select("asp22", "name CG and resn asp within %s of (name NE2 and his)"%(14.5))
cmd.select("asp23", "name OD1 and resn asp within %s of (name NE2 and his)"%(15.4))
cmd.select("asp24", "name OD2 and resn asp within %s of (name NE2 and his)"%(14.8))
cmd.select("asp25", "name CB and resn asp within %s of (name CB and resn glu)"%(9.94))
cmd.select("asp26", "name CG and resn asp within %s of (name CB and resn glu)"%(8.58))
cmd.select("asp27", "name OD1 and resn asp within %s of (name CB and resn glu)"%(8.0))
cmd.select("asp28", "name OD2 and resn asp within %s of (name CB and resn glu)"%(8.23))
cmd.select("asp29", "name CB and resn asp within %s of (name CD and resn glu)"%(7.56))
cmd.select("asp30", "name CG and resn asp within %s of (name CD and resn glu)"%(6.13))
cmd.select("asp31", "name OD1 and resn asp within %s of (name CD and resn glu)"%(5.52))
cmd.select("asp32", "name OD2 and resn asp within %s of (name CD and resn glu)"%(5.88))
cmd.select("asp33", "name CB and resn asp within %s of (name CG and resn glu)"%(9.03))
cmd.select("asp34", "name CG and resn asp within %s of (name CG and resn glu)"%(7.61))
cmd.select("asp35", "name OD1 and resn asp within %s of (name CG and resn glu)"%(6.89))
cmd.select("asp36", "name OD2 and resn asp within %s of (name CG and resn glu)"%(7.38))
cmd.select("asp37", "name CB and resn asp within %s of (name OE1 and resn glu)"%(6.86))
cmd.select("asp38", "name CG and resn asp within %s of (name OE1 and resn glu)"%(5.43))
cmd.select("asp39", "name OD1 and resn asp within %s of (name OE1 and resn glu)"%(4.61))
cmd.select("asp40", "name OD2 and resn asp within %s of (name OE1 and resn glu)"%(5.42))
cmd.select("asp41", "name CB and resn asp within %s of (name OE2 and resn glu)"%(7.33))
cmd.select("asp42", "name CG and resn asp within %s of (name OE2 and resn glu)"%(5.98))
cmd.select("asp43", "name OD1 and resn asp within %s of (name OE2 and resn glu)"%(5.71))
cmd.select("asp44", "name OD2 and resn asp within %s of (name OE2 and resn glu)"%(5.51))
cmd.select("asp","byres asp44 and byres asp43 and byres asp42 and byres asp41 and byres asp40 and byres asp39 and byres asp38 and byres asp37 and byres asp36 and byres asp35 and byres asp34 and byres asp33 and byres asp32 and byres asp31 and byres asp30 and byres asp29 and byres asp28 and byres asp27 and byres asp26 and byres asp25 and byres asp24 and byres asp23 and byres asp22 and byres asp21 and byres asp20 and byres asp19 and byres asp18 and byres asp17 and byres asp16 and byres asp15 and byres asp14 and byres asp13 and byres asp12 and byres asp11 and byres asp10 and byres asp9 and byres asp8 and byres asp7 and byres asp6 and byres asp5 and byres asp4 and byres asp3 and byres asp2 and byres asp1")
cmd.delete("asp1")
cmd.delete("asp2")
cmd.delete("asp3")
cmd.delete("asp4")
cmd.delete("asp5")
cmd.delete("asp6")
cmd.delete("asp7")
cmd.delete("asp8")
cmd.delete("asp9")
cmd.delete("asp10")
cmd.delete("asp11")
cmd.delete("asp12")
cmd.delete("asp13")
cmd.delete("asp14")
cmd.delete("asp15")
cmd.delete("asp16")
cmd.delete("asp17")
cmd.delete("asp18")
cmd.delete("asp19")
cmd.delete("asp20")
cmd.delete("asp21")
cmd.delete("asp22")
cmd.delete("asp23")
cmd.delete("asp24")
cmd.delete("asp25")
cmd.delete("asp26")
cmd.delete("asp27")
cmd.delete("asp28")
cmd.delete("asp29")
cmd.delete("asp30")
cmd.delete("asp31")
cmd.delete("asp32")
cmd.delete("asp33")
cmd.delete("asp34")
cmd.delete("asp35")
cmd.delete("asp36")
cmd.delete("asp37")
cmd.delete("asp38")
cmd.delete("asp39")
cmd.delete("asp40")
cmd.delete("asp41")
cmd.delete("asp42")
cmd.delete("asp43")
cmd.delete("asp44")
cmd.select("glu1", "name CB and resn glu within %s of (name CB and his)"%(21.0))
cmd.select("glu2", "name CD and resn glu within %s of (name CB and his)"%(18.6))
cmd.select("glu3", "name CG and resn glu within %s of (name CB and his)"%(20.0))
cmd.select("glu4", "name OE1 and resn glu within %s of (name CB and his)"%(17.8))
cmd.select("glu5", "name OE2 and resn glu within %s of (name CB and his)"%(18.3))
cmd.select("glu6", "name CB and resn glu within %s of (name CD2 and his)"%(21.4))
cmd.select("glu7", "name CD and resn glu within %s of (name CD2 and his)"%(19.0))
cmd.select("glu8", "name CG and resn glu within %s of (name CD2 and his)"%(20.5))
cmd.select("glu9", "name OE1 and resn glu within %s of (name CD2 and his)"%(18.2))
cmd.select("glu10", "name OE2 and resn glu within %s of (name CD2 and his)"%(18.7))
cmd.select("glu11", "name CB and resn glu within %s of (name CE1 and his)"%(20.1))
cmd.select("glu12", "name CD and resn glu within %s of (name CE1 and his)"%(17.8))
cmd.select("glu13", "name CG and resn glu within %s of (name CE1 and his)"%(19.3))
cmd.select("glu14", "name OE1 and resn glu within %s of (name CE1 and his)"%(17.1))
cmd.select("glu15", "name OE2 and resn glu within %s of (name CE1 and his)"%(17.3))
cmd.select("glu16", "name CB and resn glu within %s of (name CG and his)"%(20.8))
cmd.select("glu17", "name CD and resn glu within %s of (name CG and his)"%(18.4))
cmd.select("glu18", "name CG and resn glu within %s of (name CG and his)"%(19.8))
cmd.select("glu19", "name OE1 and resn glu within %s of (name CG and his)"%(17.6))
cmd.select("glu20", "name OE2 and resn glu within %s of (name CG and his)"%(18.0))
cmd.select("glu21", "name CB and resn glu within %s of (name ND1 and his)"%(19.9))
cmd.select("glu22", "name CD and resn glu within %s of (name ND1 and his)"%(17.6))
cmd.select("glu23", "name CG and resn glu within %s of (name ND1 and his)"%(19.1))
cmd.select("glu24", "name OE1 and resn glu within %s of (name ND1 and his)"%(16.9))
cmd.select("glu25", "name OE2 and resn glu within %s of (name ND1 and his)"%(17.2))
cmd.select("glu26", "name CB and resn glu within %s of (name NE2 and his)"%(21.0))
cmd.select("glu27", "name CD and resn glu within %s of (name NE2 and his)"%(18.6))
cmd.select("glu28", "name CG and resn glu within %s of (name NE2 and his)"%(20.1))
cmd.select("glu29", "name OE1 and resn glu within %s of (name NE2 and his)"%(17.9))
cmd.select("glu30", "name OE2 and resn glu within %s of (name NE2 and his)"%(18.2))
cmd.select("glu31", "name CB and resn glu within %s of (name CB and asp)"%(9.94))
cmd.select("glu32", "name CD and resn glu within %s of (name CB and asp)"%(7.56))
cmd.select("glu33", "name CG and resn glu within %s of (name CB and asp)"%(9.03))
cmd.select("glu34", "name OE1 and resn glu within %s of (name CB and asp)"%(6.86))
cmd.select("glu35", "name OE2 and resn glu within %s of (name CB and asp)"%(7.33))
cmd.select("glu36", "name CB and resn glu within %s of (name CG and asp)"%(8.58))
cmd.select("glu37", "name CD and resn glu within %s of (name CG and asp)"%(6.13))
cmd.select("glu38", "name CG and resn glu within %s of (name CG and asp)"%(7.61))
cmd.select("glu39", "name OE1 and resn glu within %s of (name CG and asp)"%(5.43))
cmd.select("glu40", "name OE2 and resn glu within %s of (name CG and asp)"%(5.98))
cmd.select("glu41", "name CB and resn glu within %s of (name OD1 and asp)"%(8.0))
cmd.select("glu42", "name CD and resn glu within %s of (name OD1 and asp)"%(5.52))
cmd.select("glu43", "name CG and resn glu within %s of (name OD1 and asp)"%(6.89))
cmd.select("glu44", "name OE1 and resn glu within %s of (name OD1 and asp)"%(4.61))
cmd.select("glu45", "name OE2 and resn glu within %s of (name OD1 and asp)"%(5.71))
cmd.select("glu46", "name CB and resn glu within %s of (name OD2 and asp)"%(8.23))
cmd.select("glu47", "name CD and resn glu within %s of (name OD2 and asp)"%(5.88))
cmd.select("glu48", "name CG and resn glu within %s of (name OD2 and asp)"%(7.38))
cmd.select("glu49", "name OE1 and resn glu within %s of (name OD2 and asp)"%(5.42))
cmd.select("glu50", "name OE2 and resn glu within %s of (name OD2 and asp)"%(5.51))
cmd.select("glu","byres glu50 and byres glu49 and byres glu48 and byres glu47 and byres glu46 and byres glu45 and byres glu44 and byres glu43 and byres glu42 and byres glu41 and byres glu40 and byres glu39 and byres glu38 and byres glu37 and byres glu36 and byres glu35 and byres glu34 and byres glu33 and byres glu32 and byres glu31 and byres glu30 and byres glu29 and byres glu28 and byres glu27 and byres glu26 and byres glu25 and byres glu24 and byres glu23 and byres glu22 and byres glu21 and byres glu20 and byres glu19 and byres glu18 and byres glu17 and byres glu16 and byres glu15 and byres glu14 and byres glu13 and byres glu12 and byres glu11 and byres glu10 and byres glu9 and byres glu8 and byres glu7 and byres glu6 and byres glu5 and byres glu4 and byres glu3 and byres glu2 and byres glu1")
cmd.delete("glu1")
cmd.delete("glu2")
cmd.delete("glu3")
cmd.delete("glu4")
cmd.delete("glu5")
cmd.delete("glu6")
cmd.delete("glu7")
cmd.delete("glu8")
cmd.delete("glu9")
cmd.delete("glu10")
cmd.delete("glu11")
cmd.delete("glu12")
cmd.delete("glu13")
cmd.delete("glu14")
cmd.delete("glu15")
cmd.delete("glu16")
cmd.delete("glu17")
cmd.delete("glu18")
cmd.delete("glu19")
cmd.delete("glu20")
cmd.delete("glu21")
cmd.delete("glu22")
cmd.delete("glu23")
cmd.delete("glu24")
cmd.delete("glu25")
cmd.delete("glu26")
cmd.delete("glu27")
cmd.delete("glu28")
cmd.delete("glu29")
cmd.delete("glu30")
cmd.delete("glu31")
cmd.delete("glu32")
cmd.delete("glu33")
cmd.delete("glu34")
cmd.delete("glu35")
cmd.delete("glu36")
cmd.delete("glu37")
cmd.delete("glu38")
cmd.delete("glu39")
cmd.delete("glu40")
cmd.delete("glu41")
cmd.delete("glu42")
cmd.delete("glu43")
cmd.delete("glu44")
cmd.delete("glu45")
cmd.delete("glu46")
cmd.delete("glu47")
cmd.delete("glu48")
cmd.delete("glu49")
cmd.delete("glu50")
cmd.select("Motif","his(asp(glu))")
cmd.delete('his')
cmd.delete('asp')
cmd.delete('glu')
cmd.hide("everything","all")
cmd.show("cartoon", "all")
cmd.set("cartoon_transparency","0.5", "all")
cmd.show("sticks","Motif")
cmd.color("grey","all")
cmd.color("oxygen","(elem O and Motif)")
cmd.color("nitrogen","(elem N and Motif)")
cmd.color("sulfur","(elem S and Motif)")
cmd.color("hydrogen","(elem H and Motif)")
cmd.color("white","(elem C and Motif)")
cmd.deselect()
cmd.orient("Motif")
