bio 1.5.2 → 1.6.0.pre.20181210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.travis.yml +12 -11
- data/ChangeLog +14 -3106
- data/{gemfiles/Gemfile.travis-ruby2.2 → Gemfile} +0 -1
- data/KNOWN_ISSUES.rdoc +0 -5
- data/README.rdoc +11 -18
- data/RELEASE_NOTES.rdoc +34 -291
- data/Rakefile +13 -9
- data/appveyor.yml +21 -0
- data/bioruby.gemspec +7 -78
- data/bioruby.gemspec.erb +8 -27
- data/doc/ChangeLog-1.5.0 +2919 -0
- data/doc/RELEASE_NOTES-1.5.0.rdoc +285 -0
- data/doc/Tutorial.rd +6 -108
- data/doc/Tutorial.rd.html +19 -98
- data/gemfiles/Gemfile.travis-jruby1.8 +3 -5
- data/gemfiles/Gemfile.travis-jruby1.9 +0 -3
- data/gemfiles/Gemfile.travis-rbx +0 -1
- data/gemfiles/Gemfile.travis-ruby1.8 +4 -4
- data/gemfiles/Gemfile.travis-ruby1.9 +0 -1
- data/gemfiles/prepare-gemspec.rb +4 -0
- data/lib/bio.rb +0 -10
- data/lib/bio/data/codontable.rb +99 -3
- data/lib/bio/io/togows.rb +5 -5
- data/lib/bio/version.rb +6 -8
- data/sample/test_restriction_enzyme_long.rb +1 -1
- data/test/unit/bio/data/test_codontable.rb +3 -0
- metadata +11 -77
- data/bin/bioruby +0 -47
- data/bin/br_biofetch.rb +0 -71
- data/bin/br_bioflat.rb +0 -293
- data/bin/br_biogetseq.rb +0 -45
- data/bin/br_pmfetch.rb +0 -422
- data/lib/bio/db/biosql/biosql_to_biosequence.rb +0 -78
- data/lib/bio/db/biosql/sequence.rb +0 -444
- data/lib/bio/db/phyloxml/phyloxml.xsd +0 -582
- data/lib/bio/db/phyloxml/phyloxml_elements.rb +0 -1197
- data/lib/bio/db/phyloxml/phyloxml_parser.rb +0 -1001
- data/lib/bio/db/phyloxml/phyloxml_writer.rb +0 -227
- data/lib/bio/io/biosql/ar-biosql.rb +0 -257
- data/lib/bio/io/biosql/biosql.rb +0 -39
- data/lib/bio/io/biosql/config/database.yml +0 -21
- data/lib/bio/io/sql.rb +0 -79
- data/lib/bio/shell.rb +0 -44
- data/lib/bio/shell/core.rb +0 -578
- data/lib/bio/shell/demo.rb +0 -146
- data/lib/bio/shell/interface.rb +0 -217
- data/lib/bio/shell/irb.rb +0 -94
- data/lib/bio/shell/object.rb +0 -71
- data/lib/bio/shell/plugin/blast.rb +0 -42
- data/lib/bio/shell/plugin/codon.rb +0 -218
- data/lib/bio/shell/plugin/das.rb +0 -58
- data/lib/bio/shell/plugin/emboss.rb +0 -23
- data/lib/bio/shell/plugin/entry.rb +0 -137
- data/lib/bio/shell/plugin/flatfile.rb +0 -101
- data/lib/bio/shell/plugin/midi.rb +0 -430
- data/lib/bio/shell/plugin/ncbirest.rb +0 -68
- data/lib/bio/shell/plugin/obda.rb +0 -45
- data/lib/bio/shell/plugin/psort.rb +0 -56
- data/lib/bio/shell/plugin/seq.rb +0 -248
- data/lib/bio/shell/plugin/togows.rb +0 -40
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/bioruby_generator.rb +0 -29
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_classes.rhtml +0 -4
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_log.rhtml +0 -27
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_methods.rhtml +0 -11
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_modules.rhtml +0 -4
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_variables.rhtml +0 -7
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-bg.gif +0 -0
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-gem.png +0 -0
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-link.gif +0 -0
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby.css +0 -368
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby.rhtml +0 -47
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby_controller.rb +0 -144
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby_helper.rb +0 -47
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/commands.rhtml +0 -8
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/history.rhtml +0 -10
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/index.rhtml +0 -26
- data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/spinner.gif +0 -0
- data/lib/bio/shell/script.rb +0 -25
- data/lib/bio/shell/setup.rb +0 -108
- data/lib/bio/shell/web.rb +0 -102
- data/sample/test_phyloxml_big.rb +0 -205
- data/test/data/phyloxml/apaf.xml +0 -666
- data/test/data/phyloxml/bcl_2.xml +0 -2097
- data/test/data/phyloxml/made_up.xml +0 -144
- data/test/data/phyloxml/ncbi_taxonomy_mollusca_short.xml +0 -65
- data/test/data/phyloxml/phyloxml_examples.xml +0 -415
- data/test/unit/bio/db/biosql/tc_biosql.rb +0 -114
- data/test/unit/bio/db/biosql/ts_suite_biosql.rb +0 -8
- data/test/unit/bio/db/test_phyloxml.rb +0 -821
- data/test/unit/bio/db/test_phyloxml_writer.rb +0 -334
- data/test/unit/bio/shell/plugin/test_seq.rb +0 -187
- data/test/unit/bio/test_shell.rb +0 -20
data/KNOWN_ISSUES.rdoc
CHANGED
@@ -162,11 +162,6 @@ do not recommend to do so because the format is unstable.
|
|
162
162
|
|
163
163
|
== 4. Compatibility issues with other libraries/extensions
|
164
164
|
|
165
|
-
=== ActiveRecord
|
166
|
-
|
167
|
-
BioSQL support uses ActiveRecord, but the author of the document does not
|
168
|
-
know which version is suitable.
|
169
|
-
|
170
165
|
=== Ruby on Rails
|
171
166
|
|
172
167
|
BioRuby Shell on Web uses Ruby on Rails, but the author of the document does
|
data/README.rdoc
CHANGED
@@ -30,7 +30,7 @@ Blast, Fasta, Hmmer and many other software packages for biological
|
|
30
30
|
analysis can be executed within the BioRuby script, and the results
|
31
31
|
can be fully parsed to extract the portion you need. BioRuby supports
|
32
32
|
major biological database formats and provides many ways for accessing
|
33
|
-
them through flatfile indexing,
|
33
|
+
them through flatfile indexing, web services etc. Various web
|
34
34
|
services can be easily utilized by BioRuby.
|
35
35
|
|
36
36
|
|
@@ -140,23 +140,6 @@ Creating faster flatfile index using Berkley DB:
|
|
140
140
|
(which took over {bdb}[https://github.com/ruby-bdb/bdb])
|
141
141
|
(No RubyGems available)
|
142
142
|
* {Oracle Berkeley DB}[http://www.oracle.com/technetwork/database/berkeleydb/index.html] and C compiler will be required.
|
143
|
-
|
144
|
-
Accessing BioSQL database created by other Open Bio* libraries:
|
145
|
-
|
146
|
-
* {gem install activerecord}[http://rubygems.org/gems/activerecord]
|
147
|
-
and at least one driver (or adapter):
|
148
|
-
* {gem install mysql}[http://rubygems.org/gems/mysql] or
|
149
|
-
{gem install mysql2}[http://rubygems.org/gems/mysql2]
|
150
|
-
* {gem install pg}[http://rubygems.org/gems/pg]
|
151
|
-
* {gem install sqlite-ruby}[http://rubygems.org/gems/sqlite-ruby] or
|
152
|
-
{gem install sqlite3}[http://rubygems.org/gems/sqlite3]
|
153
|
-
* {gem install activerecord-oracle_enhanced-adapter}[http://rubygems.org/gems/activerecord-oracle_enhanced-adapter]
|
154
|
-
|
155
|
-
For parsing PhyloXML format files:
|
156
|
-
|
157
|
-
* {gem install libxml-ruby}[http://rubygems.org/gems/libxml-ruby]
|
158
|
-
* {GNOME Libxml2 XML toolkit}[http://xmlsoft.org/] and C compiler will be
|
159
|
-
required.
|
160
143
|
|
161
144
|
|
162
145
|
== INSTALL
|
@@ -287,6 +270,16 @@ for list of plugins and related software utilizing BioRuby.
|
|
287
270
|
|
288
271
|
* http://biogems.info/
|
289
272
|
|
273
|
+
Plugins (Biogems) listed below had been included in BioRuby in former days,
|
274
|
+
and were split to separate packages to reduce complexity and external
|
275
|
+
dependencies.
|
276
|
+
|
277
|
+
* {bioruby-phyloxml}[http://rubygems.org/gems/bioruby-phyloxml]
|
278
|
+
* NOTE: Please uninstall bio-phyloxml, that have been created as a
|
279
|
+
preliminary trial of splitting a module in 2012 and have not been
|
280
|
+
maintained after that.
|
281
|
+
* {bio-biosql}[http://rubygems.org/gems/bio-biosql]
|
282
|
+
|
290
283
|
To develop your own plugin, see "Plugins" pages of BioRuby Wiki.
|
291
284
|
|
292
285
|
* http://bioruby.open-bio.org/wiki/Plugins
|
data/RELEASE_NOTES.rdoc
CHANGED
@@ -1,325 +1,68 @@
|
|
1
|
-
= BioRuby 1.5.2 RELEASE NOTES
|
2
|
-
|
3
|
-
Few bug fixes have been made to the BioRuby 1.5.2 after the version 1.5.1 is
|
4
|
-
released.
|
5
|
-
|
6
|
-
* Fixed a parser bug in Bio::Fasta::Report, FASTA output (-m 10) parser,
|
7
|
-
contributed by William Van Etten and Mark Wilkinson via GitHub.
|
8
|
-
* HTTPS is used to access GenomeNet BLAST web service, contributed
|
9
|
-
by @ramadis via GitHub.
|
10
|
-
* Bio::Shell#seqstat: Fix format specifier syntax error.
|
11
|
-
* Bio::AAindex documentation fix, suggested by @kojix2 via GitHub.
|
12
|
-
* Suppress warning messages in Ruby 2.4 and later.
|
13
|
-
|
14
|
-
|
15
1
|
= BioRuby 1.5.1 RELEASE NOTES
|
16
2
|
|
17
|
-
|
18
|
-
released.
|
19
|
-
|
20
|
-
== NEWS
|
21
|
-
|
22
|
-
=== HTTPS is used to access NCBI web services
|
23
|
-
|
24
|
-
As you may know, NCBI announced that all HTTP resources will be switched
|
25
|
-
to HTTPS on September 30, 2016. To follow the transition, all URLs for
|
26
|
-
accessing NCBI E-utilities in BioRuby are changed to use HTTPS.
|
27
|
-
|
28
|
-
In BioRuby, the following classes/modules are affected.
|
29
|
-
|
30
|
-
* Bio::NCBI::REST and descending classes
|
31
|
-
* Bio::PubMed
|
32
|
-
|
33
|
-
In some rare cases (especially when building Ruby and/or OpenSSL by yourself
|
34
|
-
from source code), Ruby does not include SSL/TLS support, or Ruby fails to
|
35
|
-
detect SSL root certificates. In such cases, you may need to reinstall or
|
36
|
-
upgrade Ruby, OpenSSL (or alternatives), and/or SSL root certificates with
|
37
|
-
appropriate configuration options. Alternatively, installing binary packages
|
38
|
-
is generally a good idea.
|
39
|
-
|
40
|
-
|
41
|
-
= BioRuby 1.5.0 RELEASE NOTES
|
42
|
-
|
43
|
-
A lot of changes have been made to the BioRuby 1.5.0 after the version 1.4.3
|
3
|
+
A lot of changes have been made to the BioRuby 1.5.1 after the version 1.5.0
|
44
4
|
is released. This document describes important and/or incompatible changes
|
45
|
-
since the BioRuby 1.
|
5
|
+
since the BioRuby 1.5.0 release.
|
46
6
|
|
47
7
|
For known problems, see KNOWN_ISSUES.rdoc.
|
48
8
|
|
49
|
-
==
|
50
|
-
|
51
|
-
=== Full support of Ruby 2.0.0, 2.1, and 2.2
|
52
|
-
|
53
|
-
Ruby 2.0.0, 2.1, and 2.2 are now recommended Ruby versions for running
|
54
|
-
BioRuby codes.
|
55
|
-
|
56
|
-
=== Support of Ruby 1.8 will be stopped
|
57
|
-
|
58
|
-
This release is the final BioRuby version that can be run on Ruby 1.8.
|
59
|
-
|
60
|
-
=== License is updated to the new Ruby's License
|
61
|
-
|
62
|
-
BioRuby is distributed under the same license as Ruby's. In October 2011,
|
63
|
-
Ruby's License was changed from a dual license with GPLv2 to a dual license
|
64
|
-
with 2-clause BSDL. Since BioRuby 1.5.0, we have updated to the
|
65
|
-
new version of Ruby's License. For details about the license, see COPYING
|
66
|
-
or COPYING.ja and BSDL. In addition, please do not forget to see LEGAL for
|
67
|
-
exception files that are subjected to different licenses.
|
68
|
-
|
69
|
-
=== Semantic Versioning will be introduced
|
70
|
-
|
71
|
-
We will adopt the Semantic Versioning since the next release version, which
|
72
|
-
will be BioRuby 1.5.1. This means that BioRuby 1.5.0 is NOT subject to the
|
73
|
-
Semantic Versioning.
|
9
|
+
== New features
|
74
10
|
|
11
|
+
=== (tbd)
|
75
12
|
|
76
|
-
|
13
|
+
(paragraph)
|
77
14
|
|
78
|
-
===
|
79
|
-
|
80
|
-
Bio::FastaFormat#first_name method is added to get the first word in the
|
81
|
-
definition line. This method was proposed by Ben J. Woodcroft.
|
82
|
-
|
83
|
-
=== Accuracy of Bio::SiRNA
|
84
|
-
|
85
|
-
Accuracy of siRNA designing algorithms in Bio::SiRNA is improved,
|
86
|
-
contributed by meso_cacase.
|
87
|
-
|
88
|
-
=== Speed up of Bio::ClustalW::Report
|
89
|
-
|
90
|
-
Running speed of Bio::ClustalW::Report is optimized, contributed by
|
91
|
-
Andrew Grimm.
|
92
|
-
|
93
|
-
=== Many warning messages are squashed
|
94
|
-
|
95
|
-
Most warning messages when running ruby with "-w" option, e.g. "assigned
|
96
|
-
but unused variable", "instance variable @xxx not initialized", are
|
97
|
-
suppressed. Fixes are contributed by Kenichi Kamiya, Andrew Grimm, and
|
98
|
-
BioRuby core members.
|
99
|
-
|
100
|
-
=== Refactoring of codes
|
101
|
-
|
102
|
-
Many existing codes are reviewed and refactored. Patches are contributed
|
103
|
-
by Iain Barnett, Kenichi Kamiya, and BioRuby core members.
|
15
|
+
=== Other new features
|
104
16
|
|
17
|
+
* (tbd)
|
18
|
+
* (tbd)
|
105
19
|
|
106
20
|
== Bug fixes
|
107
21
|
|
108
|
-
===
|
109
|
-
|
110
|
-
==== Bio::PubMed
|
111
|
-
|
112
|
-
Bio::PubMed#search, query, and pmfetch are re-implemented by using NCBI
|
113
|
-
E-Utilities. They were broken because unofficial API was used.
|
114
|
-
Paul Leader reported the bug and gave discussion.
|
115
|
-
|
116
|
-
==== Bio::Hinv
|
117
|
-
|
118
|
-
Bio::Hinv did not work because of the API server URL is changed.
|
119
|
-
|
120
|
-
==== Bio::TogoWS::REST
|
121
|
-
|
122
|
-
* Bio::TogoWS::REST#search with offset and limit did not work due to
|
123
|
-
TogoWS server spec change about URI escape.
|
124
|
-
* Bio::TogoWS::REST#convert did not work because of the spec change of
|
125
|
-
TogoWS REST API.
|
126
|
-
|
127
|
-
=== Bio::Fetch
|
128
|
-
|
129
|
-
Bio::Fetch with default parameters did not work because BioRuby's default
|
130
|
-
BioFetch server had been down. We have decided not to restore the service.
|
131
|
-
For smooth migration of codes using BioRuby's BioFetch server, we provide
|
132
|
-
"bio-old-biofetch-emulator" gem. See below "Imcompatible changes" for details.
|
133
|
-
|
134
|
-
The bug was reported and discussed by Jose Irizarry, Robert A. Heiler, and
|
135
|
-
others.
|
136
|
-
|
137
|
-
=== BioSQL
|
138
|
-
|
139
|
-
* Only do gsub on bio_ref.reference.authors if it exists.
|
140
|
-
* Missing require when generating genbank output for BioSQL sequence.
|
141
|
-
|
142
|
-
Contributed by Brynjar Smari Bjarnason.
|
22
|
+
=== (tbd)
|
143
23
|
|
144
|
-
|
24
|
+
(paragraph)
|
145
25
|
|
146
|
-
|
147
|
-
Thanks to a researcher who sent the patch.
|
148
|
-
* Bio::Blast::Default::Report parse error when subject sequence contains
|
149
|
-
spaces. Edward Rice reported the bug.
|
150
|
-
* Bio::UniProtKB#gene_name raised NoMethodError when gene_names method
|
151
|
-
returns nil. It should return nil. Candidate fix sent by Jose Irizarry.
|
152
|
-
* Bio::PhyloXML::Parser.open_uri did not return block return value when
|
153
|
-
giving a block.
|
154
|
-
|
155
|
-
=== Other bugs
|
156
|
-
|
157
|
-
* lib/bio/shell/plugin/seq.rb: String#step and #skip (extended by bioruby
|
158
|
-
shell) did not yield the last part of the string due to a change from
|
159
|
-
Ruby 1.8 to 1.9.
|
160
|
-
* Documentation and typo fixes. Contributed by many persons, including
|
161
|
-
Iain Barnett and ctSkennerton.
|
162
|
-
|
163
|
-
|
164
|
-
== Renamed features
|
165
|
-
|
166
|
-
=== Bio::SPTR, Bio::UniProt, Bio::SwissProt, and Bio::TrEMBL => Bio::UniProtKB
|
167
|
-
|
168
|
-
The classes for parsing UniProtKB (former SwissProt and TrEMBL) data,
|
169
|
-
Bio::SPTR, Bio::UniProt, Bio::SwissProt, and Bio::TrEMBL, are unified into
|
170
|
-
the new class name Bio::UniProtKB, and old names are deprecated.
|
171
|
-
|
172
|
-
For keeping backward compatibility, old class names Bio::SPTR, Bio::UniProt,
|
173
|
-
Bio::SwissProt, and Bio::TrEMBL are still available, but warning message
|
174
|
-
will be shown when using the old class names. These old class names will be
|
175
|
-
deleted in the future.
|
176
|
-
|
177
|
-
The file contatining Bio::UniProtKB class definition is also changed to
|
178
|
-
lib/bio/db/embl/uniprotkb.rb. For keeping backward compatibility, old
|
179
|
-
files sptr.rb, uniprot.rb, tremble.rb are still kept, but they will be
|
180
|
-
removed in the future.
|
181
|
-
|
182
|
-
|
183
|
-
== Deprecated features
|
184
|
-
|
185
|
-
=== Bio::RefSeq, Bio::DDBJ
|
186
|
-
|
187
|
-
Bio::RefSeq and Bio::DDBJ are deprecated because they are only an alias of
|
188
|
-
Bio::GenBank. Warning message will be shown when loading the classes and
|
189
|
-
initializing new instances. Please use Bio::GenBank instead.
|
190
|
-
|
191
|
-
lib/bio/db/genbank/ddbj.rb and lib/bio/db/genbank/refseq.rb which contain
|
192
|
-
Bio::DDBJ and Bio::RefSeq, respectively, are also deprecated. For keeping
|
193
|
-
backward compatibility, old file are still kept, but they will be removed
|
194
|
-
in the future.
|
195
|
-
|
196
|
-
|
197
|
-
== Removed features
|
198
|
-
|
199
|
-
=== Bio::SOAPWSDL
|
200
|
-
|
201
|
-
Bio::SOAPWSDL (lib/bio/io/soapwsdl.rb) is removed because SOAP4R
|
202
|
-
(SOAP/WSDL library in Ruby) is no longer bundled with Ruby since Ruby 1.9.
|
203
|
-
For Ruby 1.9 or later, some gems of SOAP4R are available, but we think they
|
204
|
-
are not well-maintained. Moreover, many SOAP servers have been retired
|
205
|
-
(see below). So, we give up maintaining Bio::SOAPWSDL and all SOAP client
|
206
|
-
classes in BioRuby.
|
207
|
-
|
208
|
-
=== Bio::EBI::SOAP
|
209
|
-
|
210
|
-
Bio::EBI::SOAP (lib/bio/io/ebisoap.rb) is removed because Bio::SOAPWSDL
|
211
|
-
is removed.
|
212
|
-
|
213
|
-
=== Bio::KEGG::API
|
214
|
-
|
215
|
-
Bio::KEGG::API is removed because KEGG API SOAP service was discontinued in
|
216
|
-
December 31, 2012. See http://www.kegg.jp/kegg/rest/ for the announcement
|
217
|
-
of service discontinuation.
|
218
|
-
|
219
|
-
=== Bio::DBGET
|
220
|
-
|
221
|
-
Bio::DBGET is removed because it only supports old original DBGET protocols
|
222
|
-
that was discontinued in 2004. Note that the DBGET is still available via
|
223
|
-
the web. See http://www.genome.jp/en/gn_dbget.html for details.
|
224
|
-
|
225
|
-
=== Bio::Ensembl
|
226
|
-
|
227
|
-
Bio::Ensembl is removed because it does not work after the renewal of Ensembl
|
228
|
-
web site in 2008. Instead, bio-ensembl gem which supports recent ensembl API
|
229
|
-
is available.
|
230
|
-
|
231
|
-
=== Bio::DDBJ::XML, Bio::DDBJ::REST
|
232
|
-
|
233
|
-
Bio::DDBJ::XML and Bio::DDBJ::REST are removed because DDBJ Web API (WABI)
|
234
|
-
web services were suspended in 2012 and then they were completely renewed
|
235
|
-
with incompatible APIs in 2013.
|
236
|
-
|
237
|
-
=== Bio::HGC::HiGet
|
238
|
-
|
239
|
-
Bio::HGC::HiGet (lib/bio/io/higet.rb) is removed because the HiGet web server
|
240
|
-
http://higet.hgc.jp/ have been down since 2011, and we think that the server
|
241
|
-
will not be restored again.
|
242
|
-
|
243
|
-
=== Bio::NCBI::SOAP
|
244
|
-
|
245
|
-
Bio::NCBI::SOAP is removed because it always raises error during the parsing
|
246
|
-
of WSDL files provided by NCBI. In addition, NCBI announced that the SOAP
|
247
|
-
web service for the E-utilities will be terminated on July 1, 2015. Instead,
|
248
|
-
Bio::NCBI::REST, REST client for the NCBI E-utility web service, is available.
|
249
|
-
|
250
|
-
=== Bio::KEGG::Taxonomy
|
251
|
-
|
252
|
-
Bio::KEGG::Taxonomy is removed because it does not work correctly. It raises
|
253
|
-
error, it falls into infinite loop, or it returns apparently broken data.
|
254
|
-
Moreover, KEGG closed public FTP site and the file "taxonomy" could only be
|
255
|
-
obtained by paid subscribers.
|
256
|
-
|
257
|
-
=== Bio.method_missing
|
258
|
-
|
259
|
-
Bio.method_missing, that aims to provide shortcuts of Bio::Shell methods
|
260
|
-
with shorter name without typing "Shell", is removed because most of the
|
261
|
-
methods raises error mainly due to bypassing of initialization procedure.
|
262
|
-
In addition, we now think that the use of method_missing should generally
|
263
|
-
be avoid unless it is really necessary.
|
264
|
-
|
265
|
-
=== extconf.rb
|
266
|
-
|
267
|
-
extconf.rb, an alternative way to install BioRuby to the system, is removed
|
268
|
-
because of avoiding potential confusions. Nowadays, extconf.rb is usually
|
269
|
-
only used for building native extensions, but no native extensions are
|
270
|
-
included in this release. Use gem or setup.rb to install BioRuby.
|
26
|
+
=== Other bug fixes
|
271
27
|
|
28
|
+
* Fixed: (...)
|
29
|
+
* Fixed: (...)
|
272
30
|
|
273
31
|
== Incompatible changes
|
274
32
|
|
275
|
-
|
276
|
-
"Removed features" sections.
|
277
|
-
|
278
|
-
=== Bio::Fetch
|
33
|
+
=== Bio::Taxonomy is removed and merged to Bio::PhyloXML::Taxonomy
|
279
34
|
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
35
|
+
Bio::Taxonomy in lib/bio/db/phyloxml/phyloxml_elements.rb was written for
|
36
|
+
PhyloXML in 2009. It was intended to become general taxonomy data class in
|
37
|
+
BioRuby in these days. However, no efforts have been made to improve the
|
38
|
+
Bio::Taxonomy class, and it still remains to be a PhyloXML specific class.
|
39
|
+
Because Bio::PhyloXML is split as a different Gem (Biogem) package, we now
|
40
|
+
decide to remove Bio::Taxonomy and merge it to Bio::PhyloXML::Taxonomy.
|
284
41
|
|
285
|
-
|
286
|
-
|
287
|
-
be careful of the differences of database names, default and available
|
288
|
-
data formats between the former BioRuby BioFetch server and the EBI Dbfetch
|
289
|
-
server.
|
42
|
+
In the codes using Bio::Taxonomy directly, changing Bio::Taxonomy to
|
43
|
+
Bio::PhyloXML::Taxonomy or adding the following monkey patch may be needed.
|
290
44
|
|
291
|
-
|
45
|
+
module Bio
|
46
|
+
unless defined? Taxonomy
|
47
|
+
Taxonomy = Bio::PhyloXML::Taxonomy
|
48
|
+
end
|
49
|
+
end
|
292
50
|
|
293
|
-
|
294
|
-
|
295
|
-
* Bio::Fetch.query is removed.
|
51
|
+
In the future, Bio::Taxonomy might be added as general taxonomy data class.
|
52
|
+
The new Bio::Taxonomy might be incompatible with the current Bio::Taxonmy.
|
296
53
|
|
297
|
-
|
298
|
-
bio-old-biofetch-emulator gem. The bio-old-biofetch-emulator gem emulates
|
299
|
-
old BioRuby's default BioFetch server by using other existing web services.
|
300
|
-
See https://rubygems.org/gems/bio-old-biofetch-emulator for details.
|
301
|
-
We think many codes can run with no changes by simply installing the gem and
|
302
|
-
adding "-r bio-old-biofetch-emulator" into the command-line when executing
|
303
|
-
ruby.
|
54
|
+
=== (tbd)
|
304
55
|
|
56
|
+
(paragraph)
|
305
57
|
|
306
58
|
== Known issues
|
307
59
|
|
308
60
|
The following issues are added or updated. See KNOWN_ISSUES.rdoc for other
|
309
61
|
already known issues.
|
310
62
|
|
311
|
-
|
312
|
-
|
313
|
-
Bio::PDB should be updated to follow PDB format version 3.3.
|
314
|
-
|
315
|
-
=== Bio::Blast::Report
|
316
|
-
|
317
|
-
NCBI announces that that they are makeing a new version of BLAST XML data
|
318
|
-
format. BioRuby should support it.
|
63
|
+
* (tbd)
|
319
64
|
|
320
|
-
|
65
|
+
== Other important news
|
321
66
|
|
322
|
-
|
323
|
-
It may be better to support BLAST+ text output format, although NCBI
|
324
|
-
do not recommend to do so because the format is unstable.
|
67
|
+
(tbd)
|
325
68
|
|
data/Rakefile
CHANGED
@@ -68,19 +68,23 @@ GEM_SPEC_FILE = "bioruby.gemspec"
|
|
68
68
|
GEM_SPEC_TEMPLATE_FILE = "bioruby.gemspec.erb"
|
69
69
|
|
70
70
|
# gets gem spec string
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
current_gem_spec_string = File.read(GEM_SPEC_FILE) rescue nil
|
72
|
+
|
73
|
+
next_gem_spec_string = File.open(GEM_SPEC_TEMPLATE_FILE, "rb") do |f|
|
74
|
+
ERB.new(f.read).result
|
75
|
+
end
|
74
76
|
|
75
77
|
# gets gem spec object
|
76
|
-
|
78
|
+
current_spec = eval(current_gem_spec_string || '')
|
79
|
+
next_spec = eval(next_gem_spec_string)
|
80
|
+
spec = (current_spec || next_spec)
|
77
81
|
|
78
82
|
# adds notice of automatically generated file
|
79
|
-
|
83
|
+
next_gem_spec_string = "# This file is automatically generated from #{GEM_SPEC_TEMPLATE_FILE} and\n# should NOT be edited by hand.\n# \n" + next_gem_spec_string
|
80
84
|
|
81
85
|
# compares current gemspec file and newly generated gemspec string
|
82
|
-
|
83
|
-
|
86
|
+
if current_gem_spec_string &&
|
87
|
+
current_gem_spec_string != next_gem_spec_string then
|
84
88
|
#Rake::Task[GEM_SPEC_FILE].invoke
|
85
89
|
flag_update_gemspec = true
|
86
90
|
else
|
@@ -101,7 +105,7 @@ file GEM_SPEC_FILE => [ GEM_SPEC_TEMPLATE_FILE, 'Rakefile',
|
|
101
105
|
'lib/bio/version.rb' ] do |t|
|
102
106
|
puts "creates #{GEM_SPEC_FILE}"
|
103
107
|
File.open(t.name, 'wb') do |w|
|
104
|
-
w.print
|
108
|
+
w.print next_gem_spec_string
|
105
109
|
end
|
106
110
|
end
|
107
111
|
|
@@ -188,7 +192,7 @@ task :rechangelog do
|
|
188
192
|
# The tag name in the command line should be changed
|
189
193
|
# after releasing new version, updating ChangeLog,
|
190
194
|
# and doing "git mv ChangeLog doc/ChangeLog-X.X.X".
|
191
|
-
sh "git log --stat --summary 1.
|
195
|
+
sh "git log --stat --summary 1.5.0..HEAD > ChangeLog"
|
192
196
|
end
|
193
197
|
|
194
198
|
# define mktmpdir
|