cmd.read_pdbstr("""\ ATOM 1 CA LEU A 27 102.975 23.020 -37.095 1.00 -0.61 \ ATOM 2 CA SER A 28 99.545 23.418 -38.796 1.00 -0.82 \ ATOM 3 CA VAL A 29 96.827 23.750 -36.230 1.00 -0.97 \ ATOM 4 CA ASP A 30 93.216 23.326 -37.328 1.00 1.99 \ ATOM 5 CA LYS A 31 91.122 26.524 -36.753 1.00 -0.63 \ ATOM 6 CA THR A 32 94.040 28.351 -35.087 1.00 -0.69 \ ATOM 7 CA SER A 33 97.627 28.562 -36.282 1.00 1.25 \ ATOM 8 CA GLY A 34 100.735 27.840 -34.207 1.00 -0.30 \ ATOM 9 CA GLU A 35 101.816 25.083 -31.883 1.00 -0.60 \ ATOM 10 CA LYS A 36 100.894 21.542 -32.743 1.00 -1.14 \ ATOM 11 CA HIS A 37 102.097 18.109 -32.307 1.00 -0.59 \ ATOM 12 CA LEU A 38 100.380 15.576 -34.596 1.00 -0.62 \ ATOM 13 CA ARG A 39 99.511 13.548 -31.478 1.00 -0.44 \ ATOM 14 CA HIS A 40 98.987 15.817 -28.408 1.00 2.10 \ ATOM 15 CA HIS A 41 96.556 18.683 -28.615 1.00 -0.81 \ ATOM 16 CA ILE A 42 97.308 22.392 -28.677 1.00 0.59 \ ATOM 17 CA THR A 43 97.957 25.175 -26.302 1.00 0.70 \ ATOM 18 CA ALA A 44 95.585 27.632 -27.904 1.00 -1.08 \ ATOM 19 CA ASP A 45 92.305 25.704 -27.800 1.00 -0.85 \ ATOM 20 CA GLY A 46 93.563 22.168 -28.096 1.00 2.04 \ ATOM 21 CA TYR A 47 91.756 19.756 -30.307 1.00 -0.77 \ ATOM 22 CA TYR A 48 92.152 16.871 -32.759 1.00 2.00 \ ATOM 23 CA ARG A 49 89.324 16.734 -35.054 1.00 -0.07 \ ATOM 24 CA GLY A 50 87.274 17.200 -31.798 1.00 0.22 \ ATOM 25 CA ARG A 51 86.186 20.514 -30.429 1.00 -0.28 \ ATOM 26 CA LYS A 52 86.984 20.090 -26.776 1.00 -0.84 \ ATOM 27 CA VAL A 53 89.669 21.091 -24.386 1.00 1.15 \ ATOM 28 CA ILE A 54 89.779 24.610 -22.931 1.00 -0.12 \ ATOM 29 CA ALA A 55 92.340 27.104 -21.764 1.00 -1.00 \ """, "e4v47AZ1_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e4v47AZ1_csv", state=0, origin=1) cmd.zoom("e4v47AZ1_csv", animate=-1)