bio-polyploid-tools 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/polymarker.rb +1 -1
- data/bio-polyploid-tools.gemspec +3 -3
- data/lib/bio/PolyploidTools/SNP.rb +11 -8
- data/lib/bio/db/primer3.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 991c0406b74a17197e779e6a44f555b86c3e81eec2c32e029894d85774b691c1
|
4
|
+
data.tar.gz: 3e41e331a0b72a829f90c668594f241268fdcde0931a8ed38ceaff4a2ce6f580
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6f7eb2032143ababc478e3713ae3c89fadea3457b441ff00c737f16bff8b4799f03ac7d836962a9d46ce89ddb88c0efb19f8936dda9c26234b63a353bf35670
|
7
|
+
data.tar.gz: d942ced9c2e1a31cca87b012b4a2a346f79a41c0cc39d66cfe14f5707bcd8824f8caf637bd9a35c966bfe6ddfedba1f75fec9418075bcc6b829b9601c5a9838a
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/bin/polymarker.rb
CHANGED
@@ -41,7 +41,7 @@ options[:database] = false
|
|
41
41
|
options[:filter_best] = false
|
42
42
|
options[:aligner] = :blast
|
43
43
|
options[:max_hits] = 8
|
44
|
-
options[:max_specific_primers] =
|
44
|
+
options[:max_specific_primers] = 15
|
45
45
|
options[:primer_3_preferences] = {
|
46
46
|
:primer_product_size_range => "50-150" ,
|
47
47
|
:primer_max_size => 25 ,
|
data/bio-polyploid-tools.gemspec
CHANGED
@@ -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 1.1.
|
5
|
+
# stub: bio-polyploid-tools 1.1.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bio-polyploid-tools".freeze
|
9
|
-
s.version = "1.1.
|
9
|
+
s.version = "1.1.1"
|
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 = "2019-
|
14
|
+
s.date = "2019-11-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, "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, "marker_to_vcf.rb".freeze, "markers_in_region.rb".freeze, "mask_triads.rb".freeze, "polymarker.rb".freeze, "polymarker_capillary.rb".freeze, "polymarker_deletions.rb".freeze, "snp_position_to_polymarker.rb".freeze, "snps_between_bams.rb".freeze, "tag_stats.rb".freeze, "vcfLineToTable.rb".freeze, "vcfToPolyMarker.rb".freeze]
|
@@ -403,44 +403,47 @@ module Bio::PolyploidTools
|
|
403
403
|
@snp_type = "non-homoeologous"
|
404
404
|
end
|
405
405
|
|
406
|
+
total_candidates = pr.chromosome_specific.size
|
407
|
+
total_candidates += pr.crhomosome_specific_intron.size
|
408
|
+
total_candidates += pr.almost_chromosome_specific.size
|
409
|
+
total_candidates += pr.almost_crhomosome_specific_intron.size
|
410
|
+
|
411
|
+
skip_specific = total_candidates > max_specific_primers
|
412
|
+
|
406
413
|
pr.chromosome_specific.each do |pos|
|
407
|
-
break if
|
414
|
+
break if skip_specific
|
408
415
|
args = {:name =>"#{gene}:#{original}#{position}#{snp} #{original_name} chromosome_specific exon #{@snp_type} #{chromosome}", :left_pos => pr.snp_pos, :right_pos => pos, :sequence=>seq_original}
|
409
416
|
primer_3_propertes << return_primer_3_string(args)
|
410
417
|
args[:name] = "#{gene}:#{original}#{position}#{snp} #{snp_in} chromosome_specific exon #{@snp_type} #{chromosome}"
|
411
418
|
args[:sequence] = seq_snp
|
412
419
|
primer_3_propertes << return_primer_3_string(args)
|
413
|
-
max_specific_primers -= 1
|
414
420
|
end
|
415
421
|
|
416
422
|
pr.crhomosome_specific_intron.each do |pos|
|
417
|
-
break if
|
423
|
+
break if skip_specific
|
418
424
|
args = {:name =>"#{gene}:#{original}#{position}#{snp} #{original_name} chromosome_specific intron #{@snp_type} #{chromosome}", :left_pos => pr.snp_pos, :right_pos => pos, :sequence=>seq_original}
|
419
425
|
primer_3_propertes << return_primer_3_string(args)
|
420
426
|
args[:name] = "#{gene}:#{original}#{position}#{snp} #{snp_in} chromosome_specific exon #{@snp_type} #{chromosome}"
|
421
427
|
args[:sequence] = seq_snp
|
422
428
|
primer_3_propertes << return_primer_3_string(args)
|
423
|
-
max_specific_primers -= 1
|
424
429
|
end
|
425
430
|
|
426
431
|
pr.almost_chromosome_specific.each do |pos|
|
427
|
-
break if
|
432
|
+
break if skip_specific
|
428
433
|
args = {:name =>"#{gene}:#{original}#{position}#{snp} #{original_name} chromosome_semispecific exon #{@snp_type} #{chromosome}", :left_pos => pr.snp_pos, :right_pos => pos, :sequence=>seq_original}
|
429
434
|
primer_3_propertes << return_primer_3_string(args)
|
430
435
|
args[:name] = "#{gene}:#{original}#{position}#{snp} #{snp_in} chromosome_semispecific exon #{@snp_type} #{chromosome}"
|
431
436
|
args[:sequence] = seq_snp
|
432
437
|
primer_3_propertes << return_primer_3_string(args)
|
433
|
-
max_specific_primers -= 1
|
434
438
|
end
|
435
439
|
|
436
440
|
pr.almost_crhomosome_specific_intron.each do |pos|
|
437
|
-
break if
|
441
|
+
break if skip_specific
|
438
442
|
args = {:name =>"#{gene}:#{original}#{position}#{snp} #{original_name} chromosome_semispecific intron #{@snp_type} #{chromosome}", :left_pos => pr.snp_pos, :right_pos => pos, :sequence=>seq_original}
|
439
443
|
primer_3_propertes << return_primer_3_string(args)
|
440
444
|
args[:name] = "#{gene}:#{original}#{position}#{snp} #{snp_in} chromosome_semispecific exon #{@snp_type} #{chromosome}"
|
441
445
|
args[:sequence] = seq_snp
|
442
446
|
primer_3_propertes << return_primer_3_string(args)
|
443
|
-
max_specific_primers -= 1
|
444
447
|
end
|
445
448
|
|
446
449
|
args = {:name =>"#{gene}:#{original}#{position}#{snp} #{original_name} chromosome_nonspecific all #{@snp_type} #{chromosome}", :left_pos => pr.snp_pos, :sequence=>seq_original}
|
data/lib/bio/db/primer3.rb
CHANGED
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: 1.1.
|
4
|
+
version: 1.1.1
|
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: 2019-
|
11
|
+
date: 2019-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bio
|