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