[BioRuby-cvs] bioruby/lib/bio/db/biosql sequence.rb, 1.1.2.1, 1.1.2.2

Raoul Jean Pierre Bonnal helios at dev.open-bio.org
Mon Apr 7 13:18:19 UTC 2008


Update of /home/repository/bioruby/bioruby/lib/bio/db/biosql
In directory dev.open-bio.org:/tmp/cvs-serv5578/lib/bio/db/biosql

Modified Files:
      Tag: BRANCH-biohackathon2008
	sequence.rb 
Log Message:
use genbank, fasta is not working

Index: sequence.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/biosql/Attic/sequence.rb,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** sequence.rb	25 Mar 2008 15:46:32 -0000	1.1.2.1
--- sequence.rb	7 Apr 2008 13:18:11 -0000	1.1.2.2
***************
*** 674,679 ****
    
    #  parser = Bio::FlatFile.auto('/home/febo/Desktop/aj224122.embl')
!   #  parser = Bio::FlatFile.auto('/home/febo/Desktop/aj224122.gb')
!   parser = Bio::FlatFile.auto('/home/febo/Desktop/aj224122.fasta')
    
    parser.each do |entry|
--- 674,679 ----
    
    #  parser = Bio::FlatFile.auto('/home/febo/Desktop/aj224122.embl')
!   parser = Bio::FlatFile.auto('/home/febo/Desktop/aj224122.gb')
!   #parser = Bio::FlatFile.auto('/home/febo/Desktop/aj224122.fasta')
    
    parser.each do |entry|
***************
*** 686,689 ****
--- 686,690 ----
        #      pp "Sequence"
        puts result.to_biosequence.output(:genbank) #:embl
+       result.delete
      end   
    end




More information about the bioruby-cvs mailing list