cmd.read_pdbstr("""\ """, "chain2D") cmd.hide("all") cmd.color('grey70', "chain2D") cmd.show('ribbon', "chain2D") cmd.select("e6cfj2D1", "c. D & i. 2-126") cmd.center("e6cfj2D1", state=0, origin=1) cmd.zoom("e6cfj2D1", animate=-1) cmd.show_as('cartoon', "e6cfj2D1") cmd.spectrum('count', 'rainbow', "e6cfj2D1") cmd.disable("e6cfj2D1") cmd.show('spheres', 'c. A & i. 3091 | c. A & i. 3729 | c. D & i. 301 | c. D & i. 303 | c. D & i. 306 | c. D & i. 307') util.cbag('c. A & i. 3091 | c. A & i. 3729 | c. D & i. 301 | c. D & i. 303 | c. D & i. 306 | c. D & i. 307')