cmd.read_pdbstr("""\ ATOM 1 CA MET 2 1 165.124 46.765 119.916 1.00 -1.00 \ ATOM 2 CA LYS 2 2 165.819 43.122 120.770 1.00 0.29 \ ATOM 3 CA ARG 2 3 168.898 41.394 119.358 1.00 -0.99 \ ATOM 4 CA THR 2 4 168.829 38.033 117.579 1.00 0.49 \ ATOM 5 CA TYR 2 5 171.873 36.816 119.510 1.00 0.21 \ ATOM 6 CA GLN 2 6 171.045 35.614 123.025 1.00 0.23 \ ATOM 7 CA PRO 2 7 173.632 34.073 125.347 1.00 1.10 \ ATOM 8 CA ASN 2 8 172.202 31.003 127.080 1.00 0.17 \ ATOM 9 CA ASN 2 9 173.983 27.730 127.841 1.00 -0.69 \ ATOM 10 CA ARG 2 10 170.581 26.322 128.795 1.00 -0.77 \ ATOM 11 CA LYS 2 11 169.645 26.263 125.109 1.00 -0.60 \ ATOM 12 CA ARG 2 12 172.848 26.872 123.145 1.00 -0.36 \ ATOM 13 CA ALA 2 13 174.137 23.575 124.527 1.00 -0.97 \ ATOM 14 CA LYS 2 14 171.382 20.981 124.132 1.00 -0.26 \ ATOM 15 CA THR 2 15 170.944 21.939 120.479 1.00 -0.73 \ ATOM 16 CA HIS 2 16 174.661 21.936 119.681 1.00 -0.62 \ ATOM 17 CA GLY 2 17 177.583 20.227 121.388 1.00 2.97 \ ATOM 18 CA PHE 2 18 179.257 16.927 120.534 1.00 1.48 \ ATOM 19 CA ARG 2 19 176.677 15.235 122.756 1.00 -0.10 \ ATOM 20 CA ALA 2 20 173.581 15.789 120.616 1.00 -0.83 \ ATOM 21 CA ARG 2 21 175.763 15.735 117.500 1.00 1.60 \ ATOM 22 CA MET 2 22 176.834 12.148 118.167 1.00 -0.65 \ ATOM 23 CA LYS 2 23 173.182 11.230 118.703 1.00 -0.76 \ ATOM 24 CA THR 2 24 172.494 11.366 114.966 1.00 -0.14 \ ATOM 25 CA LYS 2 25 174.534 9.724 112.207 1.00 -1.01 \ ATOM 26 CA SER 2 26 174.267 12.968 110.239 1.00 -1.04 \ ATOM 27 CA GLY 2 27 175.609 15.230 112.967 1.00 1.19 \ ATOM 28 CA ARG 2 28 178.661 12.991 113.279 1.00 -0.62 \ ATOM 29 CA ASN 2 29 179.678 13.981 109.750 1.00 -0.86 \ ATOM 30 CA ILE 2 30 179.955 17.626 110.799 1.00 0.41 \ ATOM 31 CA LEU 2 31 182.220 16.885 113.762 1.00 1.00 \ ATOM 32 CA ALA 2 32 184.124 14.493 111.501 1.00 -0.86 \ ATOM 33 CA ARG 2 33 185.156 17.054 108.885 1.00 -0.45 \ ATOM 34 CA ARG 2 34 185.659 19.639 111.628 1.00 2.15 \ ATOM 35 CA ARG 2 35 188.366 17.468 113.188 1.00 -0.41 \ ATOM 36 CA ALA 2 36 189.629 16.200 109.831 1.00 -1.10 \ ATOM 37 CA LYS 2 37 190.164 19.555 108.126 1.00 -0.35 \ ATOM 38 CA GLY 2 38 193.247 20.810 109.939 1.00 -0.11 \ ATOM 39 CA ARG 2 39 191.999 21.711 113.408 1.00 1.69 \ ATOM 40 CA HIS 2 40 188.828 23.179 114.909 1.00 -1.13 \ ATOM 41 CA GLN 2 41 187.341 23.512 118.396 1.00 -1.09 \ ATOM 42 CA LEU 2 42 184.168 21.570 119.176 1.00 0.99 \ ATOM 43 CA THR 2 43 180.834 23.290 119.790 1.00 0.44 \ ATOM 44 CA VAL 2 44 180.820 21.997 123.366 1.00 1.08 \ ATOM 45 CA SER 2 45 184.538 22.688 123.783 1.00 -1.00 \ ATOM 46 CA ASP 2 46 183.870 26.413 124.161 1.00 -1.00 \ """, "e1pnu21_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1pnu21_csv", state=0, origin=1) cmd.zoom("e1pnu21_csv", animate=-1)