# .cxc ChimeraX command files can be dropped in. close session # load 2 models with similar structure but different sequences. open 7pmx fromDatabase pdb format mmcif open 7pmy fromDatabase pdb format mmcif set bgcolor white # superpose and morph matchmaker #2/A#2/B to #1/A#1/B pairing ss morph #1,2 frames 12 wrap true slider true # fix center of rotation cofr all # spacefill dipeptide (chain B) select #3/B style sel sphere select subtract #3/B # hide sticks of sidechains binding to dipeptide select #3/A hide sel atoms select subtract all