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