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)
-
- (Object) c_left
Returns the value of attribute c_left.
-
- (Object) c_right
Returns the value of attribute c_right.
-
- (Object) complement
Returns the value of attribute complement.
-
- (Object) p_left
Returns the value of attribute p_left.
-
- (Object) p_right
Returns the value of attribute p_right.
-
- (Object) primary
Returns the value of attribute primary.
Instance Attribute Details
- (Object) c_left
Returns the value of attribute c_left
199 200 201 |
# File 'lib/bio/util/restriction_enzyme.rb', line 199 def c_left @c_left end |
- (Object) c_right
Returns the value of attribute c_right
199 200 201 |
# File 'lib/bio/util/restriction_enzyme.rb', line 199 def c_right @c_right end |
- (Object) complement
Returns the value of attribute complement
199 200 201 |
# File 'lib/bio/util/restriction_enzyme.rb', line 199 def complement @complement end |
- (Object) p_left
Returns the value of attribute p_left
199 200 201 |
# File 'lib/bio/util/restriction_enzyme.rb', line 199 def p_left @p_left end |
- (Object) p_right
Returns the value of attribute p_right
199 200 201 |
# File 'lib/bio/util/restriction_enzyme.rb', line 199 def p_right @p_right end |
- (Object) primary
Returns the value of attribute primary
199 200 201 |
# File 'lib/bio/util/restriction_enzyme.rb', line 199 def primary @primary end |