[BioRuby-cvs] bioruby/lib/bio/shell/plugin das.rb,1.1,1.2

Katayama Toshiaki k at dev.open-bio.org
Wed Mar 28 19:50:30 UTC 2007


Update of /home/repository/bioruby/bioruby/lib/bio/shell/plugin
In directory dev.open-bio.org:/tmp/cvs-serv8241/shell/plugin

Modified Files:
	das.rb 
Log Message:
* das.list method is renamed to das.list_sequences in plugin/das.rb
* dna and features methods are moved to Bio::DAS module in io/das.rb from plugin/das.rb


Index: das.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/das.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** das.rb	28 Mar 2007 16:52:20 -0000	1.1
--- das.rb	28 Mar 2007 19:50:28 -0000	1.2
***************
*** 12,16 ****
  
    class DAS
!     def list(serv = nil)
        result = ""
        self.get_dsn.each do |dsn|
--- 12,16 ----
  
    class DAS
!     def list_sequences
        result = ""
        self.get_dsn.each do |dsn|
***************
*** 24,37 ****
        return result
      end
- 
-     def dna(dsn, entry_point, start, stop)
-       seg = Bio::DAS::SEGMENT.region(entry_point, start, stop)
-       self.get_dna(dsn, seg).first.sequence
-     end
- 
-     def features(dsn, entry_point, start, stop)
-       seg = Bio::DAS::SEGMENT.region(entry_point, start, stop)
-       self.get_features(dsn, seg)
-     end
    end
  
--- 24,27 ----




More information about the bioruby-cvs mailing list