public class ReferenceSuperimposer extends java.lang.Object implements MultipleSuperimposer
MultipleAlignment
onto a reference structure.
Performs a global superposition of the MultipleAlignment in case there is only one
BlockSet
, and a superposition for every BlockSet in case there are more than
one (flexible alignment).
This class uses the SVDSuperimposer
algorithm.
Constructor and Description |
---|
ReferenceSuperimposer()
Default Constructor.
|
ReferenceSuperimposer(int reference)
Constructor using a specified structure as reference.
|
Modifier and Type | Method and Description |
---|---|
void |
superimpose(MultipleAlignment alignment)
Superimpose all structures in a MultipleAlignment to the reference structure.
|
public ReferenceSuperimposer()
public ReferenceSuperimposer(int reference)
reference
- Index of the structure to use as a reference (it has to be >0)public void superimpose(MultipleAlignment alignment) throws StructureException
This method only calculates and sets the transformation 4D Matrices. If any score is needed
it should be calculated and set separately afterwards with MultipleAlignmentScorer
.
superimpose
in interface MultipleSuperimposer
alignment
- MultipleAlignment object to superimpose.StructureException