Class: Bio::RestrictionEnzyme::Fragment
- Inherits:
-
Struct
- Object
- Struct
- Bio::RestrictionEnzyme::Fragment
- Defined in:
- lib/bio/util/restriction_enzyme.rb
Overview
A Bio::RestrictionEnzyme::Fragment is a DNA fragment composed of fused primary and complementary strands that would be found floating in solution after a full sequence is digested by one or more RestrictionEnzymes.
You will notice that either the primary or complement strand will be padded with spaces to make them line up according to the original DNA configuration before they were cut.
Example:
Fragment 1:
primary = "attaca"
complement = " atga"
Fragment 2:
primary = "g "
complement = "cta"
View these with the primary
and complement
methods.
Bio::RestrictionEnzyme::Fragment is a simple Struct
object.
Note: unrelated to Bio::RestrictionEnzyme::Range::SequenceRange::Fragment
Instance Attribute Summary collapse
-
#c_left ⇒ Object
Returns the value of attribute c_left.
-
#c_right ⇒ Object
Returns the value of attribute c_right.
-
#complement ⇒ Object
Returns the value of attribute complement.
-
#p_left ⇒ Object
Returns the value of attribute p_left.
-
#p_right ⇒ Object
Returns the value of attribute p_right.
-
#primary ⇒ Object
Returns the value of attribute primary.
Instance Attribute Details
#c_left ⇒ Object
Returns the value of attribute c_left
189 190 191 |
# File 'lib/bio/util/restriction_enzyme.rb', line 189 def c_left @c_left end |
#c_right ⇒ Object
Returns the value of attribute c_right
189 190 191 |
# File 'lib/bio/util/restriction_enzyme.rb', line 189 def c_right @c_right end |
#complement ⇒ Object
Returns the value of attribute complement
189 190 191 |
# File 'lib/bio/util/restriction_enzyme.rb', line 189 def complement @complement end |
#p_left ⇒ Object
Returns the value of attribute p_left
189 190 191 |
# File 'lib/bio/util/restriction_enzyme.rb', line 189 def p_left @p_left end |
#p_right ⇒ Object
Returns the value of attribute p_right
189 190 191 |
# File 'lib/bio/util/restriction_enzyme.rb', line 189 def p_right @p_right end |
#primary ⇒ Object
Returns the value of attribute primary
189 190 191 |
# File 'lib/bio/util/restriction_enzyme.rb', line 189 def primary @primary end |