Path C - Module 34: Comparison & Superposition#

When you compare two different potential drugs, you need to align their binding poses. In this module, you will learn to superimpose different Mpro complexes to see how their inhibitors match.

import molsysmt as msm

# Align 6LU7 (Crystal) and another pose
molsys1 = msm.convert('pdb:6LU7', to_form='molsysmt.MolSys')
molsys2 = msm.copy(molsys1)

# Measure similarity
rmsd = msm.structure.least_rmsd_align(molsys2, reference_molecular_system=molsys1)
print(f"Pose similarity (RMSD): {rmsd}")