cmd.read_pdbstr("""\ ATOM 1 CA ASN N 284 158.854 80.000-248.843 1.00 0.46 \ ATOM 2 CA ALA N 285 155.650 78.091-248.174 1.00 0.46 \ ATOM 3 CA ASP N 286 152.506 80.125-247.477 1.00 0.46 \ ATOM 4 CA VAL N 287 152.691 79.778-243.684 1.00 0.46 \ ATOM 5 CA ILE N 288 152.049 82.352-240.994 1.00 0.46 \ ATOM 6 CA HIS N 289 155.143 82.848-238.850 1.00 -2.13 \ ATOM 7 CA GLN N 290 155.885 84.437-235.478 1.00 0.46 \ ATOM 8 CA ARG N 291 157.334 87.691-236.776 1.00 0.46 \ ATOM 9 CA GLY N 292 154.270 89.641-237.850 1.00 0.46 \ ATOM 10 CA GLY N 293 153.413 91.730-240.897 1.00 0.46 \ ATOM 11 CA GLN N 294 151.367 89.007-242.606 1.00 0.46 \ ATOM 12 CA THR N 295 147.911 88.449-243.947 1.00 -2.13 \ ATOM 13 CA ILE N 296 145.498 85.496-243.608 1.00 0.46 \ ATOM 14 CA ASN N 297 143.222 85.821-246.662 1.00 -2.13 \ ATOM 15 CA GLY N 298 140.039 84.526-245.098 1.00 0.46 \ ATOM 16 CA THR N 299 138.547 83.804-241.740 1.00 0.46 \ ATOM 17 CA LEU N 300 140.315 82.763-238.559 1.00 0.46 \ ATOM 18 CA ARG N 301 138.851 80.990-235.548 1.00 0.46 \ ATOM 19 CA ILE N 302 140.692 81.038-232.157 1.00 0.46 \ ATOM 20 CA ASN N 303 139.270 78.842-229.412 1.00 -2.13 \ ATOM 21 CA ASN N 304 140.551 80.791-226.396 1.00 -2.13 \ ATOM 22 CA THR N 305 141.470 84.385-225.468 1.00 0.46 \ ATOM 23 CA LEU N 306 142.978 86.778-227.988 1.00 -2.13 \ ATOM 24 CA THR N 307 145.513 89.146-226.445 1.00 0.46 \ ATOM 25 CA ILE N 308 146.629 92.186-228.440 1.00 0.46 \ ATOM 26 CA ALA N 309 149.599 93.537-226.484 1.00 0.46 \ ATOM 27 CA SER N 310 149.754 96.927-228.200 1.00 -2.13 \ ATOM 28 CA GLY N 311 148.268 98.877-231.084 1.00 0.46 \ ATOM 29 CA GLY N 312 144.643 97.957-230.785 1.00 0.46 \ ATOM 30 CA ALA N 313 142.459 96.712-233.624 1.00 0.46 \ ATOM 31 CA ASN N 314 141.002 98.251-236.732 1.00 0.46 \ ATOM 32 CA ILE N 315 137.947 96.216-237.605 1.00 0.46 \ ATOM 33 CA THR N 316 135.860 96.538-240.753 1.00 0.46 \ ATOM 34 CA GLY N 317 132.500 94.972-240.067 1.00 0.46 \ ATOM 35 CA THR N 318 130.454 94.409-236.910 1.00 0.46 \ ATOM 36 CA VAL N 319 131.869 93.240-233.589 1.00 0.46 \ ATOM 37 CA ASN N 320 129.499 90.995-231.609 1.00 -2.13 \ ATOM 38 CA MET N 321 130.655 90.366-228.053 1.00 0.46 \ ATOM 39 CA THR N 322 129.341 88.768-224.904 1.00 0.46 \ ATOM 40 CA GLY N 323 130.695 91.581-222.733 1.00 0.46 \ ATOM 41 CA GLY N 324 132.608 94.812-223.288 1.00 0.46 \ ATOM 42 CA TYR N 325 134.708 97.071-221.076 1.00 0.46 \ ATOM 43 CA ILE N 326 136.873 100.131-221.809 1.00 0.46 \ ATOM 44 CA GLN N 327 139.526 100.751-219.124 1.00 0.46 \ ATOM 45 CA GLY N 328 137.514 98.550-216.751 1.00 0.46 \ """, "e1pdiQ2_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1pdiQ2_csv", state=0, origin=1) cmd.zoom("e1pdiQ2_csv", animate=-1)