[BioRuby-cvs] bioruby/lib/bio/io flatfile.rb,1.41,1.42

Naohisa Goto ngoto at pub.open-bio.org
Sat Jan 28 04:23:44 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/io
In directory pub.open-bio.org:/tmp/cvs-serv4345/io

Modified Files:
	flatfile.rb 
Log Message:
changed format autodetection for KEGG data (format was changed)


Index: flatfile.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/flatfile.rb,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** flatfile.rb	1 Nov 2005 15:34:45 -0000	1.41
--- flatfile.rb	28 Jan 2006 04:23:41 -0000	1.42
***************
*** 413,428 ****
          Bio::KEGG::BRITE
          
!       when /^ENTRY       .+ KO\s*$/
          Bio::KEGG::KO
!       when /^ENTRY       .+ Glycan\s*$/
          Bio::KEGG::GLYCAN
!       when /^ENTRY       .+ (CDS|gene|.*RNA) /
!         Bio::KEGG::GENES
!       when /^ENTRY       EC [0-9\.]+$/
          Bio::KEGG::ENZYME
!       when /^ENTRY       C[A-Za-z0-9\._]+$/
          Bio::KEGG::COMPOUND
!       when /^ENTRY       R[A-Za-z0-9\._]+$/
          Bio::KEGG::REACTION
        when /^ENTRY       [a-z]+$/
          Bio::KEGG::GENOME
--- 413,431 ----
          Bio::KEGG::BRITE
          
!       when /^ENTRY       .+ KO\s*/
          Bio::KEGG::KO
!       when /^ENTRY       .+ Glycan\s*/
          Bio::KEGG::GLYCAN
!       when /^ENTRY       EC [0-9\.]+$/,
!            /^ENTRY       .+ Enzyme\s*/
          Bio::KEGG::ENZYME
!       when /^ENTRY       C[A-Za-z0-9\._]+$/,
!            /^ENTRY       .+ Compound\s*/
          Bio::KEGG::COMPOUND
!       when /^ENTRY       R[A-Za-z0-9\._]+$/,
!            /^ENTRY       .+ Reaction\s*/
          Bio::KEGG::REACTION
+       when /^ENTRY       .+ (CDS|gene|.*RNA) /
+         Bio::KEGG::GENES
        when /^ENTRY       [a-z]+$/
          Bio::KEGG::GENOME




More information about the bioruby-cvs mailing list