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