qu-pcr 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/qu/pcr/primer3.rb +6 -6
- data/lib/qu/pcr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: baf63922bc490a5fb2047305b57096f3f424244b
|
4
|
+
data.tar.gz: 3e6b16231ead303af4efcfb0c71ac28a86ee1350
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1e143acd1b44448d7753dcb8cf0df196f8409d552f5d71bd32dd18f33cba31e7569fb6349f4b1ee7b58f3dded6d9222c82d355b9b420a7e6cb5a9273c1030b6
|
7
|
+
data.tar.gz: b5f11469eea2a598827f24e5891f351ece38c1b38e2d020da8e301b11f397a0731f1a156c78199bc3d63f2e8a5447d24ed8eebaf4684abfcb467a27de56624bf
|
data/lib/qu/pcr/primer3.rb
CHANGED
@@ -100,7 +100,7 @@ module Qu
|
|
100
100
|
class Primer3Parser
|
101
101
|
def initialize(p3_out)
|
102
102
|
if p3_out.class != String
|
103
|
-
$stderr.puts "
|
103
|
+
$stderr.puts "\tNeed primer3 output file content (not file name) for parsing."
|
104
104
|
end
|
105
105
|
@p3_out = p3_out
|
106
106
|
end
|
@@ -131,15 +131,15 @@ module Qu
|
|
131
131
|
p3_record.each do |record|
|
132
132
|
seq_id = record['SEQUENCE_ID']
|
133
133
|
if record.has_key?('PRIMER_ERROR')
|
134
|
-
$stderr.puts "#{record['PRIMER_ERROR']}"
|
134
|
+
$stderr.puts "\t#{record['PRIMER_ERROR']}"
|
135
135
|
return p3_hash
|
136
136
|
end
|
137
137
|
pp_num = record['PRIMER_PAIR_NUM_RETURNED'].to_i
|
138
138
|
if pp_num < 1
|
139
|
-
$stderr.puts "
|
140
|
-
$stderr.puts "
|
141
|
-
$stderr.puts "
|
142
|
-
$stderr.puts "
|
139
|
+
$stderr.puts "\tFailed design for %s" % [seq_id]
|
140
|
+
$stderr.puts "\tLeft: #{record['PRIMER_LEFT_EXPLAIN']}"
|
141
|
+
$stderr.puts "\tRight: #{record['PRIMER_RIGHT_EXPLAIN']}"
|
142
|
+
$stderr.puts "\tPair: #{record['PRIMER_PAIR_EXPLAIN']}"
|
143
143
|
#exit
|
144
144
|
end
|
145
145
|
p3_hash[seq_id] = []
|
data/lib/qu/pcr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qu-pcr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wubin Qu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: qu-utils
|