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