public class MultipleMcMain extends 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 and Description |
---|---|
static String |
algorithmName |
static String |
version
Version history:
1.0 - Initial code implementation from CEMC article.
|
Constructor and Description |
---|
MultipleMcMain(StructureAlignment pairwiseAlgo)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
MultipleAlignment |
align(List<Atom[]> atomArrays)
Run an alignment while specifying the atoms to be aligned.
|
MultipleAlignment |
align(List<Atom[]> atomArrays,
Object parameters)
Run an alignment and also send a bean containing the parameters.
|
String |
getAlgorithmName()
Get the name of this Algorithm.
|
ConfigStrucAligParams |
getParameters()
Return the parameters of this algorithm instance.
|
String |
getVersion()
Get the Version information for this Algorithm.
|
void |
setParameters(ConfigStrucAligParams parameters)
Set the parameters for this algorithm to use.
|
public static final String version
1.0 - Initial code implementation from CEMC article.
1.1 - Support CP, non-topological and flexible seed alignments.
public static final String algorithmName
public MultipleMcMain(StructureAlignment pairwiseAlgo)
pairwise
- the pairwise structure alignment used to generate the
multiple alignment seed.public MultipleAlignment align(List<Atom[]> atomArrays, Object parameters) throws StructureException
MultipleStructureAligner
align
in interface MultipleStructureAligner
atomArrays
- List of Atoms of all the structuresStructureException
MultipleStructureAligner.align(List)
public MultipleAlignment align(List<Atom[]> atomArrays) throws StructureException
MultipleStructureAligner
align
in interface MultipleStructureAligner
atomArrays
- List of Atoms of all the structuresStructureException
MultipleStructureAligner.align(List,Object)
public ConfigStrucAligParams getParameters()
MultipleStructureAligner
getParameters
in interface MultipleStructureAligner
public void setParameters(ConfigStrucAligParams parameters)
MultipleStructureAligner
setParameters
in interface MultipleStructureAligner
public String getAlgorithmName()
MultipleStructureAligner
getAlgorithmName
in interface MultipleStructureAligner
public String getVersion()
MultipleStructureAligner
getVersion
in interface MultipleStructureAligner
Copyright © 2000–2018 BioJava. All rights reserved.