cmd.read_pdbstr("""\ """, "chainW") cmd.hide("all") cmd.color('grey70', "chainW") cmd.show('ribbon', "chainW") cmd.select("e6ft6W2", "c. W & i. 1-120 | c. W & i. 212-234") cmd.center("e6ft6W2", state=0, origin=1) cmd.zoom("e6ft6W2", animate=-1) cmd.show_as('cartoon', "e6ft6W2") cmd.spectrum('count', 'rainbow', "e6ft6W2") cmd.disable("e6ft6W2")