MSuperimposition

MSuperimposition[ hexpr1 , hexpr2 ]
returns hexpr1 superimposed over hexpr2. The two expressions must have equal atoms sets.
MSuperimposition[ { hexpr1 , selectionpattern1 } , { hexpr2 , selectionpattern2 } ]
returns hexpr1 superimposed over hexpr2 using atoms selected respectively by selectionpattern1 and selectionpattern2.
  • slectionpattern1 and selectionpattern2 are selection patterns
  • Superimposition use Mathematica NMinimize function. The following options of NMinimize can be given:
AccuracyGoalAutomaticnumber of digits to final accuracy sought
MaxIterations100maximum number of iterations to use
MethodAutomaticmethod to use
PrecisionGoalAutomaticnumber of digits of final precision sought
WorkingPrecisionMachinePrecisionthe precision used in internal computations
In[1]:=
Click for copyable input
Loads two sample chains:
In[2]:=
Click for copyable input
Out[2]=
Superimpose the second chain c2 over the first chain c1:
In[3]:=
Click for copyable input
Out[3]=
Show the final superimposition:
In[4]:=
Click for copyable input
Out[4]=
Superimpose the second chain c2 over the first chain c1 using a subset of atoms, taken from residue 1 to 6:
In[5]:=
Click for copyable input
Out[5]=
Show the final superimposition:
In[6]:=
Click for copyable input
Out[6]=