bio 2.0.4 → 2.0.6

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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +29 -0
  3. data/.gitignore +32 -0
  4. data/ChangeLog +433 -0
  5. data/Gemfile +3 -0
  6. data/LEGAL +2 -0
  7. data/README.rdoc +1 -1
  8. data/RELEASE_NOTES.rdoc +64 -0
  9. data/appveyor.yml +14 -13
  10. data/bioruby.gemspec +9 -10
  11. data/doc/Tutorial.md +1274 -0
  12. data/doc/Tutorial_ja.md +2595 -0
  13. data/lib/bio/appl/blast/genomenet.rb +2 -1
  14. data/lib/bio/appl/clustalw/report.rb +3 -2
  15. data/lib/bio/appl/iprscan/report.rb +2 -1
  16. data/lib/bio/appl/meme/mast.rb +2 -1
  17. data/lib/bio/appl/paml/common.rb +2 -1
  18. data/lib/bio/appl/pts1.rb +1 -1
  19. data/lib/bio/db/embl/common.rb +5 -2
  20. data/lib/bio/db/embl/uniprotkb.rb +52 -19
  21. data/lib/bio/db/fastq.rb +3 -2
  22. data/lib/bio/db/gff.rb +14 -8
  23. data/lib/bio/db/newick.rb +6 -5
  24. data/lib/bio/db/pdb/chain.rb +2 -1
  25. data/lib/bio/db/pdb/pdb.rb +2 -1
  26. data/lib/bio/db/prosite.rb +2 -0
  27. data/lib/bio/db.rb +5 -4
  28. data/lib/bio/io/flatfile/buffer.rb +2 -1
  29. data/lib/bio/io/flatfile/splitter.rb +2 -1
  30. data/lib/bio/pathway.rb +2 -1
  31. data/lib/bio/sequence/common.rb +2 -1
  32. data/lib/bio/util/restriction_enzyme/range/sequence_range/fragment.rb +3 -2
  33. data/lib/bio/util/sirna.rb +3 -2
  34. data/lib/bio/version.rb +1 -1
  35. data/test/data/uniprot/P03589.uniprot +127 -0
  36. data/test/data/uniprot/P49144.uniprot +232 -0
  37. data/test/functional/bio/test_command.rb +2 -0
  38. data/test/network/bio/db/kegg/test_genes_hsa7422.rb +29 -17
  39. data/test/unit/bio/appl/iprscan/test_report.rb +3 -2
  40. data/test/unit/bio/db/embl/test_uniprotkb_P03589.rb +378 -0
  41. data/test/unit/bio/db/embl/test_uniprotkb_P49144.rb +359 -0
  42. data/test/unit/bio/io/flatfile/test_splitter.rb +7 -4
  43. data/test/unit/bio/sequence/test_common.rb +3 -2
  44. data/test/unit/bio/test_alignment.rb +17 -16
  45. data/test/unit/bio/test_sequence.rb +3 -2
  46. metadata +11 -15
  47. data/.travis.yml +0 -71
  48. data/gemfiles/Gemfile.travis-jruby1.8 +0 -6
  49. data/gemfiles/Gemfile.travis-jruby1.9 +0 -5
  50. data/gemfiles/Gemfile.travis-rbx +0 -10
  51. data/gemfiles/Gemfile.travis-ruby1.8 +0 -6
  52. data/gemfiles/Gemfile.travis-ruby1.9 +0 -5
  53. data/gemfiles/Gemfile.windows +0 -6
  54. data/gemfiles/modify-Gemfile.rb +0 -28
  55. data/gemfiles/prepare-gemspec.rb +0 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65cb8536e3646ee35c955bddcada6ecc10f0dda7540617f6bca71133894d25dd
4
- data.tar.gz: f7eacff38af5eec96bb377f4bc87d23fc03c3277cf843a156b5cb1b95c15afdf
3
+ metadata.gz: 9ebeaea72722c62c0a58f73b53c5fca90c20416ca8c31bd7ba009d48c955ab03
4
+ data.tar.gz: 29f27ce9879bff07f9f072f9a4f7f0c7112f5f6ebe0906e40bc29c7b45f3094b
5
5
  SHA512:
