bio-polyploid-tools 0.8.9 → 0.9.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 +4 -4
- data/VERSION +1 -1
- data/bin/polymarker.rb +1 -1
- data/bio-polyploid-tools.gemspec +2 -2
- data/lib/bio/PolyploidTools/SNP.rb +4 -7
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcdf390e75bab0dee7b1c3032f17030a1a307a04937a96a1401c34e2583feac2
|
|
4
|
+
data.tar.gz: 3ef3ebeeb7290f6cb4da7fa1f19d5faa868ee2d4cb79def3bddff863c796b5eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cebf0a197414ba8633f5d5dcd1c3cdb17c6ea7ec7868658544fd8cdc4e42da6460e022de68e431d8ec3a44bf1505a881ae56817bff3c9d50b5ef4202e386ca7d
|
|
7
|
+
data.tar.gz: 53fafe20fe479eadfa89a880fbfd36c1a447736c3909b40d7bc519d4fc7360bef8a4c49c1a9029d1360754b04336e1ca736131eb62e390cd079036f6ea0a3bad
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.9.0
|
data/bin/polymarker.rb
CHANGED
data/bio-polyploid-tools.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: bio-polyploid-tools 0.
|
|
5
|
+
# stub: bio-polyploid-tools 0.9.0 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "bio-polyploid-tools".freeze
|
|
9
|
-
s.version = "0.
|
|
9
|
+
s.version = "0.9.0"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
@@ -20,8 +20,6 @@ module Bio::PolyploidTools
|
|
|
20
20
|
attr_accessor :repetitive
|
|
21
21
|
attr_accessor :hit_count
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
23
|
#Format:
|
|
26
24
|
#Gene_name,Original,SNP_Pos,pos,chromosome
|
|
27
25
|
#A_comp0_c0_seq1,C,519,A,2A
|
|
@@ -70,7 +68,6 @@ module Bio::PolyploidTools
|
|
|
70
68
|
@exon_list = Hash.new {|hsh, key| hsh[key] = [] }
|
|
71
69
|
@errors = Array.new
|
|
72
70
|
@repetitive = false
|
|
73
|
-
@hit_count = 0
|
|
74
71
|
end
|
|
75
72
|
|
|
76
73
|
def to_polymarker_coordinates(flanking_size, total:nil)
|
|
@@ -129,7 +126,6 @@ module Bio::PolyploidTools
|
|
|
129
126
|
else
|
|
130
127
|
exon_list[arm] << exon
|
|
131
128
|
end
|
|
132
|
-
|
|
133
129
|
end
|
|
134
130
|
|
|
135
131
|
def covered_region
|
|
@@ -333,6 +329,7 @@ module Bio::PolyploidTools
|
|
|
333
329
|
|
|
334
330
|
|
|
335
331
|
def primer_3_all_strings(target_chromosome, parental)
|
|
332
|
+
|
|
336
333
|
pr = primer_region(target_chromosome, parental )
|
|
337
334
|
primer_3_propertes = Array.new
|
|
338
335
|
|
|
@@ -342,9 +339,9 @@ module Bio::PolyploidTools
|
|
|
342
339
|
errors << "The sequence (#{seq_original.size}) is shorter than #{primer_3_min_seq_length}"
|
|
343
340
|
return primer_3_propertes
|
|
344
341
|
end
|
|
345
|
-
|
|
346
|
-
if
|
|
347
|
-
errors << "The marker maps to #{
|
|
342
|
+
|
|
343
|
+
if hit_count > max_hits
|
|
344
|
+
errors << "The marker maps to #{hit_count} positions (max_hits: #{max_hits}). "
|
|
348
345
|
repetitive = true
|
|
349
346
|
return primer_3_propertes
|
|
350
347
|
end
|