This is a test version of Biostars. For the public version, visit https://www.biostars.org.
pymol script pdb to png

Hi there, I have 100 of pdb files in a folder and want to convert them into images one by one by running a script in pymol. any suggestions or tutorial available? Thanks

pymol python

1 answer

Here's a pointer to a resource with everything you need: http://pymol.sourceforge.net/newman/user/S0210start_cmds.html

I'd call special attention to:

  1. Creating .pml script files
  2. tweaking the default render settings to a configuration you'd prefer
  3. Writing to PNG using the png command

Log in to answer this question.