6
- metadata.gz: ad51098d8e668c40b0457f9bdbc58c13e179f5a7929c2264928b3257152dc13f3b0632d3c73c2ac58e7c8e679dfa28188338a51b37a8bb31898fdb887b1e56e4
7
- data.tar.gz: 54f2c6da91324094ac87f0865e9e9b0c5333b8872abc9672cac73110b94ae13b7257f96ba1a75cf358f2fbb66440b4e2790c1ec50b15a381048cf5f04acd3bf8
6
+ metadata.gz: 45968025bd60f3aede23037679f14af264134e471a42e1ad21d1f90630874cf39997a8dd9c81446c1f783769a17834143316a037e240a3b2966869a86e0da4a0
7
+ data.tar.gz: 139e2606d1c31e25aba687d2539148ba46482cb8364949932e8f3e89c711380ec83426f949f7e8edb64ef3672a1d8d6673315c12f23762017220a2adb151a2f6
@@ -0,0 +1,29 @@
1
+ #
2
+ # References: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
3
+
4
+ name: Ruby
5
+
6
+ on:
7
+ push:
8
+ branches: [ "master", "incoming" ]
9
+ pull_request:
10
+ branches: [ "master", "incoming" ]
11
+
12
+ permissions:
13
+ contents: read
14
+
15
+ jobs:
16
+ test:
17
+ strategy:
18
+ fail-fast: false
19
+ matrix:
20
+ ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3', head, jruby, jruby-head]
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ - uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: ${{ matrix.ruby-version }}
27
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
28
+ - name: Run tests
29
+ run: bundle exec rake
data/.gitignore ADDED
@@ -0,0 +1,32 @@
1
+ *~
2
+
3
+ *.gem
4
+ /.config
5
+ /coverage/
6
+ /InstalledFiles
7
+ /pkg/
8
+ /spec/reports/
9
+ /spec/examples.txt
10
+ /test/tmp/
11
+ /test/version_tmp/
12
+ /tmp/
13
+
14
+ .byebug_history
15
+
16
+ /.yardoc/
17
+ /_yardoc/
18
+ /rdoc/
19
+
20
+ /.bundle/
21
+ /vendor/bundle
22
+ /lib/bundler/man/
23
+
24
+ Gemfile.lock
25
+ .ruby-version
26
+ .ruby-gemset
27
+
28
+ .rvmrc
29
+
30
+ # References:
31
+ # * https://www.gitignore.io/api/ruby
32
+ # * https://github.com/github/gitignore/blob/main/Ruby.gitignore
data/ChangeLog CHANGED
@@ -1,3 +1,436 @@
1
+ commit a5fdb471873ec9f9f11eea627d76dbd4c2e4efc5
2
+ Author: Naohisa Goto <ng@bioruby.org>
3
+ Date: Fri Mar 7 18:26:32 2025 +0900
4
+
5
+ ruby.yml: update ruby versions and other descriptions
6
+
7
+ .github/workflows/ruby.yml | 23 +++++++----------------
8
+ 1 file changed, 7 insertions(+), 16 deletions(-)
9
+
10
+ commit 98c24b6ed9fb508b5bfc72ff965fb77e0ec7c35d
11
+ Author: Naohisa Goto <ng@bioruby.org>
12
+ Date: Fri Mar 7 16:58:56 2025 +0900
13
+
14
+ change recommended Ruby versions
15
+
16
+ README.rdoc | 2 +-
17
+ 1 file changed, 1 insertion(+), 1 deletion(-)
18
+
19
+ commit 948377e3fa198e24ac2655f924b903f5296b4955
20
+ Author: Naohisa Goto <ng@bioruby.org>
21
+ Date: Fri Mar 7 16:55:20 2025 +0900
22
+
23
+ update release notes for upcoming BioRuby 2.0.6
24
+
25
+ RELEASE_NOTES.rdoc | 28 ++++++++++++++++++++++++++++
26
+ 1 file changed, 28 insertions(+)
27
+
28
+ commit 123910e5d18caa247c40ecede67015c2e23c0538
29
+ Author: Naohisa Goto <ng@bioruby.org>
30
+ Date: Fri Mar 7 16:25:44 2025 +0900
31
+
32
+ regenerate bioruby.gemspec with rake regemspec
33
+
34
+ bioruby.gemspec | 4 +++-
35
+ 1 file changed, 3 insertions(+), 1 deletion(-)
36
+
37
+ commit 6c110b23d446f5926579a8e92b260a71948689eb
38
+ Author: Naohisa Goto <ng@bioruby.org>
39
+ Date: Fri Mar 7 16:20:26 2025 +0900
40
+
41
+ prepare for BioRuby 2.0.6 release
42
+
43
+ lib/bio/version.rb | 2 +-
44
+ 1 file changed, 1 insertion(+), 1 deletion(-)
45
+
46
+ commit 5c39d4c6a56c4fd2dc108d3350e9f60f26591ac4
47
+ Author: Naohisa Goto <ng@bioruby.org>
48
+ Date: Fri Mar 7 16:14:13 2025 +0900
49
+
50
+ Fix test failure due to data changes of the KEGG databases
51
+
52
+ test/network/bio/db/kegg/test_genes_hsa7422.rb | 18 ++++++++----------
53
+ 1 file changed, 8 insertions(+), 10 deletions(-)
54
+
55
+ commit 6f314341e303c25385027355c3365cf0a0d2ef9a
56
+ Author: Naohisa Goto <ng@bioruby.org>
57
+ Date: Fri Mar 7 03:56:27 2025 +0900
58
+
59
+ Ruby 3.4 support: Use URI::RFC2396_PARSER if possible.
60
+
61
+ * Suppress warning: "URI::RFC3986_PARSER.unescape is obsolete.
62
+ Use URI::RFC2396_PARSER.unescape explicitly." shown in Ruby 3.4.
63
+
64
+ lib/bio/db/gff.rb | 7 ++++++-
65
+ 1 file changed, 6 insertions(+), 1 deletion(-)
66
+
67
+ commit d9b83a068fbf061c7b8072e7ab2479509f9ba130
68
+ Author: Naohisa Goto <ng@bioruby.org>
69
+ Date: Fri Mar 7 03:18:10 2025 +0900
70
+
71
+ Bug fix: Bio::PROSITE.pa2re should not modify argument string
72
+
73
+ * For suppressing "literal string will be frozen in the future" warning
74
+ in Ruby 3.4, Bio::PROSITE.pa2re(string) is changed not to modify
75
+ the given string in the argument. Modifying argument objects by a method
76
+ should generally be avoided because this behavior may cause subtle bugs
77
+ and I think this behavior is a bug.
78
+
79
+ lib/bio/db/prosite.rb | 2 ++
80
+ 1 file changed, 2 insertions(+)
81
+
82
+ commit cca91ac0fa39d63b85a28d72e9b2afb56a40b984
83
+ Author: Naohisa Goto <ng@bioruby.org>
84
+ Date: Fri Mar 7 03:07:11 2025 +0900
85
+
86
+ Ruby 3.4 support: suppress "literal string will be frozen" warnings
87
+
88
+ * Suppress "literal string will be frozen in the future" warning messages
89
+ in Ruby 3.4.
90
+ * Add "frozen_string_literal: true" magic comment in each file.
91
+
92
+ lib/bio/appl/clustalw/report.rb | 5 ++--
93
+ lib/bio/appl/iprscan/report.rb | 3 +-
94
+ lib/bio/appl/meme/mast.rb | 3 +-
95
+ lib/bio/appl/paml/common.rb | 3 +-
96
+ lib/bio/db.rb | 9 +++---
97
+ lib/bio/db/embl/common.rb | 7 +++--
98
+ lib/bio/db/fastq.rb | 5 ++--
99
+ lib/bio/db/gff.rb | 15 +++++-----
100
+ lib/bio/db/newick.rb | 11 ++++----
101
+ lib/bio/db/pdb/chain.rb | 3 +-
102
+ lib/bio/db/pdb/pdb.rb | 3 +-
103
+ lib/bio/io/flatfile/buffer.rb | 3 +-
104
+ lib/bio/io/flatfile/splitter.rb | 3 +-
105
+ lib/bio/pathway.rb | 3 +-
106
+ lib/bio/sequence/common.rb | 3 +-
107
+ .../range/sequence_range/fragment.rb | 5 ++--
108
+ lib/bio/util/sirna.rb | 5 ++--
109
+ test/unit/bio/appl/iprscan/test_report.rb | 5 ++--
110
+ test/unit/bio/io/flatfile/test_splitter.rb | 11 +++++---
111
+ test/unit/bio/sequence/test_common.rb | 5 ++--
112
+ test/unit/bio/test_alignment.rb | 33 +++++++++++-----------
113
+ test/unit/bio/test_sequence.rb | 5 ++--
114
+ 22 files changed, 87 insertions(+), 61 deletions(-)
115
+
116
+ commit 89129b6045ebda95363e58f8724e30225aa62d27
117
+ Author: Naohisa Goto <ng@bioruby.org>
118
+ Date: Fri Aug 30 16:32:33 2024 +0900
119
+
120
+ Add Tutorial.md and Tutorial_ja.md
121
+ converted from Tutorial.rd and Tutorial.rd.ja
122
+
123
+ * Add Tutorial.md and Tutorial_ja.md converted
124
+ from Tutorial.rd and Tutorial.rd.ja
125
+ by using customized rd2markdown
126
+ (https://github.com/ngoto/rd2markdown-app )
127
+ * The following command line is used
128
+ (Note: rd2markdown-app repository is downloaded to ../tmp):
129
+ $ env RUBYLIB=../tmp/rd2markdown-app/lib \
130
+ rd2 -r rd/rd2markdown-lib.rb Tutorial.rd > Tutorial.md
131
+
132
+ doc/Tutorial.md | 1274 ++++++++++++++++++++++++++
133
+ doc/Tutorial_ja.md | 2595 ++++++++++++++++++++++++++++++++++++++++++++++++++++
134
+ 2 files changed, 3869 insertions(+)
135
+ create mode 100644 doc/Tutorial.md
136
+ create mode 100644 doc/Tutorial_ja.md
137
+
138
+ commit 7a1809f1e8b45fa8e38a6c8970b6319d04fa800e
139
+ Author: Naohisa Goto <ng@bioruby.org>
140
+ Date: Wed Sep 27 23:09:03 2023 +0900
141
+
142
+ BioRuby 2.0.5 is released
143
+
144
+ ChangeLog | 287 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
145
+ 1 file changed, 287 insertions(+)
146
+
147
+ commit 1bf3a415b694e34f112ed082184c5bdf21157d3b
148
+ Author: Naohisa Goto <ng@bioruby.org>
149
+ Date: Wed Sep 27 22:54:17 2023 +0900
150
+
151
+ update release notes for upcoming BioRuby 2.0.5
152
+
153
+ RELEASE_NOTES.rdoc | 36 ++++++++++++++++++++++++++++++++++++
154
+ 1 file changed, 36 insertions(+)
155
+
156
+ commit e7cd12319f207da77cfcde822bfc7e158897a42b
157
+ Author: Naohisa Goto <ng@bioruby.org>
158
+ Date: Wed Sep 27 22:18:54 2023 +0900
159
+
160
+ README.rdoc: change recommended Ruby versions
161
+
162
+ README.rdoc | 2 +-
163
+ 1 file changed, 1 insertion(+), 1 deletion(-)
164
+
165
+ commit 631f2546ca5fa9e499d55bd20053e81bb3efa206
166
+ Author: Naohisa Goto <ng@bioruby.org>
167
+ Date: Wed Sep 27 21:58:24 2023 +0900
168
+
169
+ PTS1 site seems to be migrated to https
170
+
171
+ lib/bio/appl/pts1.rb | 2 +-
172
+ 1 file changed, 1 insertion(+), 1 deletion(-)
173
+
174
+ commit f31fbbaa27532cd29c2f7303e729a97a6843b297
175
+ Author: Naohisa Goto <ng@bioruby.org>
176
+ Date: Wed Sep 27 21:40:26 2023 +0900
177
+
178
+ POST path seems to be changed in remote BLAST in genome.jp (GenomeNet)
179
+
180
+ lib/bio/appl/blast/genomenet.rb | 3 ++-
181
+ 1 file changed, 2 insertions(+), 1 deletion(-)
182
+
183
+ commit 9013c2f8b90fc1f56d410d78007dc500af87ee45
184
+ Author: Naohisa Goto <ng@bioruby.org>
185
+ Date: Wed Sep 27 18:41:32 2023 +0900
186
+
187
+ regenerate bioruby.gemspec with rake regemspec
188
+
189
+ bioruby.gemspec | 17 +++++++----------
190
+ 1 file changed, 7 insertions(+), 10 deletions(-)
191
+
192
+ commit 6681c10f947290fc90b410c7620968164d777c85
193
+ Author: Naohisa Goto <ng@bioruby.org>
194
+ Date: Wed Sep 27 18:29:40 2023 +0900
195
+
196
+ appveyor.yml: disable 31-x64 because of stringio 3.0.8 build failure
197
+
198
+ appveyor.yml | 2 +-
199
+ 1 file changed, 1 insertion(+), 1 deletion(-)
200
+
201
+ commit 002227f52b05144668214b5c460055d002d865a1
202
+ Author: Naohisa Goto <ng@bioruby.org>
203
+ Date: Wed Sep 27 18:11:53 2023 +0900
204
+
205
+ remove files/dirs only used from older appveyor.yml
206
+
207
+ gemfiles/Gemfile.windows | 6 ------
208
+ 1 file changed, 6 deletions(-)
209
+ delete mode 100644 gemfiles/Gemfile.windows
210
+
211
+ commit e47f4dc8026cf78ab9daaa59e023512081aa88a1
212
+ Author: Naohisa Goto <ng@bioruby.org>
213
+ Date: Wed Sep 27 18:01:26 2023 +0900
214
+
215
+ update appveyor.yml
216
+
217
+ * Visual Studio 2019 image is specified
218
+ * Branch "incoming" is added
219
+ * Not to use customized Gemfile
220
+ * Not to build and install gem but only to execute rake normally
221
+ * Update ruby versions
222
+ * Add installation retry and caching, copied from jekyll repository
223
+ * References:
224
+ * https://www.appveyor.com/docs/lang/ruby/
225
+ * https://github.com/jekyll/jekyll/blob/master/appveyor.yml
226
+
227
+ appveyor.yml | 27 ++++++++++++++-------------
228
+ 1 file changed, 14 insertions(+), 13 deletions(-)
229
+
230
+ commit b3977e58cde42f0c56fd3dccd6847d162dc349e8
231
+ Author: Naohisa Goto <ng@bioruby.org>
232
+ Date: Wed Sep 27 17:03:33 2023 +0900
233
+
234
+ remove files only used for Travis-CI, mentioned in .travis.yml
235
+
236
+ gemfiles/Gemfile.travis-jruby1.8 | 6 ------
237
+ gemfiles/Gemfile.travis-jruby1.9 | 5 -----
238
+ gemfiles/Gemfile.travis-rbx | 10 ----------
239
+ gemfiles/Gemfile.travis-ruby1.8 | 6 ------
240
+ gemfiles/Gemfile.travis-ruby1.9 | 5 -----
241
+ gemfiles/modify-Gemfile.rb | 28 ----------------------------
242
+ gemfiles/prepare-gemspec.rb | 29 -----------------------------
243
+ 7 files changed, 89 deletions(-)
244
+ delete mode 100644 gemfiles/Gemfile.travis-jruby1.8
245
+ delete mode 100644 gemfiles/Gemfile.travis-jruby1.9
246
+ delete mode 100644 gemfiles/Gemfile.travis-rbx
247
+ delete mode 100644 gemfiles/Gemfile.travis-ruby1.8
248
+ delete mode 100644 gemfiles/Gemfile.travis-ruby1.9
249
+ delete mode 100644 gemfiles/modify-Gemfile.rb
250
+ delete mode 100644 gemfiles/prepare-gemspec.rb
251
+
252
+ commit f7a2063353351f1b7341e98857f25e182c41adaa
253
+ Author: Naohisa Goto <ng@bioruby.org>
254
+ Date: Wed Sep 27 16:44:58 2023 +0900
255
+
256
+ remove .travis.yml
257
+
258
+ * Also remove webhook for Travis-CI in GitHub settings
259
+ * Thanks to Travis-CI to run CI for a long time.
260
+ * Thanks to Open Bioinformatics Foundation for funding to
261
+ automatic testing of pull requests for a long time.
262
+ (https://www.open-bio.org/2012/07/30/travis-ci-for-testing/ ).
263
+
264
+ .travis.yml | 71 -------------------------------------------------------------
265
+ 1 file changed, 71 deletions(-)
266
+ delete mode 100644 .travis.yml
267
+
268
+ commit 3ea8ecdd482ca2b5c8525959f37ed8f0f9a881e6
269
+ Author: Naohisa Goto <ng@bioruby.org>
270
+ Date: Wed Sep 27 16:10:15 2023 +0900
271
+
272
+ ruby.yml: add "incoming" branch
273
+
274
+ .github/workflows/ruby.yml | 4 ++--
275
+ 1 file changed, 2 insertions(+), 2 deletions(-)
276
+
277
+ commit 350587b2b16532078e8bd5f303df96a5dc5a0d70
278
+ Author: Naohisa Goto <ng@bioruby.org>
279
+ Date: Wed Sep 27 16:04:48 2023 +0900
280
+
281
+ ruby.yml: add ruby 3.1 and 3.2
282
+
283
+ .github/workflows/ruby.yml | 2 +-
284
+ 1 file changed, 1 insertion(+), 1 deletion(-)
285
+
286
+ commit 6a0de6744b7324a3a04e5c3d7468d5aec84608b1
287
+ Author: Naohisa Goto <ng@bioruby.org>
288
+ Date: Wed Sep 27 15:43:27 2023 +0900
289
+
290
+ prepare for BioRuby 2.0.5 release
291
+
292
+ lib/bio/version.rb | 2 +-
293
+ 1 file changed, 1 insertion(+), 1 deletion(-)
294
+
295
+ commit 1c77ef24514e87f98be72792646910285be8498f
296
+ Author: Naohisa Goto <ng@bioruby.org>
297
+ Date: Wed Sep 27 14:42:57 2023 +0900
298
+
299
+ Create ruby.yml
300
+
301
+ Create ruby.yml from the template by GitHub
302
+
303
+ .github/workflows/ruby.yml | 38 ++++++++++++++++++++++++++++++++++++++
304
+ 1 file changed, 38 insertions(+)
305
+ create mode 100644 .github/workflows/ruby.yml
306
+
307
+ commit 22b7217c5c830013cb53cb297e6a07e940d60ddc
308
+ Author: Naohisa Goto <ng@bioruby.org>
309
+ Date: Wed Sep 27 13:55:50 2023 +0900
310
+
311
+ add .gitignore
312
+
313
+ * References:
314
+ * https://www.gitignore.io/api/ruby
315
+ * https://github.com/github/gitignore/blob/main/Ruby.gitignore
316
+
317
+ .gitignore | 32 ++++++++++++++++++++++++++++++++
318
+ 1 file changed, 32 insertions(+)
319
+ create mode 100644 .gitignore
320
+
321
+ commit 1244da434f1a46d85a3204f9ba74d038c9535631
322
+ Author: Naohisa Goto <ng@bioruby.org>
323
+ Date: Wed Sep 27 11:06:49 2023 +0900
324
+
325
+ added gems that are no longer "default" gems in recent Ruby versions
326
+
327
+ * Added gems that are no longer the default gems:
328
+ * "rexml" -- since Ruby 3.0
329
+ * "matrix" -- since Ruby 3.1
330
+
331
+ Gemfile | 3 +++
332
+ 1 file changed, 3 insertions(+)
333
+
334
+ commit bd77c7a25eca7681f0176c2425d84415461bcc61
335
+ Author: Naohisa Goto <ng@bioruby.org>
336
+ Date: Tue Sep 26 17:52:03 2023 +0900
337
+
338
+ update tests to reflect changes of hsa:7422 (KEGG GENES)
339
+
340
+ test/network/bio/db/kegg/test_genes_hsa7422.rb | 38 ++++++++++++++++++--------
341
+ 1 file changed, 26 insertions(+), 12 deletions(-)
342
+
343
+ commit 0eca7bba8ee26f2bc4db86b10053e291cd1ab8a9
344
+ Author: Naohisa Goto <ng@bioruby.org>
345
+ Date: Tue Sep 26 17:50:31 2023 +0900
346
+
347
+ add assertions to suppress warnings when ruby -v
348
+
349
+ test/functional/bio/test_command.rb | 2 ++
350
+ 1 file changed, 2 insertions(+)
351
+
352
+ commit 34f56a39baadd5247423588579330f279ab220f5
353
+ Author: Naohisa Goto <ng@bioruby.org>
354
+ Date: Tue Sep 26 17:48:24 2023 +0900
355
+
356
+ update test/data/uniprot/P49144.uniprot and change related tests
357
+
358
+ test/data/uniprot/P49144.uniprot | 13 +++++++++----
359
+ test/unit/bio/db/embl/test_uniprotkb_P49144.rb | 4 ++--
360
+ 2 files changed, 11 insertions(+), 6 deletions(-)
361
+
362
+ commit 2a9f6b0b0bf10a376dff48da58b74eecb40e8553
363
+ Author: Naohisa Goto <ng@bioruby.org>
364
+ Date: Tue Sep 26 17:34:23 2023 +0900
365
+
366
+ Bug fix: Bio::UniProtKB#oh: OH lines parser error occurred for P03589
367
+
368
+ lib/bio/db/embl/uniprotkb.rb | 51 +++++++++++++++++++++++++++++++-------------
369
+ 1 file changed, 36 insertions(+), 15 deletions(-)
370
+
371
+ commit 5a644566891b274cc9532b926d4380899b7725af
372
+ Author: Naohisa Goto <ng@bioruby.org>
373
+ Date: Tue Sep 26 17:28:54 2023 +0900
374
+
375
+ Add a test class to parse UniProtKB P03589 with the data
376
+
377
+ LEGAL | 1 +
378
+ test/data/uniprot/P03589.uniprot | 127 +++++++++
379
+ test/unit/bio/db/embl/test_uniprotkb_P03589.rb | 378 +++++++++++++++++++++++++
380
+ 3 files changed, 506 insertions(+)
381
+ create mode 100644 test/data/uniprot/P03589.uniprot
382
+ create mode 100644 test/unit/bio/db/embl/test_uniprotkb_P03589.rb
383
+
384
+ commit 3273d1e9f7fa625fa1120ab17b85a222f9142cff
385
+ Author: Naohisa Goto <ng@bioruby.org>
386
+ Date: Thu Oct 6 23:17:17 2022 +0900
387
+
388
+ Bug fix: suppress NoMethodError when parsing CC lines
389
+
390
+ * Bio::UniProtKB#cc: When parsing a nonexistent CC topic,
391
+ "NoMethodError: undefined method `join' for nil:NilClass"
392
+ was raised. To suppress the error, changed to return nil
393
+ if the given data is nil.
394
+
395
+ lib/bio/db/embl/uniprotkb.rb | 8 ++++++++
396
+ 1 file changed, 8 insertions(+)
397
+
398
+ commit c426a71de2ed6bb58cd097cecc221f12c0a0ab8a
399
+ Author: Naohisa Goto <ng@bioruby.org>
400
+ Date: Thu Oct 6 23:10:42 2022 +0900
401
+
402
+ Another tests for the FT lines format change since UniProt release 2019_11
403
+
404
+ LEGAL | 1 +
405
+ test/data/uniprot/P49144.uniprot | 227 ++++++++++++++++
406
+ test/unit/bio/db/embl/test_uniprotkb_P49144.rb | 359 +++++++++++++++++++++++++
407
+ 3 files changed, 587 insertions(+)
408
+ create mode 100644 test/data/uniprot/P49144.uniprot
409
+ create mode 100644 test/unit/bio/db/embl/test_uniprotkb_P49144.rb
410
+
411
+ commit a9af82b3c61ebaa4351c7dfdfa3d1a1c09581b73
412
+ Author: Naohisa Goto <ng@bioruby.org>
413
+ Date: Thu Oct 6 23:00:37 2022 +0900
414
+
415
+ more fix for FT lines format change since UniProt release 2019_11
416
+
417
+ * Bio::UniProtKB#ft: When the end position is empty, end position
418
+ is regarded as the same as start position.
419
+ This fix the bug:
420
+ https://github.com/bioruby/bioruby/issues/147#issuecomment-1246458688
421
+
422
+ lib/bio/db/embl/uniprotkb.rb | 12 ++++++++----
423
+ 1 file changed, 8 insertions(+), 4 deletions(-)
424
+
425
+ commit 5d1cc85ff9e028f4663d6a4ac1e312b50eb50c72
426
+ Author: Naohisa Goto <ng@bioruby.org>
427
+ Date: Tue Sep 13 21:20:12 2022 +0900
428
+
429
+ BioRuby 2.0.4 is released
430
+
431
+ ChangeLog | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
432
+ 1 file changed, 79 insertions(+)
433
+
1
434
  commit 1bc877e557e165b42eea992d89f19a63996cb586
2
435
  Author: Naohisa Goto <ng@bioruby.org>
3
436
  Date: Tue Sep 13 21:19:01 2022 +0900
data/Gemfile CHANGED
@@ -1,5 +1,8 @@
1
1
  source "https://rubygems.org"
2
2
 
3
+ gem "matrix"
4
+ gem "rexml"
5
+
3
6
  gem "rake"
4
7
  gem "rdoc"
5
8
  gem "test-unit"
data/LEGAL CHANGED
@@ -114,7 +114,9 @@ test/data/uniprot/p53_human.uniprot:
114
114
  removed.
115
115
 
116
116
 
117
+ test/data/uniprot/P03589.uniprot:
117
118
  test/data/uniprot/P28907.uniprot:
119
+ test/data/uniprot/P49144.uniprot:
118
120
 
119
121
  Copyrighted by the UniProt Consortium, see https://www.uniprot.org/terms
120
122
  Distributed under the Creative Commons Attribution (CC BY 4.0) License
data/README.rdoc CHANGED
@@ -112,7 +112,7 @@ and can be obtained by the following procedure:
112
112
  == REQUIREMENTS
113
113
 
114
114
  * Ruby 2.0.0 or later -- http://www.ruby-lang.org/
115
- * Ruby 2.4.6, 2.5.5, 2.6.3 or later is recommended.
115
+ * Ruby 2.7.8, 3.0.7, 3.1.6, 3.2.7, 3.3.7, 3.4.2 or later is recommended.
116
116
  * See KNOWN_ISSUES.rdoc for Ruby version specific problems.
117
117
 
118
118
 
data/RELEASE_NOTES.rdoc CHANGED
@@ -1,3 +1,67 @@
1
+ = BioRuby 2.0.6 RELEASE NOTES
2
+
3
+ Some fixes have been made in BioRuby 2.0.6 after the release of 2.0.5.
4
+
5
+ == Support for Ruby 3.4
6
+
7
+ * Suppress warining: "literal string will be frozen in the future"
8
+ which is shown in Ruby 3.4.
9
+ * For the purpose, "frozen_string_literal: true" magic comment is added
10
+ in the head of many files.
11
+ * Suppress warning: "URI::RFC3986_PARSER.unescape is obsolete.
12
+ Use URI::RFC2396_PARSER.unescape explicitly." which is shown in Ruby 3.4.
13
+
14
+ == Fixes
15
+
16
+ * Bio::PROSITE.pa2re should not modify argument string object.
17
+ * This bug is found for suppressing warning in Ruby 3.4.
18
+ * Fix test failure of KEGG tests due to data changes of the KEGG databases.
19
+
20
+ == Documentation updates
21
+
22
+ * Add Tutorial.md and Tutorial_ja.md that are converted from Tutorial.rd
23
+ and Tutorial.rd.ja.
24
+ * Only the file format changes have been made. They may contain many
25
+ outdated parts. Content updates remain a future task.
26
+
27
+
28
+
29
+ = BioRuby 2.0.5 RELEASE NOTES
30
+
31
+ Some fixes have been made in BioRuby 2.0.5 after the release of 2.0.4.
32
+
33
+ == Fixes
34
+
35
+ * Bio::UniProtKB#ft: Additional bug fixes for parsing FT lines
36
+ since UniProt release 2019_11.
37
+ (https://github.com/bioruby/bioruby/issues/147 )
38
+ * Bio::UniProtKB#oh: Fixed parse error when parsing 1A_AMVLE (P03589).
39
+ * Bio::Blast::Remote::GenomeNet: Fixed errors caused by the change of
40
+ GenomeNet BLAST webpage's internal URL (which is unofficial
41
+ internal URL and may subject to be changed without notices).
42
+ * Bio::PTS1: Fixed errors due to the PTS1 website URL change
43
+ from http to https.
44
+
45
+ == Changes for developers
46
+
47
+ === Changes of CI (Continuous Integration)
48
+
49
+ * Started using GitHub Actions for CI.
50
+ * Stopped using Travis-CI for CI.
51
+ * Fixed AppVeyor CI errors.
52
+
53
+ === Changes of Gemfile and related files
54
+
55
+ * Gemfile: Added "matrix" and "rexml" gems that are excluded from
56
+ the default gems in recent Ruby versions.
57
+ * gemfiles/*: Removed because of the CI changes.
58
+
59
+ === Others
60
+
61
+ * .gitignore is added.
62
+
63
+
64
+
1
65
  = BioRuby 2.0.4 RELEASE NOTES
2
66
 
3
67
  Some fixes have been made in BioRuby 2.0.4 after the release of 2.0.3.
data/appveyor.yml CHANGED
@@ -1,29 +1,30 @@
1
1
  ---
2
2
  version: "{build}"
3
+ image: Visual Studio 2019
3
4
  branches:
4
5
  only:
5
6
  - master
7
+ - incoming
6
8
  clone_depth: 10
7
9
  install:
8
10
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
9
- - SET BUNDLE_GEMFILE=gemfiles/Gemfile.windows
10
- - bundle install
11
- - bundle exec rake regemspec
12
- - bundle exec rake gem
13
- - bundle exec gem install pkg/bio-*.gem
14
- - echo gem "bio" >> gemfiles\Gemfile.windows
11
+ - bundle config set --local path vendor\bundle
12
+ - bundle install --retry 5 --jobs=%NUMBER_OF_PROCESSORS%
15
13
  build: off
16
14
  before_test:
17
15
  - ruby --version
18
16
  - gem --version
19
17
  - bundle --version
20
18
  test_script:
21
- - bundle exec rake gem-test
19
+ - bundle exec rake
22
20
  environment:
23
21
  matrix:
24
- - ruby_version: "23"
25
- - ruby_version: "23-x64"
26
- - ruby_version: "24"
27
- - ruby_version: "24-x64"
28
- - ruby_version: "25"
29
- - ruby_version: "25-x64"
22
+ - ruby_version: "27"
23
+ - ruby_version: "27-x64"
24
+ - ruby_version: "30"
25
+ - ruby_version: "30-x64"
26
+ - ruby_version: "31"
27
+ # - ruby_version: "31-x64"
28
+ cache:
29
+ # If one of the files after the right arrow changes, cache will be invalidated
30
+ - 'vendor\bundle -> appveyor.yml,Gemfile,bioruby.gemspec'