cmd.read_pdbstr("""\ ATOM 1 CA ASN R 284 16.005 164.122-243.621 1.00 0.46 \ ATOM 2 CA ALA R 285 15.605 166.176-240.461 1.00 0.46 \ ATOM 3 CA ASP R 286 12.829 165.174-238.057 1.00 0.46 \ ATOM 4 CA VAL R 287 10.348 167.807-239.257 1.00 0.46 \ ATOM 5 CA ILE R 288 6.630 167.516-239.872 1.00 0.46 \ ATOM 6 CA HIS R 289 5.805 168.327-243.488 1.00 -2.13 \ ATOM 7 CA GLN R 290 2.649 169.165-245.433 1.00 0.46 \ ATOM 8 CA ARG R 291 2.110 165.751-246.993 1.00 0.46 \ ATOM 9 CA GLY R 292 0.697 163.705-244.135 1.00 0.46 \ ATOM 10 CA GLY R 293 1.360 160.210-242.818 1.00 0.46 \ ATOM 11 CA GLN R 294 3.562 161.358-239.928 1.00 0.46 \ ATOM 12 CA THR R 295 3.725 161.115-236.191 1.00 -2.13 \ ATOM 13 CA ILE R 296 4.454 163.738-233.498 1.00 0.46 \ ATOM 14 CA ASN R 297 5.718 161.680-230.535 1.00 -2.13 \ ATOM 15 CA GLY R 298 4.306 163.815-227.760 1.00 0.46 \ ATOM 16 CA THR R 299 1.810 166.546-227.193 1.00 0.46 \ ATOM 17 CA LEU R 300 0.716 169.265-229.590 1.00 0.46 \ ATOM 18 CA ARG R 301 -0.886 172.598-228.766 1.00 0.46 \ ATOM 19 CA ILE R 302 -2.763 174.595-231.481 1.00 0.46 \ ATOM 20 CA ASN R 303 -3.902 178.091-230.545 1.00 -2.13 \ ATOM 21 CA ASN R 304 -6.841 178.399-232.957 1.00 -2.13 \ ATOM 22 CA THR R 305 -9.373 176.137-234.715 1.00 0.46 \ ATOM 23 CA LEU R 306 -8.488 172.628-235.829 1.00 -2.13 \ ATOM 24 CA THR R 307 -10.190 171.634-239.073 1.00 0.46 \ ATOM 25 CA ILE R 308 -10.205 167.966-240.083 1.00 0.46 \ ATOM 26 CA ALA R 309 -11.452 168.000-243.676 1.00 0.46 \ ATOM 27 CA SER R 310 -12.199 164.279-243.919 1.00 -2.13 \ ATOM 28 CA GLY R 311 -11.775 161.023-242.034 1.00 0.46 \ ATOM 29 CA GLY R 312 -12.641 162.094-238.543 1.00 0.46 \ ATOM 30 CA ALA R 313 -10.560 161.392-235.455 1.00 0.46 \ ATOM 31 CA ASN R 314 -9.714 158.315-233.458 1.00 0.46 \ ATOM 32 CA ILE R 315 -8.869 159.496-229.977 1.00 0.46 \ ATOM 33 CA THR R 316 -7.475 157.373-227.163 1.00 0.46 \ ATOM 34 CA GLY R 317 -8.145 159.178-223.920 1.00 0.46 \ ATOM 35 CA THR R 318 -10.777 161.686-222.803 1.00 0.46 \ ATOM 36 CA VAL R 319 -12.010 164.608-224.885 1.00 0.46 \ ATOM 37 CA ASN R 320 -12.883 167.707-222.829 1.00 -2.13 \ ATOM 38 CA MET R 321 -14.699 170.366-224.825 1.00 0.46 \ ATOM 39 CA THR R 322 -16.457 173.643-224.215 1.00 0.46 \ ATOM 40 CA GLY R 323 -19.274 172.746-226.603 1.00 0.46 \ ATOM 41 CA GLY R 324 -20.185 169.794-228.809 1.00 0.46 \ ATOM 42 CA TYR R 325 -22.453 169.320-231.816 1.00 0.46 \ ATOM 43 CA ILE R 326 -23.046 166.379-234.177 1.00 0.46 \ ATOM 44 CA GLN R 327 -24.485 167.454-237.556 1.00 0.46 \ ATOM 45 CA GLY R 328 -25.551 170.745-235.959 1.00 0.46 \ """, "e1pdiB2_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1pdiB2_csv", state=0, origin=1) cmd.zoom("e1pdiB2_csv", animate=-1)