bio-shell 0.0.0 → 1.0.0
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/README.md +1 -1
- data/bio-shell.gemspec +2 -2
- data/lib/bio/shell/plugin/seq.rb +1 -1
- data/lib/bio/shell/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 8953cfae487192226cc9f607ae3496e445b7754a68b1173c5fbcf21173877360
|
|
4
|
+
data.tar.gz: 63c2370629cb25500d2345b667fda4c30d59d938bd265b20d5bc3815ee5b1eaf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce42f2c88144efbd0a580c0b979a28e7f40e2cb8465f0b858b4093e2835eb40aa8a64fed7d4ce3ffeeb19895a1084dfc4b8067525fa865d1177751ecc62aba66
|
|
7
|
+
data.tar.gz: c2ddd6e69e10ce1622138e78595fea3561090af90a2ee2730ffc6037ffc00ffbe31a8b20c49fc406e59e6ad5d6528b50c5421148079aea6059b56e1bad016d9c
|
data/README.md
CHANGED
data/bio-shell.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.email = ["staff@bioruby.org"]
|
|
11
11
|
|
|
12
12
|
spec.summary = %q{BioRuby Shell: interactive analysis environment for BioRuby}
|
|
13
|
-
spec.description = %q{BioRuby Shell is a command
|
|
13
|
+
spec.description = %q{BioRuby Shell is a command line interface on BioRuby open source bioinformatics library. It provides easy-to-use analysis environment for bioinformatics.}
|
|
14
14
|
spec.homepage = "https://github.com/bioruby/bioruby-shell"
|
|
15
15
|
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
21
21
|
spec.require_paths = ["lib"]
|
|
22
22
|
|
|
23
|
-
spec.add_runtime_dependency "bio", ">=
|
|
23
|
+
spec.add_runtime_dependency "bio", ">= 2.0.0"
|
|
24
24
|
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.15"
|
|
26
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/bio/shell/plugin/seq.rb
CHANGED
|
@@ -82,7 +82,7 @@ module Bio::Shell
|
|
|
82
82
|
rep << "Codon usage :\n"
|
|
83
83
|
hash = Hash.new("0.0%")
|
|
84
84
|
seq.codon_usage.sort.each do |codon, num|
|
|
85
|
-
percent = format("%.1f
|
|
85
|
+
percent = format("%.1f%%", 100.0 * num / (seq.length / 3))
|
|
86
86
|
hash[codon] = percent
|
|
87
87
|
end
|
|
88
88
|
rep << codontable(1, hash).output
|
data/lib/bio/shell/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bio-shell
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- BioRuby project
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bio
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 2.0.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 2.0.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: bundler
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -80,8 +80,8 @@ dependencies:
|
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '3'
|
|
83
|
-
description: BioRuby Shell is a command
|
|
84
|
-
|
|
83
|
+
description: BioRuby Shell is a command line interface on BioRuby open source bioinformatics
|
|
84
|
+
library. It provides easy-to-use analysis environment for bioinformatics.
|
|
85
85
|
email:
|
|
86
86
|
- staff@bioruby.org
|
|
87
87
|
executables:
|
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
158
158
|
version: '0'
|
|
159
159
|
requirements: []
|
|
160
160
|
rubyforge_project:
|
|
161
|
-
rubygems_version: 2.6.
|
|
161
|
+
rubygems_version: 2.7.6.2
|
|
162
162
|
signing_key:
|
|
163
163
|
specification_version: 4
|
|
164
164
|
summary: 'BioRuby Shell: interactive analysis environment for BioRuby'
|