Class SecStrucState
java.lang.Object
org.biojava.nbio.structure.secstruc.SecStrucInfo
org.biojava.nbio.structure.secstruc.SecStrucState
- All Implemented Interfaces:
Serializable
This class extends the basic container for secondary structure annotation,
including all the information used in the DSSP algorithm.
- Author:
- Andreas Prlic, Aleix Lafita
- See Also:
-
Field Summary
Fields inherited from class org.biojava.nbio.structure.secstruc.SecStrucInfo
assignment, BIOJAVA_ASSIGNMENT, DSSP_ASSIGNMENT, parent, PDB_AUTHOR_ASSIGNMENT, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addBridge
(BetaBridge bridge) Adds a Bridge to the residue.float
getKappa()
double
getOmega()
double
getPhi()
double
getPsi()
char[]
getTurn()
boolean
isBend()
printDSSPline
(int index) void
setAccept1
(HBond accept1) void
setAccept2
(HBond accept2) void
setBend
(boolean bend) void
setBridge1
(BetaBridge bridge1) void
setBridge2
(BetaBridge bridge2) void
void
void
setKappa
(float kappa) void
setOmega
(double omega) void
setPhi
(double phi) void
setPsi
(double psi) void
setTurn
(char c, int t) Set the turn column corresponding to 3,4 or 5 helix patterns.Methods inherited from class org.biojava.nbio.structure.secstruc.SecStrucInfo
equals, getAssignment, getGroup, getType, hashCode, setType, toString
-
Constructor Details
-
SecStrucState
-
-
Method Details
-
isBend
-
setBend
-
getKappa
-
setKappa
-
getTurn
-
setTurn
Set the turn column corresponding to 3,4 or 5 helix patterns. If starting > or ending < was set and the opposite is being set, the value will be converted to X. If a number was set, it will be overwritten by the new character.- Parameters:
c
- character in the columnt
- turn of the helix {3,4,5}
-
getAccept1
-
setAccept1
-
getAccept2
-
setAccept2
-
getDonor1
-
setDonor1
-
getDonor2
-
setDonor2
-
getPhi
-
setPhi
-
getPsi
-
setPsi
-
getOmega
-
setOmega
-
getBridge1
-
getBridge2
-
addBridge
Adds a Bridge to the residue. Each residue can only store two bridges. If the residue contains already two Bridges, the Bridge will not be added and the method returns false.- Parameters:
bridge
-- Returns:
- false if the Bridge was not added, true otherwise
-
setBridge1
-
setBridge2
-
printDSSPline
-