cmd.read_pdbstr("""\ """, "chain2n") cmd.hide("all") cmd.color('grey70', "chain2n") cmd.show('ribbon', "chain2n") cmd.select("e4y4p2n1", "c. n & i. 2-61") cmd.center("e4y4p2n1", state=0, origin=1) cmd.zoom("e4y4p2n1", animate=-1) cmd.show_as('cartoon', "e4y4p2n1") cmd.spectrum('count', 'rainbow', "e4y4p2n1") cmd.disable("e4y4p2n1") cmd.show('spheres', 'c. n & i. 501 | c. n & i. 502') util.cbag('c. n & i. 501 | c. n & i. 502')