cmd.read_pdbstr("""\ """, "chainAB") cmd.hide("all") cmd.color('grey70', "chainAB") cmd.show('ribbon', "chainAB") cmd.select("e4w2hAB1", "c. B & i. 7-127 | c. B & i. 157-237") cmd.center("e4w2hAB1", state=0, origin=1) cmd.zoom("e4w2hAB1", animate=-1) cmd.show_as('cartoon', "e4w2hAB1") cmd.spectrum('count', 'rainbow', "e4w2hAB1") cmd.disable("e4w2hAB1")