cmd.read_pdbstr("""\ ATOM 1 CA GLU D 167 44.492 59.802 202.196 1.00 0.37 \ ATOM 2 CA VAL D 168 44.065 63.087 204.059 1.00 -0.89 \ ATOM 3 CA LEU D 169 42.239 66.315 203.082 1.00 0.85 \ ATOM 4 CA GLU D 170 43.055 70.073 203.280 1.00 -0.51 \ ATOM 5 CA PHE D 171 41.155 73.394 203.512 1.00 0.71 \ ATOM 6 CA ASP D 172 39.964 76.409 201.344 1.00 -0.58 \ ATOM 7 CA ASP D 173 36.951 77.093 199.143 1.00 0.33 \ ATOM 8 CA GLY D 174 34.948 73.993 198.253 1.00 0.59 \ ATOM 9 CA THR D 175 34.321 70.286 199.149 1.00 -0.33 \ ATOM 10 CA PRO D 176 37.551 68.202 199.411 1.00 -0.75 \ ATOM 11 CA ALA D 177 37.451 64.440 198.830 1.00 -0.39 \ ATOM 12 CA THR D 178 39.957 62.678 201.104 1.00 0.25 \ ATOM 13 CA MET D 179 41.949 61.387 198.130 1.00 -0.55 \ ATOM 14 CA SER D 180 39.485 61.530 195.216 1.00 -0.61 \ ATOM 15 CA GLN D 181 39.488 65.271 194.512 1.00 0.45 \ ATOM 16 CA VAL D 182 42.802 65.914 196.165 1.00 -0.34 \ ATOM 17 CA ALA D 183 44.265 63.711 193.337 1.00 1.37 \ ATOM 18 CA LYS D 184 42.417 65.256 190.318 1.00 -0.80 \ ATOM 19 CA ASP D 185 43.561 68.693 191.556 1.00 2.79 \ ATOM 20 CA VAL D 186 47.296 68.081 192.108 1.00 1.30 \ ATOM 21 CA CYS D 187 47.337 66.010 188.936 1.00 0.58 \ ATOM 22 CA THR D 188 45.702 68.771 186.873 1.00 -0.18 \ ATOM 23 CA PHE D 189 48.183 71.277 188.191 1.00 2.75 \ ATOM 24 CA LEU D 190 50.869 68.617 187.898 1.00 1.40 \ ATOM 25 CA ARG D 191 50.626 68.912 184.044 1.00 -0.80 \ ATOM 26 CA TRP D 192 52.607 72.094 184.499 1.00 1.32 \ ATOM 27 CA ALA D 193 55.663 70.227 183.497 1.00 0.27 \ ATOM 28 CA ALA D 194 54.258 71.511 180.161 1.00 0.90 \ ATOM 29 CA GLU D 195 53.278 75.171 180.556 1.00 2.75 \ """, "e1qcrD1_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1qcrD1_csv", state=0, origin=1) cmd.zoom("e1qcrD1_csv", animate=-1)