i have two protein pdb files and want to calculate the backchain RMSD between them. As far as I know the GUI of Pymol can use align to calculate the RMSD (but I don't know if it is the backchain RMSD).I want to use the python code to use pymol to calculate the backchain RMSD. I know how to align them but don't know how to calculate the RMSD.
import pymol2
with pymol2.PYMOL() as pymol:
pymol.cmd.load('foo.pdb', 'foo')
pymol.cmd.load('bar.pdb', 'bar')
pymol.cmd.align('foo', 'bar')