AMBER: question about image - truncated octahedron

From: Chris Moth <>
Date: Sat, 3 Apr 2004 09:22:14 -0600

>===== Original Message From "Thomas E. Cheatham, III"
>If your analysis program is set up to correctly image distances, angles,
>etc, there should be no difference before and after imaging...

This discussion thread reminded me of a issue I need to address in my own

If you know of any references along the lines of

"(Complete) Periodic Imaging of Truncated Octahedra for Dummies" :)

they would be appreciated.


Our MD trajectory visualiztion tool MDDisplay images atoms
back into a rectangular box just fine.

Recently, I've upgraded it to image into truncated octahedra using these
helpful references:

Allen, M.P.; Tildesley, D.J.; Computer Simulation of Liquids, Oxford
University Press, 1987
Specifically, see appendix F program F.1 (found at various web sites)
van Gunsteren - lecture notes on MD simulation page 10-11:

But, my octahedron code is not quite complete. Solvent atoms
wind up in funny places (in and around the protein core) from time to time -
though all atoms are certainly in the truncated octahedron. I've tried to
sift through the general imaging code in ptraj.. but it is not entirely clear
to me how that is working.

(This bug is mainly a nuisance - the misplaced solvent atoms pop in and out,
and are easy to distinguish from correctly placed structural waters around the
protein car).

I've also tried to extrapolate the code from the various AMBER references on
periodic simulations. These are not very direct either, in my experience so

Thanks very much for any suggestions.

Chris Moth

Chris Moth

The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Sat Apr 03 2004 - 16:53:00 PST
Custom Search