cmd.read_pdbstr("""\ ATOM 1 CA LEU A 27 98.308 14.707 -32.453 1.00 -0.61 \ ATOM 2 CA SER A 28 95.774 14.513 -35.340 1.00 -0.82 \ ATOM 3 CA VAL A 29 93.937 17.768 -35.709 1.00 -0.97 \ ATOM 4 CA ASP A 30 90.780 17.855 -37.819 1.00 1.99 \ ATOM 5 CA LYS A 31 91.110 20.223 -40.852 1.00 -0.63 \ ATOM 6 CA THR A 32 94.602 21.373 -39.803 1.00 -0.69 \ ATOM 7 CA SER A 33 97.513 19.226 -38.691 1.00 1.25 \ ATOM 8 CA GLY A 34 99.612 19.733 -35.555 1.00 -0.30 \ ATOM 9 CA GLU A 35 98.877 20.374 -31.922 1.00 -0.60 \ ATOM 10 CA LYS A 36 95.942 18.634 -30.346 1.00 -1.14 \ ATOM 11 CA HIS A 37 94.810 17.352 -27.109 1.00 -0.59 \ ATOM 12 CA LEU A 38 91.810 14.999 -27.350 1.00 -0.62 \ ATOM 13 CA ARG A 39 90.015 17.251 -24.842 1.00 -0.44 \ ATOM 14 CA HIS A 40 91.117 20.923 -25.188 1.00 2.10 \ ATOM 15 CA HIS A 41 90.945 22.605 -28.548 1.00 -0.81 \ ATOM 16 CA ILE A 42 93.804 23.666 -30.786 1.00 0.59 \ ATOM 17 CA THR A 43 96.122 26.536 -31.226 1.00 0.70 \ ATOM 18 CA ALA A 44 95.686 26.834 -34.960 1.00 -1.08 \ ATOM 19 CA ASP A 45 91.921 27.305 -35.251 1.00 -0.85 \ ATOM 20 CA GLY A 46 90.734 25.326 -32.273 1.00 2.04 \ ATOM 21 CA TYR A 47 87.740 23.122 -32.612 1.00 -0.77 \ ATOM 22 CA TYR A 48 86.185 19.799 -31.598 1.00 2.00 \ ATOM 23 CA ARG A 49 83.773 18.692 -34.092 1.00 -0.07 \ ATOM 24 CA GLY A 50 82.576 22.374 -33.870 1.00 0.22 \ ATOM 25 CA ARG A 51 83.803 25.143 -36.077 1.00 -0.28 \ ATOM 26 CA LYS A 52 84.328 27.892 -33.564 1.00 -0.84 \ ATOM 27 CA VAL A 53 87.160 29.445 -31.700 1.00 1.15 \ ATOM 28 CA ILE A 54 89.462 31.967 -33.390 1.00 -0.12 \ ATOM 29 CA ALA A 55 93.061 33.050 -33.235 1.00 -1.00 \ """, "e4v48AZ1_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e4v48AZ1_csv", state=0, origin=1) cmd.zoom("e4v48AZ1_csv", animate=-1)