bio-polyploid-tools 0.8.5 → 0.8.6

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
- SHA256:
3
- metadata.gz: 1f13bb3db0a9396fa0468962dd23f34a771c6772a613f873dd3728cb47f66204
4
- data.tar.gz: d5427afc0216c123131894858aeb8d8ddd0eed53c47b4e47d4b34e63d67af1f2
2
+ SHA1:
3
+ metadata.gz: 7119d8a9ed1f4b73077a420a1d67ef3de381a256
4
+ data.tar.gz: b9f74e1d597b0d5dbbd53758f5c7b2f4a22e7308
5
5
  SHA512:
6
- metadata.gz: '01730361649ede299bc462eda6e9f92c7882aa13ee98033f5276268971efd7a7c03d617ecd089276d2c296e0ff842bd51395839f9134626a6f2bfd7b31840b58'
7
- data.tar.gz: 24c571c5a9318bdd56d8cac17ba008e5b3c22877042bba1198e2d0d9dcbe4b32e330f0963696eca7cd820620166a81a62b8cfa0c0dccb51a34e9370d11bd3bea
6
+ metadata.gz: b8c8ec899b07c2b32b17fb2c3313dd57eab1fffa44cf4e4cad57fd985637e310b80a10a9d2f5a326c3493cf584bb2f7485280a3112672d064f4c9a89189bb244
7
+ data.tar.gz: 79ffb338f75150e140219e3f16068af9b8401a02336b97398daa1ad7181dfb59d30fc4e61a39ec1435722f362b77e4c338b359ccd28bb384d73f94bc936fb398
data/README.md CHANGED
@@ -128,7 +128,9 @@ To use blast instead of exonerate, use the following command:
128
128
 
129
129
  ## Release Notes
130
130
 
131
- ### Next release
131
+ ### 0.8.6
132
+
133
+ * BUGFIX: ```priemr3.rb``` had a regression when adding the repetitive flag to the ```@values``` array. This lead to the wrong order of the columns in the output and possibly other secondary effects.
132
134
 
133
135
  ### 0.8.5
134
136
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.5
1
+ 0.8.6
data/bin/polymarker.rb CHANGED
@@ -392,7 +392,7 @@ snps.each do |snp|
392
392
  end
393
393
 
394
394
  kasp_container.add_primers_file(primer_3_output) if added_exons > 0
395
- header = "Marker,SNP,RegionSize,chromosome,total_contigs,contig_regions,is_repetitive,SNP_type,#{original_name},#{snp_in},common,primer_type,orientation,#{original_name}_TM,#{snp_in}_TM,common_TM,selected_from,product_size,errors"
395
+ header = "Marker,SNP,RegionSize,chromosome,total_contigs,contig_regions,SNP_type,#{original_name},#{snp_in},common,primer_type,orientation,#{original_name}_TM,#{snp_in}_TM,common_TM,selected_from,product_size,errors,is_repetitive"
396
396
  File.open(output_primers, 'w') { |f| f.write("#{header}\n#{kasp_container.print_primers}") }
397
397
 
398
398
  File.open(output_to_order, "w") { |io| io.write(kasp_container.print_primers_with_tails()) }
@@ -2,16 +2,16 @@
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.5 ruby lib
5
+ # stub: bio-polyploid-tools 0.8.6 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bio-polyploid-tools".freeze
9
- s.version = "0.8.5"
9
+ s.version = "0.8.6"
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]
13
13
  s.authors = ["Ricardo H. Ramirez-Gonzalez".freeze]
14
- s.date = "2018-07-31"
14
+ s.date = "2018-08-03"
15
15
  s.description = "Repository of tools developed at Crop Genetics in JIC to work with polyploid wheat".freeze
16
16
  s.email = "ricardo.ramirez-gonzalez@jic.ac.uk".freeze
17
17
  s.executables = ["bfr.rb".freeze, "blast_triads.rb".freeze, "blast_triads_promoters.rb".freeze, "count_variations.rb".freeze, "filter_blat_by_target_coverage.rb".freeze, "filter_exonerate_by_identity.rb".freeze, "find_best_blat_hit.rb".freeze, "find_best_exonerate.rb".freeze, "find_homoeologue_variations.rb".freeze, "get_longest_hsp_blastx_triads.rb".freeze, "hexaploid_primers.rb".freeze, "homokaryot_primers.rb".freeze, "mafft_triads.rb".freeze, "mafft_triads_promoters.rb".freeze, "map_markers_to_contigs.rb".freeze, "markers_in_region.rb".freeze, "mask_triads.rb".freeze, "polymarker.rb".freeze, "polymarker_capillary.rb".freeze, "snp_position_to_polymarker.rb".freeze, "snps_between_bams.rb".freeze, "tag_stats.rb".freeze, "vcfLineToTable.rb".freeze]
