bettersam 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bettersam.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adf55f7adc240db5cee1c5f188f3abd5798fbb98
|
4
|
+
data.tar.gz: 49f7b0e878392c32e49f18420777987fdcb252fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74cbfbabd15fca7d5e9d3568b2f2fcb7ddb363f2af9df94db793f877a98565272db38a60000bef79b7b4324a2850afefc111d063148eccefa822ddb4cb6905b3
|
7
|
+
data.tar.gz: b73440febce482e72fecc812e0afde3478743e128a9bf43f1f6842cd1e28fff1b70786b8fae13a9f60c46803b7ab4ce29e3e844d5d2880e82cab8c23f4407dc3
|
data/lib/bettersam.rb
CHANGED
@@ -19,8 +19,8 @@ class BetterSam
|
|
19
19
|
|
20
20
|
public
|
21
21
|
attr_accessor :name, :flag, :chrom, :pos, :mapq, :cigar, :mchrom, :mpos
|
22
|
-
attr_accessor :insert, :seq, :qual, :tags
|
23
|
-
attr_accessor :snp
|
22
|
+
attr_accessor :insert, :seq, :qual, :tags, :length
|
23
|
+
attr_accessor :snp
|
24
24
|
attr_reader :cigar_list
|
25
25
|
|
26
26
|
def initialize(line=nil)
|
@@ -47,6 +47,7 @@ public
|
|
47
47
|
@insert = int_or_raw(f[8])
|
48
48
|
@seq = f[9]
|
49
49
|
@qual = f[10]
|
50
|
+
@length = nil
|
50
51
|
|
51
52
|
@tags = {}
|
52
53
|
i = 11
|