Class SecStrucCalc
java.lang.Object
org.biojava.nbio.structure.secstruc.SecStrucCalc
Calculate and assign the secondary structure (SS) to the
Groups of a Structure object. This object also stores the result
of the calculation.
The rules for SS calculation are the ones defined by DSSP: Kabsch,W. and Sander,C. (1983) Biopolymers 22, 2577-2637. Original DSSP article see at: dssp.pdf. Some parts are also taken from: T.E.Creighton, Proteins - Structure and Molecular Properties, 2nd Edition, Freeman 1994.
- Author:
- Andreas Prlic, Aleix Lafita
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
min distance of two CA atoms if H-bonds are allowed to formstatic final double
higher limit for H-bond energystatic final int
Minimal H-bond energy in cal/molstatic final double
max distance CA atoms in peptide bond (backbone discontinuity)static final double
min distance between two residuesstatic final double
constant for electrostatic energy -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPredicts the secondary structure of this Structure object, using a DSSP implementation.boolean
Generate a DSSP file format ouput String of this SS prediction.Generate a FASTA sequence with the SS annotation letters in the aminoacid sequence order.Generate a summary of this SS prediction with information about the three types of helix turns in different row sequences.toString()
-
Field Details
-
MINDIST
public static final double MINDISTmin distance between two residues- See Also:
-
CA_MIN_DIST
public static final double CA_MIN_DISTmin distance of two CA atoms if H-bonds are allowed to form- See Also:
-
MAX_PEPTIDE_BOND_LENGTH
public static final double MAX_PEPTIDE_BOND_LENGTHmax distance CA atoms in peptide bond (backbone discontinuity)- See Also:
-
HBONDLOWENERGY
public static final int HBONDLOWENERGYMinimal H-bond energy in cal/mol- See Also:
-
HBONDHIGHENERGY
public static final double HBONDHIGHENERGYhigher limit for H-bond energy- See Also:
-
Q
public static final double Qconstant for electrostatic energyf * q1 * q2 * scale Q = -332 * 0.42 * 0.20 * 1000.0
q1 and q2 are partial charges which are placed on the C,O (+q1,-q1) and N,H (-q2,+q2)- See Also:
-
-
Constructor Details
-
SecStrucCalc
public SecStrucCalc()
-
-
Method Details
-
calculate
Predicts the secondary structure of this Structure object, using a DSSP implementation.- Parameters:
s
- Structure to predict the SSassign
- sets the SS information to the Groups of s- Returns:
- a List of SS annotation objects
- Throws:
StructureException
-
toString
-
printDSSP
Generate a DSSP file format ouput String of this SS prediction.- Returns:
- String in DSSP output file format
-
printHelixSummary
Generate a summary of this SS prediction with information about the three types of helix turns in different row sequences.This is similar to the summary output of Jmol, and useful to visualize the helix patterns.
- Returns:
- String helix summary
-
printFASTA
Generate a FASTA sequence with the SS annotation letters in the aminoacid sequence order.- Returns:
- String in FASTA sequence format
-
equals
-