public class CeParameters extends Object implements ConfigStrucAligParams
Modifier and Type | Class and Description |
---|---|
static class |
CeParameters.ScoringStrategy |
Modifier and Type | Field and Description |
---|---|
protected static double |
DEFAULT_GAP_EXTENSION |
protected static double |
DEFAULT_GAP_OPEN |
protected static double |
DEFAULT_oRmsdThr |
protected static String |
DEFAULT_SUBSTITUTION_MATRIX |
protected static double |
DISTANCE_INCREMENT |
protected double |
distanceIncrement |
protected double |
gapExtension |
protected double |
gapOpen |
protected int |
maxGapSize |
protected int |
maxNrIterationsForOptimization |
protected double |
maxOptRMSD |
protected double |
oRmsdThr |
protected double |
rmsdThr |
protected double |
rmsdThrJoin |
protected CeParameters.ScoringStrategy |
scoringStrategy |
protected double |
seqWeight |
protected boolean |
showAFPRanges |
protected int |
sideChainScoringType |
protected SubstitutionMatrix<AminoAcidCompound> |
substitutionMatrix |
protected int |
winSize |
Constructor and Description |
---|
CeParameters() |
Modifier and Type | Method and Description |
---|---|
Double |
getDistanceIncrement() |
Double |
getGapExtension() |
Double |
getGapOpen() |
Integer |
getMaxGapSize()
the Max gap size parameter G . default is 30, which was
described to obtained empirically in the CE paper.
|
int |
getMaxNrIterationsForOptimization()
Get the maximum nr of times the (slow) optimiziation of alignment should iterate.
|
Double |
getMaxOptRMSD()
Returns the maximum RMSD cutoff to be applied during alignment optimization (default: 99 = unlimited)
|
Double |
getORmsdThr()
Get the Original RMSD threshold from which the alignment optimization is started
|
Double |
getRmsdThr()
RMSD Threshold
|
Double |
getRmsdThrJoin()
RMSD threshold for joining of AFPs
|
CeParameters.ScoringStrategy |
getScoringStrategy() |
double |
getSeqWeight()
Should sequence conservation be considered as part of the alignment?
|
SubstitutionMatrix<AminoAcidCompound> |
getSubstitutionMatrix()
Sets the substitution matrix to be used for influencing the alignment with sequence conservation information.
|
List<String> |
getUserConfigHelp()
The help text for each of these parameters.
|
List<String> |
getUserConfigParameterNames()
The labels to be displayed to the user for each parameter
|
List<String> |
getUserConfigParameters()
get the list of parameters that the user can change through the user interface.
|
List<Class> |
getUserConfigTypes()
Get the data types of the parameters
|
Integer |
getWinSize()
The window size to look at
|
boolean |
isOptimizeAlignment()
Whether the CE algorithm should extend the best found trace with dynamic programming,
while keeping RMSD at about the same level.
|
boolean |
isShowAFPRanges() |
void |
reset()
Set the parameters to the default.
|
void |
setDistanceIncrement(Double distanceIncrement) |
void |
setGapExtension(Double gapExtension) |
void |
setGapOpen(Double gapOpen) |
void |
setMaxGapSize(Integer maxGapSize)
Set the Max gap size parameter.
|
void |
setMaxNrIterationsForOptimization(int maxNrIterationsForOptimization)
Set the maximum nr of times the (slow) optimiziation of alignment should iterate.
|
void |
setMaxOptRMSD(Double param)
set the maximum RMSD cutoff to be applied during alignment optimization.
|
void |
setOptimizeAlignment(boolean optimizeAlignment)
Whether the CE algorithm should extend the best found trace with dynamic programming,
while keeping RMSD at about the same level.
|
void |
setORmsdThr(Double oRmsdThr)
Set the Original RMSD threshold from which the alignment optimization is started
|
void |
setRmsdThr(Double rmsdThr) |
void |
setRmsdThrJoin(Double rmsdThrJoin) |
void |
setScoringStrategy(CeParameters.ScoringStrategy scoringStrategy)
Set the scoring strategy to use. 0 is default CE scoring scheme. 1 uses
Side chain orientation.
|
void |
setSeqWeight(double seqWeight)
Should sequence conservation be considered as part of the alignment?
|
void |
setShowAFPRanges(boolean showAFPRanges) |
void |
setSubstitutionMatrix(SubstitutionMatrix<AminoAcidCompound> substitutionMatrix)
Sets the substitution matrix to be used for influencing the alignment with sequence conservation information.
|
void |
setWinSize(Integer winSize) |
String |
toString() |
protected int winSize
protected double rmsdThr
protected double rmsdThrJoin
protected double maxOptRMSD
protected CeParameters.ScoringStrategy scoringStrategy
protected int maxGapSize
protected boolean showAFPRanges
protected int sideChainScoringType
protected static final double DEFAULT_GAP_OPEN
protected static final double DEFAULT_GAP_EXTENSION
protected static final double DISTANCE_INCREMENT
protected static final double DEFAULT_oRmsdThr
protected static final String DEFAULT_SUBSTITUTION_MATRIX
protected double gapOpen
protected double gapExtension
protected double distanceIncrement
protected double oRmsdThr
protected int maxNrIterationsForOptimization
protected SubstitutionMatrix<AminoAcidCompound> substitutionMatrix
protected double seqWeight
public CeParameters()
public void reset()
ConfigStrucAligParams
reset
in interface ConfigStrucAligParams
public Integer getWinSize()
public void setWinSize(Integer winSize)
public Double getRmsdThr()
public void setRmsdThr(Double rmsdThr)
public Double getRmsdThrJoin()
public void setRmsdThrJoin(Double rmsdThrJoin)
public CeParameters.ScoringStrategy getScoringStrategy()
public void setScoringStrategy(CeParameters.ScoringStrategy scoringStrategy)
scoringStrategy
- public void setMaxGapSize(Integer maxGapSize)
maxGapSize
- public Integer getMaxGapSize()
public List<String> getUserConfigHelp()
ConfigStrucAligParams
getUserConfigHelp
in interface ConfigStrucAligParams
public List<String> getUserConfigParameters()
ConfigStrucAligParams
getUserConfigParameters
in interface ConfigStrucAligParams
public List<String> getUserConfigParameterNames()
ConfigStrucAligParams
getUserConfigParameterNames
in interface ConfigStrucAligParams
public List<Class> getUserConfigTypes()
ConfigStrucAligParams
getUserConfigTypes
in interface ConfigStrucAligParams
public boolean isShowAFPRanges()
public void setShowAFPRanges(boolean showAFPRanges)
public void setMaxOptRMSD(Double param)
param
- maxOptRMSDpublic Double getMaxOptRMSD()
public Double getGapOpen()
public void setGapOpen(Double gapOpen)
public Double getGapExtension()
public void setGapExtension(Double gapExtension)
public Double getDistanceIncrement()
public void setDistanceIncrement(Double distanceIncrement)
public Double getORmsdThr()
public void setORmsdThr(Double oRmsdThr)
oRmsdThr
- the thresholdpublic int getMaxNrIterationsForOptimization()
maxNrIterationsForOptimization
- public void setMaxNrIterationsForOptimization(int maxNrIterationsForOptimization)
maxNrIterationsForOptimization
- public double getSeqWeight()
public void setSeqWeight(double seqWeight)
seqWeight
- the weight factor (default 0)public SubstitutionMatrix<AminoAcidCompound> getSubstitutionMatrix()
public void setSubstitutionMatrix(SubstitutionMatrix<AminoAcidCompound> substitutionMatrix)
substitutionMatrix
- public boolean isOptimizeAlignment()
public void setOptimizeAlignment(boolean optimizeAlignment)
optimizeAlignment
- Copyright © 2000–2018 BioJava. All rights reserved.