The root-mean-square deviation (RMSD) is calculated, using Kabsch algorithm (1976) for rotation, between two cartesian coordinates (.xyz) files.
Based on RMSD and Kabsch algoritm.
python calculate_rmsd.py molecule1.xyz molecule2.xyz
Same molecule, but translated in space
python calculate_rmsd.py examples/ethane.xyz examples/ethane_trans.xyz
Same molecule, two forcefield minimizations
python calculate_rmsd.py examples/ethane.xyz examples/ethane_mini.xyz
Same structure, different bondlengths
python calculate_rmsd.py examples/ethane.xyz examples/ethane_bond.xyz
Jimmy Charnley Kromann and Lars Bratholm