Skip to content
Scripts for UCSF Chimera and PyChimera, for data analysis and graphics generation
Python Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
tools added rounding behaviour to SScalc May 11, 2018


Scripts for UCSF Chimera and PyChimera, for data analysis and graphics generation


This directory contains a number of scripts which are designed to work with Jaime's PyChimera: If by some miracle, any of my code is useful to you, be sure to cite his work!

  author = {Rodríguez-Guerra Pedregal, Jaime and Maréchal, Jean-Didier},
  title = {PyChimera: Use UCSF Chimera modules in any Python 2.7 project},
  journal = {Bioinformatics},
  volume = {},
  number = {},
  pages = {bty021},
  year = {2018},
  doi = {10.1093/bioinformatics/bty021},
  URL = { +},
  eprint = {/oup/backfile/content_public/journal/bioinformatics/pap/10.1093_bioinformatics_bty021/1/bty021.pdf}

Simply return the relative proportions of secondary structure for a crystal structure. Structures are assigned secondary structure via DSSP when opened with Chimera, so this script essentially wraps all of this from the command line. You could get this info from DSSP directly.

(Note, I've found some PDB entries which behave a bit strangely, such as 1PDI for example, which doesn't get any structure assigned for some reason and returns 0% for all secondary structure.)

Your mileage may vary.

A commandline wrapper to the MatchMaker function of Chimera, so that you can compare how well 2 models superimpose from the commandline. This has all the usual caveats of the GUI implementation that it sometimes won't find perfect matches. The script does however also write a session file so you can easily open it and check.


This directory contains some neat presets which can be imported in to Chimera by setting its internal plugins path to point at the directory. In order to work, they must follow the naming convention they have though (xxxx.preset.cmd).


This mimics the PDB molecule of the month style, with silhouettes and flat lighting. Looks good on posters etc.


A selection of presets I consider to reproduce nicely when put on paper. Similar to Goodsell, it uses flat lighting and silhouettes for good contrast and clarity when printed.


These scripts are 'dirty', and used pretty much only by me, so they'll probably break - a lot. Happy to accept any contributions to improve them through pull requests.

You can’t perform that action at this time.