public class MultipleMcOptimizer extends Object implements Callable<MultipleAlignment>
The seed alignment can be flexible, non-topological or include CP, but this
optimization will not change the number of flexible parts BlockSet
s
or non-topological regions Block
. Thus, the definition of those parts
depend exclusively on the pairwise alignment (or user alignment) used to
generate the seed multiple alignment.
This class implements Callable, because multiple instances of the optimization can be run in parallel.
Constructor and Description |
---|
MultipleMcOptimizer(MultipleAlignment seedAln,
MultipleMcParameters params,
int reference)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MultipleAlignment |
call() |
MultipleAlignment |
optimize()
Optimization method based in a Monte-Carlo approach.
|
public MultipleMcOptimizer(MultipleAlignment seedAln, MultipleMcParameters params, int reference)
seedAln
- MultipleAlignment to be optimized.params
- the parameter beamreference
- the index of the most similar structure to all othersStructureException
public MultipleAlignment call() throws Exception
call
in interface Callable<MultipleAlignment>
Exception
public MultipleAlignment optimize() throws StructureException
StructureException
Copyright © 2000–2018 BioJava. All rights reserved.