cmd.read_pdbstr("""\ ATOM 1 CA ALA Z 2 38.099 123.157 125.170 1.00 -1.00 \ ATOM 2 CA LYS Z 3 35.772 120.356 126.245 1.00 -1.00 \ ATOM 3 CA HIS Z 4 38.676 118.053 125.458 1.00 -1.00 \ ATOM 4 CA PRO Z 5 37.741 114.433 125.690 1.00 2.70 \ ATOM 5 CA VAL Z 6 34.340 114.296 123.938 1.00 0.69 \ ATOM 6 CA PRO Z 7 31.910 111.548 122.870 1.00 1.38 \ ATOM 7 CA LYS Z 8 32.103 111.443 119.064 1.00 0.09 \ ATOM 8 CA LYS Z 9 29.373 110.013 116.722 1.00 -0.58 \ ATOM 9 CA LYS Z 10 25.991 110.409 118.488 1.00 1.67 \ ATOM 10 CA THR Z 11 26.064 106.996 120.225 1.00 -0.88 \ ATOM 11 CA SER Z 12 22.368 106.118 120.199 1.00 0.84 \ ATOM 12 CA LYS Z 13 19.620 103.687 119.097 1.00 -0.16 \ ATOM 13 CA SER Z 14 19.900 100.068 120.169 1.00 -0.63 \ ATOM 14 CA LYS Z 15 22.443 101.440 122.591 1.00 -0.24 \ ATOM 15 CA ARG Z 16 20.932 104.050 124.845 1.00 0.03 \ ATOM 16 CA ASP Z 17 18.281 101.389 125.252 1.00 -0.08 \ ATOM 17 CA MET Z 18 20.756 98.476 125.163 1.00 -0.71 \ ATOM 18 CA ARG Z 19 22.183 100.216 128.204 1.00 0.70 \ ATOM 19 CA ARG Z 20 19.528 100.045 130.916 1.00 0.12 \ ATOM 20 CA SER Z 21 19.313 96.441 129.939 1.00 0.05 \ ATOM 21 CA HIS Z 22 20.357 96.474 133.578 1.00 -0.29 \ ATOM 22 CA HIS Z 23 18.693 99.617 135.051 1.00 -0.99 \ ATOM 23 CA ALA Z 24 15.183 98.347 136.063 1.00 -0.74 \ ATOM 24 CA LEU Z 25 13.696 99.411 139.465 1.00 -0.53 \ ATOM 25 CA THR Z 26 13.668 96.424 141.854 1.00 -1.02 \ ATOM 26 CA ALA Z 27 10.411 96.726 143.820 1.00 -0.93 \ ATOM 27 CA PRO Z 28 10.277 96.025 147.537 1.00 -0.94 \ ATOM 28 CA ASN Z 29 9.129 92.522 148.643 1.00 -0.92 \ ATOM 29 CA LEU Z 30 6.361 93.694 151.014 1.00 -0.57 \ ATOM 30 CA THR Z 31 4.783 91.468 153.747 1.00 -0.80 \ ATOM 31 CA GLU Z 32 1.694 91.393 156.054 1.00 -0.96 \ ATOM 32 CA CYS Z 33 1.520 93.126 159.510 1.00 1.93 \ ATOM 33 CA PRO Z 34 0.863 89.641 160.842 1.00 -0.63 \ ATOM 34 CA GLN Z 35 -1.967 90.824 163.117 1.00 -0.69 \ ATOM 35 CA CYS Z 36 -3.048 93.628 160.779 1.00 1.20 \ ATOM 36 CA HIS Z 37 -3.991 93.857 157.068 1.00 -0.26 \ ATOM 37 CA GLY Z 38 -0.417 93.986 155.674 1.00 -0.57 \ ATOM 38 CA LYS Z 39 2.336 95.992 153.922 1.00 -1.13 \ ATOM 39 CA LYS Z 40 5.105 96.208 156.585 1.00 -0.59 \ ATOM 40 CA LEU Z 41 8.584 96.028 155.063 1.00 -0.58 \ ATOM 41 CA SER Z 42 10.049 92.896 156.702 1.00 -0.45 \ ATOM 42 CA HIS Z 43 12.027 94.560 159.496 1.00 2.20 \ ATOM 43 CA HIS Z 44 10.140 97.814 160.020 1.00 -0.79 \ ATOM 44 CA ILE Z 45 7.368 98.984 162.425 1.00 0.56 \ ATOM 45 CA CYS Z 46 4.437 98.809 159.929 1.00 0.66 \ ATOM 46 CA PRO Z 47 1.691 101.444 160.002 1.00 -1.08 \ ATOM 47 CA ASN Z 48 -0.335 98.239 160.395 1.00 -0.85 \ ATOM 48 CA CYS Z 49 -1.286 100.274 163.477 1.00 1.05 \ ATOM 49 CA GLY Z 50 2.365 100.726 164.399 1.00 2.18 \ ATOM 50 CA TYR Z 51 3.541 97.390 165.805 1.00 -0.74 \ ATOM 51 CA TYR Z 52 6.843 95.495 165.298 1.00 2.12 \ ATOM 52 CA ASP Z 53 5.626 92.842 167.762 1.00 -0.09 \ ATOM 53 CA GLY Z 54 3.540 94.328 170.604 1.00 0.29 \ ATOM 54 CA ARG Z 55 2.867 97.707 169.044 1.00 -0.24 \ ATOM 55 CA GLN Z 56 5.647 100.316 168.986 1.00 -0.85 \ ATOM 56 CA VAL Z 57 5.512 103.197 166.458 1.00 1.17 \ ATOM 57 CA LEU Z 58 2.896 105.712 167.626 1.00 -0.09 \ ATOM 58 CA ALA Z 59 0.237 106.325 164.900 1.00 -1.00 \ """, "e1ondZ1_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1ondZ1_csv", state=0, origin=1) cmd.zoom("e1ondZ1_csv", animate=-1)