cmd.read_pdbstr("""\ ATOM 1 CA PRO B 51 35.686 2.999 -0.601 1.00 1.60 \ ATOM 2 CA ARG B 52 35.278 6.681 -2.046 1.00 -0.52 \ ATOM 3 CA TRP B 53 32.578 9.054 -3.378 1.00 1.73 \ ATOM 4 CA SER B 54 32.397 11.017 -6.619 1.00 -0.05 \ ATOM 5 CA LEU B 55 32.091 14.774 -6.446 1.00 -0.70 \ ATOM 6 CA TRP B 56 28.577 16.003 -5.767 1.00 2.78 \ ATOM 7 CA SER B 57 26.347 16.679 -8.769 1.00 -0.33 \ ATOM 8 CA THR B 58 25.082 20.237 -9.191 1.00 -0.54 \ ATOM 9 CA TRP B 59 21.961 21.003 -7.072 1.00 0.07 \ ATOM 10 CA ALA B 60 18.684 20.452 -8.898 1.00 -0.26 \ ATOM 11 CA PRO B 61 16.207 23.330 -9.091 1.00 -0.73 \ ATOM 12 CA CYS B 62 13.383 23.720 -6.572 1.00 1.94 \ ATOM 13 CA SER B 63 10.785 20.912 -6.747 1.00 -0.15 \ ATOM 14 CA VAL B 64 8.092 23.597 -6.787 1.00 -0.59 \ ATOM 15 CA THR B 65 7.594 27.017 -8.323 1.00 -0.52 \ ATOM 16 CA CYS B 66 5.649 28.321 -5.350 1.00 1.17 \ ATOM 17 CA SER B 67 5.358 27.354 -1.728 1.00 -0.31 \ ATOM 18 CA GLU B 68 7.806 24.902 -0.144 1.00 -0.71 \ ATOM 19 CA GLY B 69 9.765 22.110 -1.818 1.00 -0.42 \ ATOM 20 CA SER B 70 13.315 20.724 -1.970 1.00 -0.72 \ ATOM 21 CA GLN B 71 16.546 20.867 -4.002 1.00 -0.38 \ ATOM 22 CA LEU B 72 18.414 17.582 -4.384 1.00 -0.75 \ ATOM 23 CA ARG B 73 21.952 16.601 -5.360 1.00 0.36 \ ATOM 24 CA TYR B 74 23.619 13.189 -5.791 1.00 -0.69 \ ATOM 25 CA ARG B 75 26.924 11.039 -5.410 1.00 2.00 \ ATOM 26 CA ARG B 76 28.181 7.631 -6.984 1.00 -0.75 \ ATOM 27 CA CYS B 77 30.465 4.404 -6.528 1.00 1.84 \ ATOM 28 CA VAL B 78 33.922 3.144 -7.539 1.00 -0.37 \ ATOM 29 CA GLY B 79 35.911 3.784 -10.723 1.00 1.27 \ ATOM 30 CA TRP B 80 37.667 0.485 -10.473 1.00 -1.00 \ ATOM 31 CA ASN B 81 37.267 -0.805 -7.139 1.00 -0.65 \ ATOM 32 CA GLY B 82 35.093 -3.739 -6.474 1.00 0.30 \ ATOM 33 CA GLN B 83 34.152 -2.803 -2.916 1.00 -0.77 \ ATOM 34 CA CYS B 84 32.473 0.680 -2.883 1.00 2.90 \ ATOM 35 CA SER B 85 30.248 -1.034 -0.312 1.00 -0.77 \ ATOM 36 CA GLY B 86 26.622 0.148 0.155 1.00 0.51 \ ATOM 37 CA LYS B 87 26.115 -3.507 0.894 1.00 -0.77 \ ATOM 38 CA VAL B 88 23.357 -4.698 -1.422 1.00 -0.67 \ ATOM 39 CA ALA B 89 21.083 -1.794 -0.639 1.00 -0.64 \ ATOM 40 CA PRO B 90 18.783 -0.376 -3.367 1.00 -1.00 \ ATOM 41 CA GLY B 91 20.741 1.235 -6.396 1.00 -1.00 \ ATOM 42 CA THR B 92 23.467 4.007 -5.603 1.00 -1.00 \ ATOM 43 CA LEU B 93 24.118 4.989 -2.094 1.00 -1.00 \ ATOM 44 CA GLU B 94 23.844 8.719 -1.210 1.00 -1.00 \ ATOM 45 CA TRP B 95 21.714 11.880 -1.898 1.00 -1.00 \ ATOM 46 CA GLN B 96 21.247 15.237 -0.279 1.00 -0.33 \ ATOM 47 CA LEU B 97 17.825 16.855 -0.196 1.00 -0.76 \ ATOM 48 CA GLN B 98 17.771 20.474 1.017 1.00 -0.53 \ ATOM 49 CA ALA B 99 14.734 22.789 1.278 1.00 -0.72 \ ATOM 50 CA CYS B 100 13.632 25.741 -0.885 1.00 1.91 \ ATOM 51 CA GLU B 101 10.872 28.412 -0.207 1.00 -0.77 \ ATOM 52 CA ASP B 102 9.124 30.403 -2.859 1.00 -0.70 \ ATOM 53 CA GLN B 103 6.606 33.211 -3.537 1.00 -0.52 \ ATOM 54 CA GLN B 104 2.784 32.362 -3.657 1.00 -0.68 \ ATOM 55 CA CYS B 105 0.413 29.320 -4.891 1.00 -1.00 \ ATOM 56 CA CYS B 106 -3.246 29.033 -5.953 1.00 -1.00 \ ATOM 57 CA PRO B 107 -6.110 26.916 -7.546 1.00 -1.00 \ """, "e1w0rB5_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1w0rB5_csv", state=0, origin=1) cmd.zoom("e1w0rB5_csv", animate=-1)