Class SecStrucState
- java.lang.Object
- 
- org.biojava.nbio.structure.secstruc.SecStrucInfo
- 
- org.biojava.nbio.structure.secstruc.SecStrucState
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class SecStrucState extends SecStrucInfo 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:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class org.biojava.nbio.structure.secstruc.SecStrucInfoassignment, BIOJAVA_ASSIGNMENT, DSSP_ASSIGNMENT, parent, PDB_AUTHOR_ASSIGNMENT, type
 
- 
 - 
Constructor SummaryConstructors Constructor Description SecStrucState(Group g, String ass, SecStrucType t)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddBridge(BetaBridge bridge)Adds a Bridge to the residue.HBondgetAccept1()HBondgetAccept2()BetaBridgegetBridge1()BetaBridgegetBridge2()HBondgetDonor1()HBondgetDonor2()floatgetKappa()doublegetOmega()doublegetPhi()doublegetPsi()char[]getTurn()booleanisBend()StringprintDSSPline(int index)voidsetAccept1(HBond accept1)voidsetAccept2(HBond accept2)voidsetBend(boolean bend)voidsetBridge1(BetaBridge bridge1)voidsetBridge2(BetaBridge bridge2)voidsetDonor1(HBond donor1)voidsetDonor2(HBond donor2)voidsetKappa(float kappa)voidsetOmega(double omega)voidsetPhi(double phi)voidsetPsi(double psi)voidsetTurn(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.SecStrucInfoequals, getAssignment, getGroup, getType, hashCode, setType, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
SecStrucStatepublic SecStrucState(Group g, String ass, SecStrucType t) 
 
- 
 - 
Method Detail- 
isBendpublic boolean isBend() 
 - 
setBendpublic void setBend(boolean bend) 
 - 
getKappapublic float getKappa() 
 - 
setKappapublic void setKappa(float kappa) 
 - 
getTurnpublic char[] getTurn() 
 - 
setTurnpublic void setTurn(char c, int t) 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 column
- t- turn of the helix {3,4,5}
 
 - 
getAccept1public HBond getAccept1() 
 - 
setAccept1public void setAccept1(HBond accept1) 
 - 
getAccept2public HBond getAccept2() 
 - 
setAccept2public void setAccept2(HBond accept2) 
 - 
getPhipublic double getPhi() 
 - 
setPhipublic void setPhi(double phi) 
 - 
getPsipublic double getPsi() 
 - 
setPsipublic void setPsi(double psi) 
 - 
getOmegapublic double getOmega() 
 - 
setOmegapublic void setOmega(double omega) 
 - 
getBridge1public BetaBridge getBridge1() 
 - 
getBridge2public BetaBridge getBridge2() 
 - 
addBridgepublic boolean addBridge(BetaBridge bridge) 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
 
 - 
setBridge1public void setBridge1(BetaBridge bridge1) 
 - 
setBridge2public void setBridge2(BetaBridge bridge2) 
 - 
printDSSPlinepublic String printDSSPline(int index) 
 
- 
 
-