pl.krakow.cmuj.bioinformatics.jellipse
Class AvgDihedralAngle
java.lang.Object
pl.krakow.cmuj.bioinformatics.jellipse.AvgDihedralAngle
- All Implemented Interfaces:
- Plottable
class AvgDihedralAngle
- extends java.lang.Object
- implements Plottable
Enables plotting averaged dihedral angle between consecutive peptide bond
planes computed along the whole polypeptide chain.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AvgDihedralAngle
AvgDihedralAngle()
getValue
public float getValue(Aminoacid aacid)
- Specified by:
getValue in interface Plottable
- Parameters:
aacid - aminoacid for which the locally averaged dihedral angle
beetween two consecutive bond planes is to be returned
- Returns:
- dihedral angle beetween two consecutive bond planes averaged
about a particular aminoacid
getMinValue
public float getMinValue(Peptide ch)
- Specified by:
getMinValue in interface Plottable
- Parameters:
ch - chain for which minimum averaged dihedral angle is to be returned
- Returns:
- minimal averaged dihedral angle along the whole chain
getMaxValue
public float getMaxValue(Peptide ch)
- Specified by:
getMaxValue in interface Plottable
- Parameters:
ch - chain for which maximal averagedg dihedral angle is to be returned
- Returns:
- maximal averaged dihedral angle along the whole chain
isCorrect
public boolean isCorrect(float value)
- Specified by:
isCorrect in interface Plottable
- Parameters:
value - value of averaged dihedral angle to be tested for correctness
- Returns:
- true, if value given is correct (between 0 and 180 degrees)
toString
public java.lang.String toString()
- Specified by:
toString in interface Plottable- Overrides:
toString in class java.lang.Object
- Returns:
- text identyfing property
toShortString
public java.lang.String toShortString()
- Specified by:
toShortString in interface Plottable
- Returns:
- short text identyfing property