@@ -151,6 +151,8 @@ Gem::Specification.new do |s|
151
151
  "test/data/Test3Aspecific.csv",
152
152
  "test/data/Test3Aspecific_contigs.fa",
153
153
  "test/data/bfr_out_test.csv",
154
+ "test/data/chr1A_G540414846C/chr1A_G540414846C.csv",
155
+ "test/data/chr1A_G540414846C/chr1A_G540414846C.fa",
154
156
  "test/data/chr4D_C14473543T/chr4D_C14473543T.csv",
155
157
  "test/data/chr4D_C14473543T/chr4D_C14473543T.fa",
156
158
  "test/data/headerMergeed.txt",
@@ -177,7 +179,7 @@ Gem::Specification.new do |s|
177
179
  ]
178
180
  s.homepage = "http://github.com/tgac/bioruby-polyploid-tools".freeze
179
181
  s.licenses = ["MIT".freeze]
180
- s.rubygems_version = "2.7.4".freeze
182
+ s.rubygems_version = "2.6.14".freeze
181
183
  s.summary = "Tool to work with polyploids, NGS and molecular biology".freeze
182
184
 
183
185
  if s.respond_to? :specification_version then
@@ -113,7 +113,7 @@ module Bio::DB::Primer3
113
113
  left_end = 0
114
114
  right_start = 0
115
115
  right_end = 0
116
- total_columns_before_messages=18
116
+ total_columns_before_messages=17
117
117
  #puts "Values in primer3"
118
118
  #puts snp_from.inspect
119
119
  @values = Array.new
@@ -124,7 +124,6 @@ module Bio::DB::Primer3
124
124
  @values << snp_from.chromosome
125
125
  @values << regions.size
126
126
  @values << regions.join("|")
127
- @values << repetitive
128
127
  if primer3_line_1 and primer3_line_2
129
128
  @values << primer3_line_1.polymorphism
130
129
 
@@ -248,7 +247,9 @@ module Bio::DB::Primer3
248
247
  end
249
248
 
250
249
  def print_primers
251
- self.values.join(",")
250
+ to_print = values.dup
251
+ to_print << @repetitive
252
+ to_print.join(",")
252
253
  end
253
254
 
254
255
  def found_primers?
@@ -0,0 +1 @@
1
+ chr1A_G540414846C,1A,TTCGCCTTTGCTGCCTACCTATATGTACACATGCACGCCGATGCCAGTTGTGGATGCATCCATACGTAAACTATTGGATAGGTCAATCTTCTATACTTAG[G/C]GCATCTCCAACAGGCGCCGAACGCGCCGCGCGCAAAAAACAGCTTATAGCGCGCGCCCATCGTCTGGTTTGGCGCGGCGCGCAGCGCTGGCTCCAGCAGC
@@ -0,0 +1,2 @@
1
+ >chr1A_G540414846C
2
+ ttcgcctttgctgcctacctatatgtacacatgcacgccgatgccagttgtggatgcatccatacgtaaactattggataggtcaatcttctatacttagSgcatctccaacaggcgccgaacgcgccgcgcgcaaaaaacagcttatagcgcgcgcccatcgtctggtttggcgcggcgcgcagcgctggctccagcagc
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bio-polyploid-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo H. Ramirez-Gonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-31 00:00:00.000000000 Z
11
+ date: 2018-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bio
@@ -271,6 +271,8 @@ files:
271
271
  - test/data/Test3Aspecific.csv
272
272
  - test/data/Test3Aspecific_contigs.fa
273
273
  - test/data/bfr_out_test.csv
274
+ - test/data/chr1A_G540414846C/chr1A_G540414846C.csv
275
+ - test/data/chr1A_G540414846C/chr1A_G540414846C.fa
274
276
  - test/data/chr4D_C14473543T/chr4D_C14473543T.csv
275
277
  - test/data/chr4D_C14473543T/chr4D_C14473543T.fa
276
278
  - test/data/headerMergeed.txt
@@ -314,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
314
316
  version: '0'
315
317
  requirements: []
316
318
  rubyforge_project:
317
- rubygems_version: 2.7.4
319
+ rubygems_version: 2.6.14
318
320
  signing_key:
319
321
  specification_version: 4
320
322
  summary: Tool to work with polyploids, NGS and molecular biology