Here, we will create a video of the p53 1TUP
model. We will start our animation by going around the p53 1TUP
model and then zooming in; as we zoom in, we change the render strategy so that you can see what is deep in the model. You can find the YouTube version of the video that you will generate at https://www.youtube.com/watch?v=CuEP40Id9O8.
This recipe will be presented as a Python script, not as a Notebook. This is mostly because the output is not interactive, but a set of image files that will need further post-processing.
You will need to install PyMOL (http://www.pymol.org). On Debian/Ubuntu/Linux, you can use the apt-get install pymol
command.
PyMOL is more of an interactive program than a Python library, so I strongly encourage that you play with it before moving on to the recipe. This can be fun! The code for this recipe is available on the GitHub repository as a script, along with this chapter's Notebook file at Chapter07
. We will use the PyMol_Movie...