public class SubunitClustererParameters extends Object implements Serializable
SubunitClusterer
.Constructor and Description |
---|
SubunitClustererParameters()
Initialize with "local" metrics by default.
|
SubunitClustererParameters(boolean useGlobalMetrics)
"Local" metrics are scoring
SubunitClustererMethod.SEQUENCE: sequence identity of a local alignment
(normalised by the number of aligned residues)
sequence coverage of the alignment
(normalised by the length of the longer sequence)
SubunitClustererMethod.STRUCTURE: RMSD of the aligned substructures
and structure coverage of the alignment
(normalised by the length of the larger structure)
Two thresholds for each method are required.
|
Modifier and Type | Method and Description |
---|---|
int |
getAbsoluteMinimumSequenceLength()
If the shortest subunit sequence length is higher or equal the
minimumSequenceLengthFraction times the median subunit sequence length,
then the minimumSequenceLength is set to shortest subunit sequence
length, but not shorter than the absoluteMinimumSequenceLength.
|
SubunitClustererMethod |
getClustererMethod()
Method to cluster subunits.
|
int |
getMinimumSequenceLength()
Get the minimum number of residues of a subunits to be considered in the
clusters.
|
double |
getMinimumSequenceLengthFraction()
If the shortest subunit sequence length is higher or equal the
minimumSequenceLengthFraction times the median subunit sequence length,
then the minimumSequenceLength is set to shortest subunit sequence
length, but not shorter than the absoluteMinimumSequenceLength.
|
double |
getRMSDThreshold()
Structure similarity threshold (measured with RMSD) to consider for the
structural subunit clustering.
|
double |
getSequenceCoverageThreshold()
The minimum coverage of the sequence alignment between two subunits to be
clustered together.
|
double |
getSequenceIdentityThreshold()
Sequence identity threshold to consider for the subunits clustering.
|
double |
getStructureCoverageThreshold()
The minimum coverage of the structure alignment between two subunits to be
clustered together.
|
String |
getSuperpositionAlgorithm()
Method to superpose subunits (i.e., structural aligner).
|
double |
getTMThreshold()
Structure similarity threshold (measured with TMScore) to consider for the
structural subunit clustering.
|
boolean |
isHighConfidenceScores(double sequenceIdentity,
double sequenceCoverage)
Whether the subunits can be considered "identical" by sequence alignment.
|
boolean |
isInternalSymmetry()
The internal symmetry option divides each
Subunit of each
SubunitCluster into its internally symmetric repeats. |
boolean |
isOptimizeAlignment()
Whether the alignment algorithm should try its best to optimize the alignment,
or we are happy with a quick and dirty result.
|
boolean |
isUseGlobalMetrics()
Use metrics calculated relative to the whole sequence or structure,
rather than the aligned part only
|
boolean |
isUseRMSD()
Use RMSD for evaluating structure similarity
|
boolean |
isUseSequenceCoverage()
Use sequence coverage for evaluating sequence similarity
|
boolean |
isUseStructureCoverage()
Use structure coverage for evaluating sequence similarity
|
boolean |
isUseTMScore()
Use TMScore for evaluating structure similarity
|
void |
setAbsoluteMinimumSequenceLength(int absoluteMinimumSequenceLength)
If the shortest subunit sequence length is higher or equal the
minimumSequenceLengthFraction times the median subunit sequence length,
then the minimumSequenceLength is set to shortest subunit sequence
length, but not shorter than the absoluteMinimumSequenceLength.
|
void |
setClustererMethod(SubunitClustererMethod method)
Method to cluster subunits.
|
void |
setInternalSymmetry(boolean internalSymmetry)
The internal symmetry option divides each
Subunit of each
SubunitCluster into its internally symmetric repeats. |
void |
setMinimumSequenceLength(int minimumSequenceLength)
Set the minimum number of residues of a subunits to be considered in the
clusters.
|
void |
setMinimumSequenceLengthFraction(double minimumSequenceLengthFraction)
If the shortest subunit sequence length is higher or equal the
minimumSequenceLengthFraction times the median subunit sequence length,
then the minimumSequenceLength is set to shortest subunit sequence
length, but not shorter than the absoluteMinimumSequenceLength.
|
void |
setOptimizeAlignment(boolean optimizeAlignment)
Whether the alignment algorithm should try its best to optimize the alignment,
or we are happy with a quick and dirty result.
|
void |
setRMSDThreshold(double rmsdThreshold)
Structure similarity threshold (measured with RMSD) to consider for the
structural subunit clustering.
|
void |
setSequenceCoverageThreshold(double sequenceCoverageThreshold)
The minimum coverage of the sequence alignment between two subunits to be
clustered together.
|
void |
setSequenceIdentityThreshold(double sequenceIdentityThreshold)
Sequence identity threshold to consider for the sequence subunit
clustering.
|
void |
setStructureCoverageThreshold(double structureCoverageThreshold)
The minimum coverage of the structure alignment between two subunits to be
clustered together.
|
void |
setSuperpositionAlgorithm(String superpositionAlgorithm)
Method to cluster subunits.
|
void |
setTMThreshold(double tmThreshold)
Structure similarity threshold (measured with TMScore) to consider for the
structural subunit clustering.
|
void |
setUseGlobalMetrics(boolean useGlobalMetrics)
Use metrics calculated relative to the whole sequence or structure,
rather than the aligned part only
|
void |
setUseRMSD(boolean useRMSD)
Use RMSD for evaluating structure similarity
|
void |
setUseSequenceCoverage(boolean useSequenceCoverage)
Use sequence coverage for evaluating sequence similarity
|
void |
setUseStructureCoverage(boolean useStructureCoverage)
Use structure coverage for evaluating sequence similarity
|
void |
setUseTMScore(boolean useTMScore)
Use TMScore for evaluating structure similarity
|
String |
toString() |
public SubunitClustererParameters(boolean useGlobalMetrics)
public SubunitClustererParameters()
public int getMinimumSequenceLength()
public void setMinimumSequenceLength(int minimumSequenceLength)
minimumSequenceLength
- public int getAbsoluteMinimumSequenceLength()
This adaptive feature allows the consideration of structures mainly constructed by very short chains, such as collagen (1A3I)
public void setAbsoluteMinimumSequenceLength(int absoluteMinimumSequenceLength)
This adaptive feature allows the consideration of structures mainly constructed by very short chains, such as collagen (1A3I)
absoluteMinimumSequenceLength
- public double getMinimumSequenceLengthFraction()
This adaptive feature allows the consideration of structures mainly constructed by very short chains, such as collagen (1A3I)
public void setMinimumSequenceLengthFraction(double minimumSequenceLengthFraction)
This adaptive feature allows the consideration of structures mainly constructed by very short chains, such as collagen (1A3I)
minimumSequenceLengthFraction
- public double getSequenceIdentityThreshold()
Two subunits with sequence identity equal or higher than the threshold will be clustered together.
public void setSequenceIdentityThreshold(double sequenceIdentityThreshold)
Two subunits with sequence identity equal or higher than the threshold will be clustered together.
sequenceIdentityThreshold
- public double getSequenceCoverageThreshold()
public void setSequenceCoverageThreshold(double sequenceCoverageThreshold)
sequenceCoverageThreshold
- public double getRMSDThreshold()
public void setRMSDThreshold(double rmsdThreshold)
rmsdThreshold
- public double getTMThreshold()
public void setTMThreshold(double tmThreshold)
tmThreshold
- public double getStructureCoverageThreshold()
public void setStructureCoverageThreshold(double structureCoverageThreshold)
structureCoverageThreshold
- public SubunitClustererMethod getClustererMethod()
public void setClustererMethod(SubunitClustererMethod method)
method
- public boolean isInternalSymmetry()
Subunit
of each
SubunitCluster
into its internally symmetric repeats.
The SubunitClustererMethod.STRUCTURE
must be chosen to consider
internal symmetry, otherwise this parameter will be ignored.
public void setInternalSymmetry(boolean internalSymmetry)
Subunit
of each
SubunitCluster
into its internally symmetric repeats.
The SubunitClustererMethod.STRUCTURE
must be chosen to consider
internal symmetry, otherwise this parameter will be ignored.
internalSymmetry
- true if internal symmetry is considered, false otherwisepublic String getSuperpositionAlgorithm()
public void setSuperpositionAlgorithm(String superpositionAlgorithm)
superpositionAlgorithm
- public boolean isOptimizeAlignment()
public void setOptimizeAlignment(boolean optimizeAlignment)
optimizeAlignment
- public boolean isUseRMSD()
public void setUseRMSD(boolean useRMSD)
useRMSD
- public boolean isUseTMScore()
public void setUseTMScore(boolean useTMScore)
useTMScore
- public boolean isUseSequenceCoverage()
public void setUseSequenceCoverage(boolean useSequenceCoverage)
useSequenceCoverage
- public boolean isUseStructureCoverage()
public void setUseStructureCoverage(boolean useStructureCoverage)
useStructureCoverage
- public boolean isUseGlobalMetrics()
public void setUseGlobalMetrics(boolean useGlobalMetrics)
useGlobalMetrics
- public boolean isHighConfidenceScores(double sequenceIdentity, double sequenceCoverage)
sequenceIdentity
- sequenceCoverage
- Copyright © 2000–2019 BioJava. All rights reserved.