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