pdb2sql.transform.rot_euler

pdb2sql.transform.rot_euler(db, alpha, beta, gamma, **kwargs)[source]

Rotate molecules in SQL database from Euler rotation axis.

Parameters:
  • alpha (float) – angle of rotation around the x axis

  • beta (float) – angle of rotation around the y axis

  • gamma (float) – angle of rotation around the z axis

  • kwargs – keyword argument to select the atoms.