bio 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. data/ChangeLog +954 -0
  2. data/KNOWN_ISSUES.rdoc +40 -5
  3. data/README.rdoc +36 -35
  4. data/RELEASE_NOTES.rdoc +87 -59
  5. data/bioruby.gemspec +24 -2
  6. data/doc/RELEASE_NOTES-1.4.1.rdoc +104 -0
  7. data/doc/Tutorial.rd +162 -200
  8. data/doc/Tutorial.rd.html +149 -146
  9. data/lib/bio.rb +1 -0
  10. data/lib/bio/appl/blast.rb +1 -1
  11. data/lib/bio/appl/blast/ddbj.rb +26 -34
  12. data/lib/bio/appl/blast/genomenet.rb +21 -11
  13. data/lib/bio/db/embl/sptr.rb +193 -21
  14. data/lib/bio/db/fasta.rb +1 -1
  15. data/lib/bio/db/fastq.rb +14 -0
  16. data/lib/bio/db/fastq/format_fastq.rb +2 -2
  17. data/lib/bio/db/genbank/ddbj.rb +1 -2
  18. data/lib/bio/db/genbank/format_genbank.rb +1 -1
  19. data/lib/bio/db/medline.rb +1 -0
  20. data/lib/bio/db/newick.rb +3 -1
  21. data/lib/bio/db/pdb/pdb.rb +9 -9
  22. data/lib/bio/db/pdb/residue.rb +2 -2
  23. data/lib/bio/io/ddbjrest.rb +344 -0
  24. data/lib/bio/io/ncbirest.rb +121 -1
  25. data/lib/bio/location.rb +2 -2
  26. data/lib/bio/reference.rb +3 -4
  27. data/lib/bio/shell/plugin/entry.rb +7 -3
  28. data/lib/bio/shell/plugin/ncbirest.rb +5 -1
  29. data/lib/bio/util/restriction_enzyme.rb +3 -0
  30. data/lib/bio/util/restriction_enzyme/dense_int_array.rb +195 -0
  31. data/lib/bio/util/restriction_enzyme/range/sequence_range.rb +7 -7
  32. data/lib/bio/util/restriction_enzyme/range/sequence_range/calculated_cuts.rb +57 -18
  33. data/lib/bio/util/restriction_enzyme/range/sequence_range/fragment.rb +2 -2
  34. data/lib/bio/util/restriction_enzyme/sorted_num_array.rb +219 -0
  35. data/lib/bio/version.rb +1 -1
  36. data/sample/test_restriction_enzyme_long.rb +4403 -0
  37. data/test/data/fasta/EFTU_BACSU.fasta +8 -0
  38. data/test/data/genbank/CAA35997.gp +48 -0
  39. data/test/data/genbank/SCU49845.gb +167 -0
  40. data/test/data/litdb/1717226.litdb +13 -0
  41. data/test/data/pir/CRAB_ANAPL.pir +6 -0
  42. data/test/functional/bio/appl/blast/test_remote.rb +93 -0
  43. data/test/functional/bio/appl/test_blast.rb +61 -0
  44. data/test/functional/bio/io/test_ddbjrest.rb +47 -0
  45. data/test/functional/bio/test_command.rb +3 -3
  46. data/test/unit/bio/db/embl/test_sptr.rb +6 -6
  47. data/test/unit/bio/db/embl/test_uniprot_new_part.rb +208 -0
  48. data/test/unit/bio/db/genbank/test_common.rb +274 -0
  49. data/test/unit/bio/db/genbank/test_genbank.rb +401 -0
  50. data/test/unit/bio/db/genbank/test_genpept.rb +81 -0
  51. data/test/unit/bio/db/pdb/test_pdb.rb +3287 -11
  52. data/test/unit/bio/db/test_fasta.rb +34 -12
  53. data/test/unit/bio/db/test_fastq.rb +26 -0
  54. data/test/unit/bio/db/test_litdb.rb +95 -0
  55. data/test/unit/bio/db/test_medline.rb +1 -0
  56. data/test/unit/bio/db/test_nbrf.rb +82 -0
  57. data/test/unit/bio/db/test_newick.rb +22 -4
  58. data/test/unit/bio/test_reference.rb +35 -0
  59. data/test/unit/bio/util/restriction_enzyme/test_dense_int_array.rb +201 -0
  60. data/test/unit/bio/util/restriction_enzyme/test_sorted_num_array.rb +281 -0
  61. metadata +44 -38
