[BioRuby-cvs] bioruby/lib/bio/util/restriction_enzyme analysis_basic.rb, 1.12, 1.13
Trevor Wennblom
trevor at dev.open-bio.org
Mon Apr 23 16:43:53 UTC 2007
Update of /home/repository/bioruby/bioruby/lib/bio/util/restriction_enzyme
In directory dev.open-bio.org:/tmp/cvs-serv23176/bio/util/restriction_enzyme
Modified Files:
analysis_basic.rb
Log Message:
Move cut_with_enzyme to Bio::Sequence::NA
Index: analysis_basic.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/util/restriction_enzyme/analysis_basic.rb,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** analysis_basic.rb 5 Apr 2007 23:35:42 -0000 1.12
--- analysis_basic.rb 23 Apr 2007 16:43:51 -0000 1.13
***************
*** 10,32 ****
require 'bio'
- class Bio::Sequence::NA
- # 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
- #
- # NOTE: move this into Bio::Sequence::NA
- def cut_with_enzyme(*args)
- Bio::RestrictionEnzyme::Analysis.cut(self, *args)
- end
- alias cut_with_enzymes cut_with_enzyme
- end
require 'set' # for method create_enzyme_actions
--- 10,13 ----
More information about the bioruby-cvs
mailing list