Computing RMSD efficiently with pyRMSD in python
From the pyRMSD github page:
pyRMSD is a small Python package that aims to offer an integrative and efficient way of performing RMSD calculations of large sets of structures. It is specially tuned to do fast collective RMSD calculations, as pairwise RMSD matrices.
A small tutorial for using it:
The trajectory is given as a numpy array. The first dimension gives the frames, the second the atoms and the third the , , coordinates.
And now we can compute the RMSD between the first frame 0
and the following ones with optimal alignment: