(The pymol commands contains content from http://pymolwiki.org/index.php/Gallery ), with my modification (quantaosun@gmail.com).

This notebook is tricky! Make sure you use it inside the github directory like C:\Users\yournamexxxxxx\Desktop\jupyter-demo\ipymol-master. The server status should be http://localhost:8888/tree/ipymol-master

You should download the github repository https://github.com/cxhernandez/ipymol to your local laptop, then start the notebook inside the repository. You can do this by starting up a new Anaconda prompt shell, then use cd "C:\Users\yournamexxxxxx\Desktop\jupyter-demo\ipymol-master" to go inside this folder, then type "jupyter notebook" to start the jupyter notebook in a local server mode.

You should have already installed the open sourecd pymol before move on.

If you encounter problem in the next line, you need to double check where you are by "pwd", and please make sure you are in the right layer of the github directory, which should be "ipymol-master".

Finanlly, just say the image to wherever you like to store it. You could always try to change the above commands to meet your preference of a high quality image.

The general command pattern is pymol.do(‘the original pymol command you would put directly inside pymol’) pymol.fetch('PDB ID') pymol.set('object, number') pymol.show('surface')