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