Package pl.poznan.put.pdb.analysis
Class ResidueTorsionAngles
java.lang.Object
pl.poznan.put.pdb.analysis.ResidueTorsionAngles
- Direct Known Subclasses:
ImmutableResidueTorsionAngles
A collection of torsion angles values for a single residue.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResidueTorsionAngles
calculate
(List<PdbResidue> residues, int index) Calculates all torsion angles' values in the given residue.abstract PdbResidueIdentifier
final Angle
value
(MasterTorsionAngleType masterType) Finds the value of a master torsion angle type in this collection.final Angle
value
(TorsionAngleType type) Finds the value of specific torsion angle type in this collection.protected abstract List<TorsionAngleValue>
values()
-
Constructor Details
-
ResidueTorsionAngles
public ResidueTorsionAngles()
-
-
Method Details
-
calculate
Calculates all torsion angles' values in the given residue.- Parameters:
residues
- The list of all residues.index
- The index of residue in the list.- Returns:
- An instance of this class with all torsion angles' values calculated.
-
identifier
- Returns:
- The residue identifier.
-
values
- Returns:
- The list of torsion angles' values.
-
value
Finds the value of specific torsion angle type in this collection.- Parameters:
type
- The type of torsion angle to look for.- Returns:
- The value of torsion angle in this residue or NaN if none found.
-
value
Finds the value of a master torsion angle type in this collection.- Parameters:
masterType
- The master torsion angle tyoe to look for.- Returns:
- The value of torsion angle in this residue or NaN if none found.
-