scbi_cominer 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/scbi_cominer/cominer.rb +7 -7
- data/lib/scbi_cominer.rb +1 -1
- data/test/test_scbi_cominer.rb +2 -0
- metadata +2 -2
data/History.txt
CHANGED
data/lib/scbi_cominer/cominer.rb
CHANGED
@@ -5,7 +5,7 @@ require 'entropy_function'
|
|
5
5
|
|
6
6
|
class Cominer
|
7
7
|
|
8
|
-
attr_accessor :regions,:snps,:position_table, :freq_table, :single_points
|
8
|
+
attr_accessor :regions,:snps,:position_table, :freq_table, :single_points, :entropy_function
|
9
9
|
|
10
10
|
def initialize(contig)
|
11
11
|
|
@@ -21,18 +21,18 @@ class Cominer
|
|
21
21
|
# puts freq_table.inspect
|
22
22
|
# exit
|
23
23
|
#
|
24
|
-
|
24
|
+
@entropy_function = EntropyFunction.new(@freq_table)
|
25
25
|
|
26
|
-
@regions
|
27
|
-
@snps
|
28
|
-
@single_points
|
26
|
+
@regions=@entropy_function.regions
|
27
|
+
@snps=@entropy_function.snps
|
28
|
+
@single_points=@entropy_function.single_points
|
29
29
|
|
30
30
|
@freq_table.position_table.delete('-')
|
31
31
|
|
32
32
|
@position_table = @freq_table.position_table
|
33
|
+
|
33
34
|
|
34
|
-
end
|
35
|
-
|
35
|
+
end
|
36
36
|
|
37
37
|
|
38
38
|
end
|
data/lib/scbi_cominer.rb
CHANGED
data/test/test_scbi_cominer.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: scbi_cominer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Dario Guerrero
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-10-04 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: scbi_ace
|