@@ -23,19 +23,24 @@ Currently, BioRuby do not care string encodings. In some cases,
23
23
  Encoding::CompatibilityError or "ArgumentError: invalid byte sequence in
24
24
  (encoding name)" may be raised.
25
25
 
26
- === Ruby 1.9.0
26
+ === End-of-life Ruby versions
27
+
28
+ ==== Ruby 1.9.0
27
29
 
28
30
  (WONT_FIX) Ruby 1.9.0 is NOT supported because it isn't a stable release.
29
31
  Use Ruby 1.9.1 or later.
30
32
 
31
- === Ruby 1.8.2 or earlier
33
+ ==== Ruby 1.8.5 or earlier
34
+
35
+ (WONT_FIX) Problems observed only with Ruby 1.8.5 or earlier will not be
36
+ fixed. Note that Ruby 1.8.5 or earlier is no longer supported, as described
37
+ in README.rdoc.
38
+
39
+ ==== Ruby 1.8.2 or earlier
32
40
 
33
41
  (WONT_FIX) In some cases, temporary files and directories may not be
34
42
  removed because of the lack of FileUtils.remove_entry_secure.
35
43
 
36
- (WONT_FIX) We will soon end support for Ruby 1.8.2. Note that Ruby
37
- 1.8.1 or earlier is no longer supported, as described in README.rdoc.
38
-
39
44
  === Issues about SOAP/WSDL
40
45
 
41
46
  SOAP4R (SOAP and WSDL implementation) is no longer bundled with Ruby 1.9.
@@ -52,6 +57,15 @@ fixed and new patch is available on the above URL. Note that some Linux
52
57
  distributions would have incorporated the patch in their manners, and may
53
58
  have the same problem.
54
59
 
60
+ === RubyGems 0.8.11 or earlier
61
+
62
+ (WONT_FIX) With very old version of RubyGems, use 'require_gem' which was
63
+ deprecated in RubyGems 0.9.0 and removed in RubyGems 1.0.1.
64
+
65
+ #!/usr/bin/env ruby
66
+ require 'rubygems'
67
+ require_gem 'bio'
68
+
55
69
  == 2. OS and/or architecture-dependent issues
56
70
 
57
71
  === Microsoft Windows
@@ -116,6 +130,11 @@ correctly, even running on Ruby 1.8.x. Instead, use Bio::NCBI::REST.
116
130
  Bio::KEGG::Taxonomy fails to parse current KEGG taxonomy data file probably
117
131
  because of the growth of the data size.
118
132
 
133
+ === Bio::SPTR
134
+
135
+ Bio::SPTR should be updated to follow UniProtKB format changes described
136
+ in http://www.uniprot.org/docs/sp_news.htm .
137
+
119
138
  == 4. Compatibility issues with other libraries/extensions
120
139
 
121
140
  === ActiveRecord
@@ -128,3 +147,19 @@ know which version is suitable.
128
147
  BioRuby Shell on Web uses Ruby on Rails, but the author of the document does
129
148
  not know which version is suitable.
130
149
 
150
+ == 5. Historical descriptions
151
+
152
+ === CVS
153
+
154
+ For historical purposes: the anonymous CVS was provided at
155
+
156
+ * http://cvs.bioruby.org/
157
+
158
+ and could be obtained by the following procedure.
159
+
160
+ % cvs -d :pserver:cvs@code.open-bio.org:/home/repository/bioruby login
161
+ CVS password: cvs (login with a password 'cvs' for the first time)
162
+ % cvs -d :pserver:cvs@code.open-bio.org:/home/repository/bioruby co bioruby
163
+
164
+ These may be closed without any prior notice.
165
+
@@ -9,7 +9,7 @@ License:: The Ruby License
9
9
 
10
10
  = BioRuby
11
11
 
12
- Copyright (C) 2001-2010 Toshiaki Katayama <k@bioruby.org>
12
+ Copyright (C) 2001-2011 Toshiaki Katayama <k@bioruby.org>
13
13
 
14
14
  BioRuby is an open source Ruby library for developing bioinformatics
15
15
  software. Object oriented scripting language Ruby has many features
@@ -42,6 +42,7 @@ services including KEGG API can be easily utilized by BioRuby.
42
42
  README.rdoc:: This file. General information and installation procedure.
43
43
  RELEASE_NOTES.rdoc:: News and important changes in this release.
44
44
  KNOWN_ISSUES.rdoc:: Known issues and bugs in BioRuby.
