cmd.read_pdbstr("""\ """, "chainDX") cmd.hide("all") cmd.color('grey70', "chainDX") cmd.show('ribbon', "chainDX") cmd.select("e4ybbDX1", "c. X & i. 10-85") cmd.center("e4ybbDX1", state=0, origin=1) cmd.zoom("e4ybbDX1", animate=-1) cmd.show_as('cartoon', "e4ybbDX1") cmd.spectrum('count', 'rainbow', "e4ybbDX1") cmd.disable("e4ybbDX1") cmd.show('spheres', 'c. A & i. 3221') util.cbag('c. A & i. 3221')