pdb2sql.transform.rot_axis

pdb2sql.transform.rot_axis(db, axis, angle, **kwargs)[source]

Rotate molecules in a SQL database.

Parameters
  • db (pdb2sql) – SQL database

  • axis (list(float)) – axis of rotation

  • angle (float) – angle of rotation

Returns

np.array – rotated xyz coordinates