public class OptimalCECPMain extends CeMain
CeMain
which sets default parameters to be appropriate for finding
circular permutations.
A circular permutation consists of a single cleavage point and rearrangement between two structures, for example:
ABCDEFG DEFGABC
Modifier and Type | Field and Description |
---|---|
static String |
algorithmName |
protected OptimalCECPParameters |
params |
static String |
version
version history:
1.0 - Initial version
|
calculator
newline
Constructor and Description |
---|
OptimalCECPMain() |
Modifier and Type | Method and Description |
---|---|
AFPChain |
align(Atom[] ca1,
Atom[] ca2,
Object param)
Finds the optimal alignment between two proteins allowing for a circular
permutation (CP).
|
AFPChain |
alignOptimal(Atom[] ca1,
Atom[] ca2,
Object param,
AFPChain[] alignments)
Finds the optimal alignment between two proteins allowing for a circular
permutation (CP).
|
AFPChain |
alignPermuted(Atom[] ca1,
Atom[] ca2,
Object param,
int cp)
Aligns ca1 with ca2 permuted by cp residues.
|
String |
getAlgorithmName()
Get the name of the Algorithm
|
ConfigStrucAligParams |
getParameters()
Return the paramers for this algorithm.
|
String |
getVersion()
Get the Version information for this Algorithm.
|
static void |
main(String[] args) |
void |
setParameters(ConfigStrucAligParams params)
Set the default parameters for this algorithm to use
|
align, getCECalculator
public static final String algorithmName
public static final String version
protected OptimalCECPParameters params
public String getAlgorithmName()
StructureAlignment
getAlgorithmName
in interface StructureAlignment
getAlgorithmName
in class CeMain
public String getVersion()
StructureAlignment
getVersion
in interface StructureAlignment
getVersion
in class CeMain
public ConfigStrucAligParams getParameters()
StructureAlignment
getParameters
in interface StructureAlignment
getParameters
in class CeMain
OptimalCECPParameters
objectpublic void setParameters(ConfigStrucAligParams params)
StructureAlignment
setParameters
in interface StructureAlignment
setParameters
in class CeMain
params
- Should be an OptimalCECPParameters
object specifying alignment optionspublic AFPChain alignPermuted(Atom[] ca1, Atom[] ca2, Object param, int cp) throws StructureException
WARNING: Modifies ca2 during the permutation. Be sure to make a copy before calling this method.
ca1
- ca2
- param
- cp
- StructureException
public AFPChain align(Atom[] ca1, Atom[] ca2, Object param) throws StructureException
parameters
. If the parameter
tryAllCPs
is true, all possible
CP sites are tried and the optimal site is returned. Otherwise, the
cpPoint
parameter is used to
determine the CP point, greatly reducing the computation required.align
in interface StructureAlignment
align
in class CeMain
ca1
- CA atoms of the first proteinca2
- CA atoms of the second proteinparam
- CeParameters
objectStructureException
alignOptimal(Atom[], Atom[], Object, AFPChain[])
public AFPChain alignOptimal(Atom[] ca1, Atom[] ca2, Object param, AFPChain[] alignments) throws StructureException
#alignHeuristic(Atom[], Atom[], Object)
for a
faster algorithm.ca1
- CA atoms of the first proteinca2
- CA atoms of the second proteinparam
- CeParameters
objectalignments
- If not null, should be an empty array of the same length as
ca2. This will be filled with the alignments from permuting ca2 by
0 to n-1 residues.StructureException
public static void main(String[] args)
Copyright © 2000–2016 BioJava. All rights reserved.