45
+ doc/RELEASE_NOTES-1.4.1.rdoc:: News and incompatible changes from 1.4.0 to 1.4.1.
45
46
  doc/RELEASE_NOTES-1.4.0.rdoc:: News and incompatible changes from 1.3.1 to 1.4.0.
46
47
  doc/Changes-1.3.rdoc:: News and incompatible changes from 1.2.1 to 1.3.0.
47
48
  doc/Changes-0.7.rd:: News and incompatible changes from 0.6.4 to 1.2.1.
@@ -55,6 +56,7 @@ doc/KEGG_API.rd:: Documents about KEGG API, including usage of Bio::KEGG::API.
55
56
  ==== BioRuby development
56
57
 
57
58
  ChangeLog:: History of changes.
59
+ doc/ChangeLog-before-1.3.1:: changes before 1.3.1.
58
60
  README_DEV.rdoc:: Describes ways to contribute to the BioRuby project, including coding styles and documentation guidelines.
59
61
 
60
62
  ==== Documents written in Japanese
@@ -72,6 +74,9 @@ mailing lists, Wiki documentation etc. in the top page.
72
74
 
73
75
  * http://bioruby.org/
74
76
 
77
+ Mirror site is available, hosted on Open Bioinformatics Foundation (OBF).
78
+
79
+ * http://bioruby.open-bio.org/
75
80
 
76
81
  == WHERE TO OBTAIN
77
82
 
@@ -83,7 +88,7 @@ The stable release is freely available from the BioRuby website.
83
88
 
84
89
  === RubyGems
85
90
 
