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