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
|
calculatornewline| 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, getCECalculatorpublic static final String algorithmName
public static final String version
protected OptimalCECPParameters params
public OptimalCECPMain()
public String getAlgorithmName()
StructureAlignmentgetAlgorithmName in interface StructureAlignmentgetAlgorithmName in class CeMainpublic String getVersion()
StructureAlignmentgetVersion in interface StructureAlignmentgetVersion in class CeMainpublic ConfigStrucAligParams getParameters()
StructureAlignmentgetParameters in interface StructureAlignmentgetParameters in class CeMainOptimalCECPParameters objectpublic void setParameters(ConfigStrucAligParams params)
StructureAlignmentsetParameters in interface StructureAlignmentsetParameters in class CeMainparams - 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 - StructureExceptionpublic 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 StructureAlignmentalign in class CeMainca1 - CA atoms of the first proteinca2 - CA atoms of the second proteinparam - CeParameters objectStructureExceptionalignOptimal(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.StructureExceptionCopyright © 2000–2017 BioJava. All rights reserved.