86
- RubyGems[URL:http://rubyforge.org/projects/rubygems/] version of
91
+ {RubyGems (packaging system for Ruby)}[http://rubygems.org/] version of
87
92
  the BioRuby package is also available for easy installation.
88
93
 
89
94
  * http://rubyforge.org/projects/bioruby/
@@ -98,27 +103,15 @@ and can be obtained by the following procedure:
98
103
 
99
104
  % git clone git://github.com/bioruby/bioruby.git
100
105
 
101
- ==== CVS
102
-
103
- CVS is now deprecated as source control has moved to github. Please use git
104
- instead of CVS. For historical purposes: the anonymous CVS was provided at
105
-
106
- * http://cvs.bioruby.org/
107
-
108
- and could be obtained by the following procedure.
109
-
110
- % cvs -d :pserver:cvs@code.open-bio.org:/home/repository/bioruby login
111
- CVS password: cvs (login with a password 'cvs' for the first time)
112
- % cvs -d :pserver:cvs@code.open-bio.org:/home/repository/bioruby co bioruby
113
-
114
106
 
115
107
  == REQUIREMENTS
116
108
 
117
- * Ruby 1.8.2 or later (except Ruby 1.9.0) -- http://www.ruby-lang.org/
118
- * Ruby 1.8.7-p174 or later, or Ruby 1.8.6-p383 or later is recommended.
109
+ * Ruby 1.8.6 or later (except Ruby 1.9.0) -- http://www.ruby-lang.org/
110
+ * Ruby 1.8.7-p352 or later is recommended.
119
111
  * Not yet fully ready with Ruby 1.9, although many components can now work
120
112
  in Ruby 1.9.1 and Ruby 1.9.2.
121
113
 
114
+
122
115
  == OPTIONAL REQUIREMENTS
123
116
 
124
117
  Some optional libraries can be utilized to extend BioRuby's functionality.
@@ -141,11 +134,6 @@ Accessing BioSQL database created by other Open Bio* libraries:
141
134
  {RubyForge:MySQL/Ruby}[http://rubyforge.org/projects/mysql-ruby/],
142
135
  {RubyForge:postgres-pr}[http://rubyforge.org/projects/postgres-pr], or
143
136
  {RubyForge:ActiveRecord Oracle enhanced adapter}[http://rubyforge.org/projects/oracle-enhanced/].
144
- * For BioRuby 1.2.1 or older version,
145
- {RubyForge:Ruby/DBI}[http://rubyforge.org/projects/ruby-dbi] and
146
- at least one driver from MySQL/Ruby, postgres-pr, or
147
- {RubyForge:ruby-oci8}[http://ruby-oci8.rubyforge.org/]
148
- (note that ruby-oci8 can only work with ruby-dbi 0.2.2).
149
137
 
150
138
  For parsing PhyloXML format files:
151
139
 
@@ -155,6 +143,20 @@ For parsing PhyloXML format files:
155
143
 
156
144
  == INSTALL
157
145
 
146
+ === INSTALL by using RubyGems (recommended)
147
+
148
+ If you are using RubyGems, just type
149
+
150
+ % gems install bio
151
+
152
+ Alternatively, manually download bio-X.X.X.gem from
153
+ http://rubyforge.org/projects/bioruby/ and install it by using gems command.
154
+
155
+ RubyGems is bundled with Ruby 1.9.1 or later. For Ruby 1.8.7 or earlier,
156
+ download and install RubyGems from http://rubygems.org/ .
157
+
158
+ === INSTALL without RubyGems
159
+
158
160
  In the bioruby source directory (such as bioruby-x.x.x/), run setup.rb
159
161
  as follows:
160
162
 
@@ -188,12 +190,6 @@ and run
188
190
 
189
191
  for more details.
190
192
 
191
- === RubyGems
192
-
193
- If you are using RubyGems, just type
194
-
195
- % gems install bio
196
-
197
193
 
198
194
  == SETUP
199
195
 
@@ -227,21 +223,26 @@ You can also read other documentation in the 'doc' directory.
227
223
 
228
224
  bioruby-x.x.x/doc/
229
225
 
230
- === RubyGems
226
+ === RubyGems on Ruby 1.8.x
231
227
 
232
- With RubyGems, you need to load 'rubygems' library before using 'bio'.
228
+ With RubyGems on Ruby 1.8.x, you may need to load 'rubygems' library before
229
+ using 'bio'. This may not be needed, depending on settings of Ruby.
233
230
 
234
231
  #!/usr/bin/env ruby
235
232
  require 'rubygems'
236
233
  require 'bio'
237
234
 
238
- With old version of RubyGems, use 'require_gem' which was deprecated in
239
- RubyGems 0.9.0 and removed in RubyGems 1.0.1.
240
235
 
241
- #!/usr/bin/env ruby
242
- require 'rubygems'
243
- require_gem 'bio'
236
+ == PLUGIN (Biogem)
237
+
238
+ Many plugins (called Biogem) are now available. See http://biogems.info/
239
+ for list of plugins and related software utilizing BioRuby.
240
+
241
+ * http://biogems.info/
242
+
243
+ To develop your own plugin, see "Plugins" pages of BioRuby Wiki.
244
244
 
245
+ * http://bioruby.open-bio.org/wiki/Plugins
245
246
 
246
247
  == LICENSE
247
248
 
@@ -1,104 +1,132 @@
1
- = BioRuby 1.4.1 RELEASE NOTES
1
+ = BioRuby 1.4.2 RELEASE NOTES
2
2
 
3
- A lot of changes have been made to the BioRuby 1.4.1 after the version 1.4.0
3
+ A lot of changes have been made to the BioRuby 1.4.2 after the version 1.4.1
4
4
  is released. This document describes important and/or incompatible changes
5
- since the BioRuby 1.4.0 release.
5
+ since the BioRuby 1.4.1 release.
6
6
 
7
7
  For known problems, see KNOWN_ISSUES.rdoc.
8
8
 
9
9
  == New features
10
10
 
11
- === PAML Codeml support is significantly improved
11
+ === Speed-up of Bio::RestrictionEnzyme::Analysis.cut
12
12
 
13
- PAML Codeml result parser is completely rewritten and is significantly
14
- improved. The code is developed by Pjotr Prins.
13
+ The running speed of Bio::RestrictionEnzyme::Analysis.cut is significantly
14
+ increased. The new code is 50 to 80 fold faster than the previous code
15
+ when cutting 1Mbp sequence running on Ruby 1.9.2p180. The code is written
16
+ by Tomoaki NISHIYAMA and Naohisa Goto.
15
17
 
16
- === KEGG PATHWAY and KEGG MODULE parser
18
+ === New classes Bio::DDBJ::REST, REST interface for DDBJ web service
17
19
 
18
- Parsers for KEGG PATHWAY and KEGG MODULE data are added. The code is developed
19
- by Kozo Nishida and Toshiaki Katayama.
20
+ For DDBJ Web API for Biology (WABI) web service, in additon to SOAP, REST
21
+ (REpresentational State Transfer) interface is added as Bio::DDBJ::REST.
22
+ Currently, only selected APIs are implemented.
20
23
 
21
- === Bio::KEGG improvements
24
+ === Bio::Blast with remote DDBJ server uses REST instead of SOAP
22
25
 
23
- Following new methods are added.
26
+ Bio::Blast with remote DDBJ server uses REST instead of SOAP, because
27
+ Soap4r (SOAP library for Ruby) does not work well with Ruby 1.9.
28
+ We can now use remote DDBJ BLAST server with Ruby 1.9.
24
29
 
25
- * Bio::KEGG::GENES#keggclass, keggclasses, names_as_array, names,
26
- motifs_as_strings, motifs_as_hash, motifs
27
- * Bio::KEGG::GENOME#original_databases
30
+ === Tutorial is updated
28
31
 
29
- === Test codes are added and improved.
32
+ The Tutorial.rd is updated by Pjotr Prins and Michael O'Keefe.
30
33
 
31
- Test codes are added and improved. Tney are developed by Kazuhiro Hayashi,
32
- Kozo Nishida, John Prince, and Naohisa Goto.
34
+ === Many unit tests are added
33
35
 
34
- === Other new methods
36
+ Added many unit tests for Bio::GenBank, Bio::GenPept, Bio::NBRF, Bio::PDB
37
+ and so on. Most of them are developed by Kazuhiro Hayashi during the
38
+ Google Summer of Code 2010.
35
39
 
36
- * Bio::Fastq#mask
37
- * Bio::Sequence#output_fasta
38
- * Bio::ClustalW::Report#get_sequence
39
- * Bio::Reference#==
40
- * Bio::Location#==
41
- * Bio::Locations#==
42
- * Bio::FastaNumericFormat#to_biosequence
40
+ === Other new features
43
41
 
44
- == Bug fixes
42
+ * New method Bio::Fastq#to_s for convenience. Note that the use of the method
43
+ may cause loss of performance. To get each input sequence entry as-is,
44
+ consider using Bio::FlatFile#entry_raw. To output fastq format data,
45
+ consider using Bio::Sequence#output(:fastq).
46
+ * New methods Bio::NCBI::REST::EFetch.nucleotide and protein,
47
+ to get data from "nucleotide" and "protein" database respectively.
48
+ Because NCBI changed not to accept "gb" format for the database
49
+ "sequence", the two new methods are added for convenience.
50
+ * In BioRuby Shell, efetch method uses the above new methods.
51
+ * In GenomeNet remote BLAST execution, database "mine-aa" and "mine-nt"
52
+ with KEGG organism codes are now supported.
53
+ * Support for Ruby 1.9.2 / 1.9.3 is improved.
45
54
 
46
- === Bio::Tree
55
+ == Bug fixes
47
56
 
48
- Following methods did not work correctly.
57
+ === Bio::Blast
49
58
 
50
- * Bio::Tree#collect_edge!
51
- * Bio::Tree#remove_edge_if
59
+ * Failure of remote BLAST execution is fixed, due to the changes in GenomeNet
60
+ and DDBJ.
61
+ * When executing remote BLAST with "genomenet" server, options "-b" and "-v"
62
+ are now correctly used to limit the number of hits to be reported.
52
63
 
53
- === Bio::KEGG::GENES and Bio::KEGG::GENOME
64
+ === Bio::SPTR (Bio::UniProt)
54
65
 
55
- * Fixed bugs in Bio::KEGG::GENES#pathway.
56
- * Fixed parser errors due to the format changes of KEGG GENES and KEGG GENOME.
66
+ * Due to the UniProtKB format changes, ID, DE, and WEB RESOURCE of CC lines
67
+ were not correctly parsed. See also below about incompatible change of
68
+ the fix.
57
69
 
58
70
  === Other bug fixes
59
71
 
60
- * In Bio::Command, changed not to call fork(2) on platforms that do not
61
- support it.
62
- * Bio::MEDLINE#initialize should handle continuation of lines.
63
- * Typo and a missing field in Bio::GO::GeneAssociation#to_str.
64
- * Bug fix of Bio::FastaNumericFormat#to_biosequence.
65
- * Fixed UniProt GN parsing issue in Bio::SPTR.
72
+ * Bio::Reference#pubmed_url is updated to follow recent NCBI changes.
73
+ * Fixed: Bio::Newick#reparse failure.
74
+ * Fixed: In Bio::MEDLINE#reference, doi field should be filled.
75
+ * Fixed: Bio::Reference#endnote fails when url is not set.
76
+ * Fixed: Bio::FastaFormat#query passes nil to the given factory object.
77
+ * Fixed: In BioRuby Shell, efetch() with no additional arguments fails
78
+ because of the NCBI site changes.
79
+ * Fixed: In BioRuby Shell, getent() fails when EMBOSS seqret is not found.
80
+ * Fixed: In BioRuby Shell, demo() fails due to the above two issues.
66
81
 
67
82
  == Incompatible changes
68
83
 
69
- === Bio::PAML::Codeml::Report
84
+ === Bio::Sequence#output(:fastq)
85
+
86
+ In Fastq output formatter, default width value is changed from 70 to nil.
87
+ The nil means "without wrapping". The new default behavior without wrapping
88
+ is generally good with many recent applications that read fastq.
89
+
90
+ === Bio::SPTR CC line topic "WEB RESOURCE"
70
91
 
71
- The code is completely rewritten. See the RDoc for details.
92
+ In the return value of Bio::SPTR#cc('WEB RESOURCE'), "NAME" and "NOTE"
93
+ are now renamed to "Name" and "Note", respectively. The change is due to
94
+ the UniProt format change since UniProtKB release 12.2 of 11-Sep-2007.
95
+ (See http://www.uniprot.org/docs/sp_news.htm#rel12.2 for details.)
96
+ Note that "Name" and "Note" are used even when parsing older format.
97
+ The change would also affect Marshal.dump (and YAML.dump) data.
72
98
 
73
- === Bio::KEGG::ORTHOLOGY
99
+ === Bio::Blast with the remote GenomeNet server
74
100
 
75
- Bio::KEGG::ORTHOLOGY#pathways is changed to return a hash. The old pathway
76
- method is renamed to pathways_in_keggclass for compatibility.
101
+ When executing remote BLAST with "genomenet" server, options "-b" and "-v"
102
+ are now correctly used to limit the number of hits to be reported.
103
+ In 1.4.1 and before, "-B" and "-V" were mistakenly used for the purpose.
77
104
 
78
- === Bio::AAindex2
105
+ === Bio::Blast with the remote DDBJ server
79
106
 
80
- Bio::AAindex2 now copies each symmetric element for lower triangular matrix
81
- to the upper right part, because the Matrix class in Ruby 1.9.2 no longer
82
- accepts any dimension mismatches. We think the previous behavior is a bug.
107
+ Bio::Blast with remote DDBJ server uses REST instead of SOAP.
83
108
 
84
- === Bio::MEDLINE
109
+ === Bio::RestrictionEnzyme internal data structure change
85
110
 
86
- Bio::MEDLINE#reference no longer puts empty values in the returned
87
- Bio::Reference object. We think the previous behavior is a bug.
88
- We also think the effect is very small.
111
+ Due to the speedup, internal data structure of the following classes
112
+ are changed: Bio::RestrictionEnzyme::Range::SequenceRange,
113
+ Bio::RestrictionEnzyme::Range::SequenceRange::CalculatedCuts,
114
+ Bio::RestrictionEnzyme::Range::SequenceRange::Fragment.
115
+ This indicates that Marshal.dump (and YAML.dump) data generated by older
116
+ versions cannot be loaded by the new version, and vice versa, although
117
+ public APIs of the classes keep compatibility.
89
118
 
90
119
  == Known issues
91
120
 
92
121
  The following issues are added or updated. See KNOWN_ISSUES.rdoc for other
93
122
  already known issues.
94
123
 
95
- === String escaping of command-line arguments in Ruby 1.9.X on Windows
124
+ * Bio::SPTR should be updated to follow UniProtKB format changes.
125
+ * Problems observed only with Ruby 1.8.5 or earlier will not be fixed.
126
+ * Descriptions about very old RubyGems 0.8.11 or earlier and about CVS
127
+ repository are moved from README.rdoc.
96
128
 
97
- After BioRuby 1.4.1, in Ruby 1.9.X running on Windows, escaping of
98
- command-line arguments are processed by the Ruby interpreter. Before BioRuby
99
- 1.4.0, the escaping is executed in Bio::Command#escape_shell_windows, and
100
- the behavior is different from the Ruby interpreter's one.
129
+ == Other important news
101
130
 
102
- Curreltly, due to the change, test/functional/bio/test_command.rb may fail
103
- on Windows with Ruby 1.9.X.
131
+ * Required ruby version is now Ruby 1.8.6 or later (except 1.9.0).
104
132
 
@@ -3,7 +3,7 @@
3
3
  #
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'bio'
6
- s.version = "1.4.1"
6
+ s.version = "1.4.2"
7
7
 
8
8
  s.author = "BioRuby project"
9
9
  s.email = "staff@bioruby.org"
@@ -38,6 +38,7 @@ Gem::Specification.new do |s|
38
38
  "doc/KEGG_API.rd",
39
39
  "doc/KEGG_API.rd.ja",
40
40
  "doc/RELEASE_NOTES-1.4.0.rdoc",
41
+ "doc/RELEASE_NOTES-1.4.1.rdoc",
41
42
  "doc/Tutorial.rd",
42
43
  "doc/Tutorial.rd.html",
43
44
  "doc/Tutorial.rd.ja",
@@ -186,6 +187,7 @@ Gem::Specification.new do |s|
186
187
  "lib/bio/io/biosql/config/database.yml",
187
188
  "lib/bio/io/das.rb",
188
189
  "lib/bio/io/dbget.rb",
190
+ "lib/bio/io/ddbjrest.rb",
189
191
  "lib/bio/io/ddbjxml.rb",
190
192
  "lib/bio/io/ebisoap.rb",
191
193
  "lib/bio/io/ensembl.rb",
@@ -279,6 +281,7 @@ Gem::Specification.new do |s|
279
281
  "lib/bio/util/restriction_enzyme/analysis.rb",
280
282
  "lib/bio/util/restriction_enzyme/analysis_basic.rb",
281
283
  "lib/bio/util/restriction_enzyme/cut_symbol.rb",
284
+ "lib/bio/util/restriction_enzyme/dense_int_array.rb",
282
285
  "lib/bio/util/restriction_enzyme/double_stranded.rb",
283
286
  "lib/bio/util/restriction_enzyme/double_stranded/aligned_strands.rb",
284
287
  "lib/bio/util/restriction_enzyme/double_stranded/cut_location_pair.rb",
@@ -297,6 +300,7 @@ Gem::Specification.new do |s|
297
300
  "lib/bio/util/restriction_enzyme/single_strand.rb",
298
301
  "lib/bio/util/restriction_enzyme/single_strand/cut_locations_in_enzyme_notation.rb",
299
302
  "lib/bio/util/restriction_enzyme/single_strand_complement.rb",
303
+ "lib/bio/util/restriction_enzyme/sorted_num_array.rb",
300
304
  "lib/bio/util/restriction_enzyme/string_formatting.rb",
301
305
  "lib/bio/util/sirna.rb",
302
306
  "lib/bio/version.rb",
@@ -363,6 +367,7 @@ Gem::Specification.new do |s|
363
367
  "sample/ssearch2tab.rb",
364
368
  "sample/tdiary.rb",
365
369
  "sample/test_phyloxml_big.rb",
370
+ "sample/test_restriction_enzyme_long.rb",
366
371
  "sample/tfastx2tab.rb",
367
372
  "sample/vs-genes.rb",
368
373
  "setup.rb",
@@ -402,6 +407,7 @@ Gem::Specification.new do |s|
402
407
  "test/data/command/echoarg2.bat",
403
408
  "test/data/embl/AB090716.embl",
404
409
  "test/data/embl/AB090716.embl.rel89",
410
+ "test/data/fasta/EFTU_BACSU.fasta",
405
411
  "test/data/fasta/example1.txt",
406
412
  "test/data/fasta/example2.txt",
407
413
  "test/data/fastq/README.txt",
@@ -456,12 +462,15 @@ Gem::Specification.new do |s|
456
462
  "test/data/fastq/wrapping_as_solexa.fastq",
457
463
  "test/data/fastq/wrapping_original_sanger.fastq",
458
464
  "test/data/gcg/pileup-aa.msf",
465
+ "test/data/genbank/CAA35997.gp",
466
+ "test/data/genbank/SCU49845.gb",
459
467
  "test/data/genscan/sample.report",
460
468
  "test/data/go/selected_component.ontology",
461
469
  "test/data/go/selected_gene_association.sgd",
462
470
  "test/data/go/selected_wikipedia2go",
463
471
  "test/data/iprscan/merged.raw",
464
472
  "test/data/iprscan/merged.txt",
473
+ "test/data/litdb/1717226.litdb",
465
474
  "test/data/medline/20146148_modified.medline",
466
475
  "test/data/meme/db",
467
476
  "test/data/meme/mast",
@@ -481,6 +490,7 @@ Gem::Specification.new do |s|
481
490
  "test/data/phyloxml/made_up.xml",
482
491
  "test/data/phyloxml/ncbi_taxonomy_mollusca_short.xml",
483
492
  "test/data/phyloxml/phyloxml_examples.xml",
493
+ "test/data/pir/CRAB_ANAPL.pir",
484
494
  "test/data/prosite/prosite.dat",
485
495
  "test/data/refseq/nm_126355.entret",
486
496
  "test/data/rpsblast/misc.rpsblast",
@@ -493,7 +503,10 @@ Gem::Specification.new do |s|
493
503
  "test/data/soft/GDS100_partial.soft",
494
504
  "test/data/soft/GSE3457_family_partial.soft",
495
505
  "test/data/uniprot/p53_human.uniprot",
506
+ "test/functional/bio/appl/blast/test_remote.rb",
507
+ "test/functional/bio/appl/test_blast.rb",
496
508
  "test/functional/bio/appl/test_pts1.rb",
509
+ "test/functional/bio/io/test_ddbjrest.rb",
497
510
  "test/functional/bio/io/test_ensembl.rb",
498
511
  "test/functional/bio/io/test_pubmed.rb",
499
512
  "test/functional/bio/io/test_soapwsdl.rb",
@@ -536,9 +549,13 @@ Gem::Specification.new do |s|
536
549
  "test/unit/bio/db/embl/test_embl_to_bioseq.rb",
537
550
  "test/unit/bio/db/embl/test_sptr.rb",
538
551
  "test/unit/bio/db/embl/test_uniprot.rb",
552
+ "test/unit/bio/db/embl/test_uniprot_new_part.rb",
539
553
  "test/unit/bio/db/fasta/test_defline.rb",
540
554
  "test/unit/bio/db/fasta/test_defline_misc.rb",
541
555
  "test/unit/bio/db/fasta/test_format_qual.rb",
556
+ "test/unit/bio/db/genbank/test_common.rb",
557
+ "test/unit/bio/db/genbank/test_genbank.rb",
558
+ "test/unit/bio/db/genbank/test_genpept.rb",
542
559
  "test/unit/bio/db/kegg/test_compound.rb",
543
560
  "test/unit/bio/db/kegg/test_drug.rb",
544
561
  "test/unit/bio/db/kegg/test_enzyme.rb",
@@ -558,7 +575,9 @@ Gem::Specification.new do |s|
558
575
  "test/unit/bio/db/test_gff.rb",
559
576
  "test/unit/bio/db/test_go.rb",
560
577
  "test/unit/bio/db/test_lasergene.rb",
578
+ "test/unit/bio/db/test_litdb.rb",
561
579
  "test/unit/bio/db/test_medline.rb",
580
+ "test/unit/bio/db/test_nbrf.rb",
562
581
  "test/unit/bio/db/test_newick.rb",
563
582
  "test/unit/bio/db/test_nexus.rb",
564
583
  "test/unit/bio/db/test_phyloxml.rb",
@@ -606,9 +625,11 @@ Gem::Specification.new do |s|
606
625
  "test/unit/bio/util/restriction_enzyme/single_strand/test_cut_locations_in_enzyme_notation.rb",
607
626
  "test/unit/bio/util/restriction_enzyme/test_analysis.rb",
608
627
  "test/unit/bio/util/restriction_enzyme/test_cut_symbol.rb",
628
+ "test/unit/bio/util/restriction_enzyme/test_dense_int_array.rb",
609
629
  "test/unit/bio/util/restriction_enzyme/test_double_stranded.rb",
610
630
  "test/unit/bio/util/restriction_enzyme/test_single_strand.rb",
611
631
  "test/unit/bio/util/restriction_enzyme/test_single_strand_complement.rb",
632
+ "test/unit/bio/util/restriction_enzyme/test_sorted_num_array.rb",
612
633
  "test/unit/bio/util/restriction_enzyme/test_string_formatting.rb",
613
634
  "test/unit/bio/util/test_color_scheme.rb",
614
635
  "test/unit/bio/util/test_contingency_table.rb",
@@ -624,7 +645,8 @@ Gem::Specification.new do |s|
624
645
  "README_DEV.rdoc",
625
646
  "RELEASE_NOTES.rdoc",
626
647
  "doc/Changes-1.3.rdoc",
627
- "doc/RELEASE_NOTES-1.4.0.rdoc"
648
+ "doc/RELEASE_NOTES-1.4.0.rdoc",
649
+ "doc/RELEASE_NOTES-1.4.1.rdoc"
628
650
  ]
629
651
  s.rdoc_options << '--main' << 'README.rdoc'
630
652
  s.rdoc_options << '--title' << 'BioRuby API documentation'