ProGAL.proteins.beltaStructure.bnb
Class SegmentStructure
java.lang.Object
ProGAL.proteins.beltaStructure.bnb.SegmentStructure
- All Implemented Interfaces:
- Branchable
public class SegmentStructure
- extends java.lang.Object
- implements Branchable
Method Summary |
java.util.List<java.lang.Integer> |
definedResidues()
|
int |
getStructures()
Return the number of structures in this segment. |
static void |
main(java.lang.String[] args)
|
void |
setStructure(int s)
Sets the structure of this segment. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
seg
public final SecondaryStructure.SSSegment seg
SegmentStructure
public SegmentStructure(int dirs,
int rots,
SecondaryStructure ss,
SecondaryStructure.SSSegment seg,
AminoAcidChain chain)
- Construct a segment structure for the specified segment with
dirs
directions,
rots
rotations
- Parameters:
dirs
- rots
- ss
- Secondary structure of entire chainseg
- Segment to determine the structure ofchain
- The entire amino acid chain. Kept because the setStructure
updates the
chain atoms within the bounds of the segment.
definedResidues
public java.util.List<java.lang.Integer> definedResidues()
- Specified by:
definedResidues
in interface Branchable
setStructure
public void setStructure(int s)
- Sets the structure of this segment. If
backward==false
this method places all calphas and
cbetas from (including) seg.start
to (not including) seg.end
. If
backwards
- Specified by:
setStructure
in interface Branchable
getStructures
public int getStructures()
- Return the number of structures in this segment. Typically the number of rotations
times the number of directions.
- Specified by:
getStructures
in interface Branchable
main
public static void main(java.lang.String[] args)