Python Scripts
This folder is intended for storing Python example scripts, for new users to get an introduction on how to use Python with BALL and BALLView. Furthermore users can send us their Python scripts, so that others can benefit from their work. If you want to send us your Python script, please write an email to BALL@bioinf.uni-sb.de .
Most of these scripts need the standard BALLView startup Python Script. So make sure that it has run. Furthermore some scripts require that a structure is already loaded.
- Create Representation -- How to create a new custom Representation in BALLView
- Compare -- Draw a line between all pairs of identical atoms in two Systems
- Load a PDB -- Load a PDB file into BALLView and create a Line and a VDW model for it
- Export Scene -- Export the Scene to a PNG file or POVRay
- Create a movie -- How to create a movie with a rotation around a molecule
- Create bonds -- How to iterate over atoms and create bonds
- Select -- Select all atoms in proximity of current selection
- Visualise Trajectory -- Visualise the position of all non hydrogen atoms in a Trajectory
- Simulated Annealing -- Simulated Annealing
- OpenGL Benchmark -- Benchmark for OpenGL performance
- Graphics Benchmark -- Measure the performance of the BALLView model processors