cmd.read_pdbstr("""\ """, "chainZ") cmd.hide("all") cmd.color('grey70', "chainZ") cmd.show('ribbon', "chainZ") cmd.select("e8ch6Z2", "c. Z & i. 230-235 | c. Z & i. 262-309") cmd.center("e8ch6Z2", state=0, origin=1) cmd.zoom("e8ch6Z2", animate=-1) cmd.show_as('cartoon', "e8ch6Z2") cmd.spectrum('count', 'rainbow', "e8ch6Z2") cmd.disable("e8ch6Z2")