enum Chem::Protein::SecondaryStructureType
Overview
Members are similar to simplified or reduced secondary structure classification:
- Helical (α-helix, π-helix, etc.)
- Extended (β-strand, polyproline, 2.2_7-helix, etc.)
- Coil (Bend, turn, etc.)
Defined in:
chem/protein/secondary_structure.crEnum Members
-
Coil =
0
-
Extended =
1
-
Helical =
2
Instance Method Summary
-
#code : Char
Returns one-letter secondary structure type code.
- #coil?
- #extended?
- #helical?
-
#min_size : Int32
Returns nominal secondary structure type's minimum size.
-
#regular? : Bool
Returns
true
if it's a regular secondary structure type, otherwisefalse
.
Instance Method Detail
Returns one-letter secondary structure type code.
Assignment codes are similar to those of simplified DSSP:
'H'
: Helical'E'
: Extended'C'
: Coil
def regular? : Bool
#
Returns true
if it's a regular secondary structure type,
otherwise false
.
SecondaryStructureType::Helical.regular? # => true
SecondaryStructureType::Extended.regular? # => true
SecondaryStructureType::Coil.regular? # => false