[BioPython] transformation and PDBIO

Thomas Hamelryck thamelry at binf.ku.dk
Tue Jun 22 04:54:01 EDT 2004


In my last mail, rotmat should be rotaxis, of course.

So:

rotation_90_around_X=rotaxis(pi/2.0, Vector(1,0,0))
translation=array((1,0,0),  'f')
atom.transform(rotation_90_around_X, translation)

-Thomas



More information about the BioPython mailing list