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