Method: Bio::Sequence::NA#cut_with_enzyme
- Defined in:
- lib/bio/sequence/na.rb
#cut_with_enzyme(*args) ⇒ Object Also known as: cut_with_enzymes
Example:
seq = Bio::Sequence::NA.new('gaattc')
cuts = seq.cut_with_enzyme('EcoRI')
or
seq = Bio::Sequence::NA.new('gaattc')
cuts = seq.cut_with_enzyme('g^aattc')
See Bio::RestrictionEnzyme::Analysis.cut
530 531 532 |
# File 'lib/bio/sequence/na.rb', line 530 def cut_with_enzyme(*args) Bio::RestrictionEnzyme::Analysis.cut(self, *args) end |