MultipleStructureAlignerpublic class MultipleMcMain extends java.lang.Object implements MultipleStructureAligner
This implementation is a generalized version that allows any pairwise
structure alignment algorithm as input, thus supporting any non-topological
or flexible alignment. The seed can also directly be the input for the
optimization. For that, look at MultipleMcOptimizer.
A Demo on how to use the algorithm can be found in the demo package.
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
algorithmName |
|
static java.lang.String |
version |
Version history:
|
| Constructor | Description |
|---|---|
MultipleMcMain(StructureAlignment pairwiseAlgo) |
Default constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
MultipleAlignment |
align(java.util.List<Atom[]> atomArrays) |
Run an alignment while specifying the atoms to be aligned.
|
MultipleAlignment |
align(java.util.List<Atom[]> atomArrays,
java.lang.Object parameters) |
Run an alignment and also send a bean containing the parameters.
|
java.lang.String |
getAlgorithmName() |
Get the name of this Algorithm.
|
ConfigStrucAligParams |
getParameters() |
Return the parameters of this algorithm instance.
|
java.lang.String |
getVersion() |
Get the Version information for this Algorithm.
|
void |
setParameters(ConfigStrucAligParams parameters) |
Set the parameters for this algorithm to use.
|
public static final java.lang.String version
1.0 - Initial code implementation from CEMC article.
1.1 - Support CP, non-topological and flexible seed alignments.
public static final java.lang.String algorithmName
public MultipleMcMain(StructureAlignment pairwiseAlgo)
pairwise - the pairwise structure alignment used to generate the
multiple alignment seed.public MultipleAlignment align(java.util.List<Atom[]> atomArrays, java.lang.Object parameters) throws StructureException
MultipleStructureAligneralign in interface MultipleStructureAligneratomArrays - List of Atoms of all the structuresStructureExceptionMultipleStructureAligner.align(List)public MultipleAlignment align(java.util.List<Atom[]> atomArrays) throws StructureException
MultipleStructureAligneralign in interface MultipleStructureAligneratomArrays - List of Atoms of all the structuresStructureExceptionMultipleStructureAligner.align(List,Object)public ConfigStrucAligParams getParameters()
MultipleStructureAlignergetParameters in interface MultipleStructureAlignerpublic void setParameters(ConfigStrucAligParams parameters)
MultipleStructureAlignersetParameters in interface MultipleStructureAlignerpublic java.lang.String getAlgorithmName()
MultipleStructureAlignergetAlgorithmName in interface MultipleStructureAlignerpublic java.lang.String getVersion()
MultipleStructureAlignergetVersion in interface MultipleStructureAligner