scbi_fastq 0.0.15 → 0.0.16
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.
- data/History.txt +4 -0
- data/lib/scbi_fastq/fastq_file.rb +4 -4
- data/lib/scbi_fastq.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
@@ -171,15 +171,15 @@ class FastqFile
|
|
171
171
|
res << ("+#{seq_name} #{comments}")
|
172
172
|
|
173
173
|
if !seq_qual.empty?
|
174
|
-
if @qual_to_phred
|
174
|
+
# if @qual_to_phred
|
175
175
|
if seq_qual.is_a?(Array)
|
176
176
|
res<<(seq_qual.map{|e| (e+33).chr}.join)
|
177
177
|
else
|
178
178
|
res<<(seq_qual.split(/\s+/).map{|e| (e.to_i+33).chr}.join)
|
179
179
|
end
|
180
|
-
else
|
181
|
-
|
182
|
-
end
|
180
|
+
# else
|
181
|
+
# res << seq_qual
|
182
|
+
# end
|
183
183
|
else # no qual provided, use a default value
|
184
184
|
q='D'*seq_fasta.length;
|
185
185
|
res << q
|
data/lib/scbi_fastq.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: scbi_fastq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.16
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Dario Guerrero
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-06-13 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: hoe
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements: []
|
72
72
|
|
73
73
|
rubyforge_project: scbi_fastq
|
74
|
-
rubygems_version: 1.
|
74
|
+
rubygems_version: 1.8.24
|
75
75
|
signing_key:
|
76
76
|
specification_version: 3
|
77
77
|
summary: scbi_fastq is a ruby gem to read/write FASTQ files (DNA/RNA sequences) with qualities in a variety of formats (Sanger, Solexa, Ilumina).
|