cmd.read_pdbstr("""\ ATOM 1 CA MET 2 1 36.829 141.109 137.910 1.00 -1.00 \ ATOM 2 CA LYS 2 2 34.540 144.145 137.435 1.00 0.29 \ ATOM 3 CA ARG 2 3 32.308 143.706 134.334 1.00 -0.99 \ ATOM 4 CA THR 2 4 31.466 146.012 131.364 1.00 0.49 \ ATOM 5 CA TYR 2 5 28.168 147.351 132.704 1.00 0.21 \ ATOM 6 CA GLN 2 6 28.502 149.268 136.001 1.00 0.23 \ ATOM 7 CA PRO 2 7 25.104 150.904 136.558 1.00 1.10 \ ATOM 8 CA ASN 2 8 25.828 154.534 137.345 1.00 0.17 \ ATOM 9 CA ASN 2 9 22.673 156.491 136.289 1.00 -0.69 \ ATOM 10 CA ARG 2 10 24.032 160.081 136.162 1.00 -0.77 \ ATOM 11 CA LYS 2 11 25.848 159.118 133.025 1.00 -0.60 \ ATOM 12 CA ARG 2 12 23.041 157.107 131.384 1.00 -0.36 \ ATOM 13 CA ALA 2 13 20.554 159.959 131.566 1.00 -0.97 \ ATOM 14 CA LYS 2 14 23.712 162.094 130.978 1.00 -0.26 \ ATOM 15 CA THR 2 15 25.384 160.350 128.072 1.00 -0.73 \ ATOM 16 CA HIS 2 16 22.177 159.144 126.466 1.00 -0.62 \ ATOM 17 CA GLY 2 17 18.536 160.121 127.090 1.00 2.97 \ ATOM 18 CA PHE 2 18 16.384 162.539 125.088 1.00 1.48 \ ATOM 19 CA ARG 2 19 17.270 165.789 126.913 1.00 -0.10 \ ATOM 20 CA ALA 2 20 20.767 165.039 125.722 1.00 -0.83 \ ATOM 21 CA ARG 2 21 19.963 163.516 122.390 1.00 1.60 \ ATOM 22 CA MET 2 22 18.753 166.936 121.354 1.00 -0.65 \ ATOM 23 CA LYS 2 23 21.875 169.026 122.057 1.00 -0.76 \ ATOM 24 CA THR 2 24 24.182 167.630 119.317 1.00 -0.14 \ ATOM 25 CA LYS 2 25 23.185 167.878 115.616 1.00 -1.01 \ ATOM 26 CA SER 2 26 24.076 164.427 114.218 1.00 -1.04 \ ATOM 27 CA GLY 2 27 22.362 162.996 117.259 1.00 1.19 \ ATOM 28 CA ARG 2 28 19.089 164.839 116.670 1.00 -0.62 \ ATOM 29 CA ASN 2 29 18.678 162.383 113.797 1.00 -0.86 \ ATOM 30 CA ILE 2 30 18.981 159.440 116.217 1.00 0.41 \ ATOM 31 CA LEU 2 31 15.711 160.010 118.019 1.00 1.00 \ ATOM 32 CA ALA 2 32 14.003 160.608 114.608 1.00 -0.86 \ ATOM 33 CA ARG 2 33 15.043 157.244 113.109 1.00 -0.45 \ ATOM 34 CA ARG 2 34 14.217 155.275 116.250 1.00 2.15 \ ATOM 35 CA ARG 2 35 10.707 156.685 116.373 1.00 -0.41 \ ATOM 36 CA ALA 2 36 9.996 156.561 112.649 1.00 -1.10 \ ATOM 37 CA LYS 2 37 11.657 153.119 112.563 1.00 -0.35 \ ATOM 38 CA GLY 2 38 8.895 150.881 113.789 1.00 -0.11 \ ATOM 39 CA ARG 2 39 7.707 151.870 117.186 1.00 1.69 \ ATOM 40 CA HIS 2 40 10.006 151.953 120.207 1.00 -1.13 \ ATOM 41 CA GLN 2 41 10.911 154.395 123.006 1.00 -1.09 \ ATOM 42 CA LEU 2 42 14.057 156.593 123.370 1.00 0.99 \ ATOM 43 CA THR 2 43 17.034 156.125 125.812 1.00 0.44 \ ATOM 44 CA VAL 2 44 15.662 158.001 128.871 1.00 1.08 \ ATOM 45 CA SER 2 45 12.042 156.813 129.104 1.00 -1.00 \ ATOM 46 CA ASP 2 46 13.970 153.741 130.119 1.00 -1.00 \ """, "e1nwy21_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1nwy21_csv", state=0, origin=1) cmd.zoom("e1nwy21_csv", animate=-1)