bio-polyploid-tools 0.8.9 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e84c23b6cdb94ec8e7537de6d6a85bb5c807e99417aee64f300f567f9ed06fa
4
- data.tar.gz: 5f597fa54fc9d9be8a10efb27ecbacf261d4285a950a24c2b49b8f6ad09f954a
3
+ metadata.gz: fcdf390e75bab0dee7b1c3032f17030a1a307a04937a96a1401c34e2583feac2
4
+ data.tar.gz: 3ef3ebeeb7290f6cb4da7fa1f19d5faa868ee2d4cb79def3bddff863c796b5eb
5
5
  SHA512:
6
- metadata.gz: 56ffd2291cb36799fcf1c96790a08fb82a58bd98480fc4315fcf26b34df87c5bbc048b2f88be5e7788ab382b95aee78b9d88c4389ca1ee12e88a84c8326e143d
7
- data.tar.gz: 13f38b6eb9a175f48bd04d8ae2b58070c21055c64dcd68d3cca4d691587b0392876a5f5c5fe5d801f1b61e73d8f6104b5515a8348c8e6ab914ab978bdae3c2cb
6
+ metadata.gz: cebf0a197414ba8633f5d5dcd1c3cdb17c6ea7ec7868658544fd8cdc4e42da6460e022de68e431d8ec3a44bf1505a881ae56817bff3c9d50b5ef4202e386ca7d
7
+ data.tar.gz: 53fafe20fe479eadfa89a880fbfd36c1a447736c3909b40d7bc519d4fc7360bef8a4c49c1a9029d1360754b04336e1ca736131eb62e390cd079036f6ea0a3bad
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.9
1
+ 0.9.0
data/bin/polymarker.rb CHANGED
@@ -39,7 +39,7 @@ options[:min_identity] = 90
39
39
  options[:scoring] = :genome_specific
40
40
  options[:database] = false
41
41
  options[:filter_best] = false
42
- options[:max_hits] = 10
42
+ options[:max_hits] = 8
43
43
  options[:aligner] = :exonerate
44
44
 
45
45
 
@@ -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.8.9 ruby lib
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.8.9"
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
- @hit_count = exon_list.size
346
- if @hit_count > max_hits
347
- errors << "The marker maps to #{@hit_count} positions (max_hits: #{max_hits}). "
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bio-polyploid-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.9
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo H. Ramirez-Gonzalez