cmd.read_pdbstr("""\ """, "chain2D") cmd.hide("all") cmd.color('grey70', "chain2D") cmd.show('ribbon', "chain2D") cmd.select("e6of12D2", "c. D & i. 2-126") cmd.center("e6of12D2", state=0, origin=1) cmd.zoom("e6of12D2", animate=-1) cmd.show_as('cartoon', "e6of12D2") cmd.spectrum('count', 'rainbow', "e6of12D2") cmd.disable("e6of12D2") cmd.show('spheres', 'c. A & i. 3183 | c. A & i. 3399 | c. A & i. 3481 | c. A & i. 3516 | c. D & i. 302 | c. D & i. 303') util.cbag('c. A & i. 3183 | c. A & i. 3399 | c. A & i. 3481 | c. A & i. 3516 | c. D & i. 302 | c. D & i. 303')