|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.proteinshader.structure.Region org.proteinshader.structure.BetaStrand
public class BetaStrand
This concrete subclass of Region holds information specific to a
protein BetaStrand.
PDB SHEET records are usually generated automatically with the Kabsch
and Sander algoritnm (Kabsch and Sander, 1983, Biopolymers 22:
2577-2637), but they may be specified by the depositor of the
structure entry.
Constructor Summary | |
---|---|
BetaStrand(String betaStrandID,
String betaStrandNumber,
String sheetID,
String startResidueID,
String endResidueID,
Chain chain,
int sense,
int strandsInSheet)
Constructs a BetaStrand. |
Method Summary | |
---|---|
void |
accept(Visitor visitor)
Accepts a Visitor and does a callback. |
String |
getBetaStrandID()
Returns the BetaStrand ID. |
String |
getBetaStrandNumber()
Returns the BetaStrand number. |
int |
getSense()
Returns the sense (orientation) of the BetaStrand. |
String |
getSheetID()
Returns the ID of the sheet that the BetaStrand belongs to. |
int |
getStrandsInSheet()
Returns the total number of BetaStrands in the same sheet as this BetaStrand. |
String |
toString()
Returns the BetaStrand ID. |
Methods inherited from class org.proteinshader.structure.Region |
---|
createSegments, getAminoAcidAfterRegion, getAminoAcidBeforeRegion, getChainID, getEndResidueID, getModelID, getSegment, getStartResidueID, getStructureID, iteratorAminoAcids, iteratorSegments, markAminoAcids, numberOfAminoAcids, numberOfSegments, processID, setSegmentAlpha, setSegmentAlphaToDefault, setSegmentRGB, setSegmentRGBToDefault, setSegmentsToAminoAcidColors, setSegmentsToRegionColor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BetaStrand(String betaStrandID, String betaStrandNumber, String sheetID, String startResidueID, String endResidueID, Chain chain, int sense, int strandsInSheet) throws InvalidRegionException, InvalidIDException
betaStrandID
- a unique ID (betaStrandNumber plus sheetID).betaStrandNumber
- Strand identifier from a PDB SHEET record.sheetID
- sheet identifier from a PDB SHEET recordstartResidueID
- ID of the first AminoAcid in the sequence.endResidueID
- ID of the last AminoAcid in the sequence.chain
- Chain the Helix belongs to.sense
- strand sense (0, 1, or -1).strandsInSheet
- total number of BetaStrands in the sheet.
InvalidRegionException
- if the sequence of AminoAcids
(with at least two Residues)
cannot be found on the Chain.
InvalidIDException
- if the betaStrandID, sheetID,
startResidueID, or endResidueID is
null or does not have at least one
non-whitespace character.Method Detail |
---|
public void accept(Visitor visitor) throws VisitorException
accept
in interface Visitable
accept
in class Region
visitor
- the Visitor to do a callback with.
VisitorException
- if an error occurs while an object is
being visited.public String getBetaStrandID()
public String getBetaStrandNumber()
public String getSheetID()
public int getSense()
public int getStrandsInSheet()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |