cmd.read_pdbstr("""\ """, "chainX") cmd.hide("all") cmd.color('grey70', "chainX") cmd.show('ribbon', "chainX") cmd.select("e8ckuX1", "c. X & i. 2-51") cmd.center("e8ckuX1", state=0, origin=1) cmd.zoom("e8ckuX1", animate=-1) cmd.show_as('cartoon', "e8ckuX1") cmd.spectrum('count', 'rainbow', "e8ckuX1") cmd.disable("e8ckuX1")