cmd.read_pdbstr("""\ """, "chainD") cmd.hide("all") cmd.color('grey70', "chainD") cmd.show('ribbon', "chainD") cmd.select("e6g2iD4", "c. D & i. 102-241") cmd.center("e6g2iD4", state=0, origin=1) cmd.zoom("e6g2iD4", animate=-1) cmd.show_as('cartoon', "e6g2iD4") cmd.spectrum('count', 'rainbow', "e6g2iD4") cmd.disable("e6g2iD4")