bettersam 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bettersam.rb +3 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b784a8ef5c7c567134964e9d028157ae3ef14579
4
- data.tar.gz: 7ac15b849c7402b8dcd3de17ef9a5d2c52cfabda
3
+ metadata.gz: adf55f7adc240db5cee1c5f188f3abd5798fbb98
4
+ data.tar.gz: 49f7b0e878392c32e49f18420777987fdcb252fc
5
5
  SHA512:
6
- metadata.gz: 8d492bc114f9a8a195eb47a34302539e26494d809bd4a01e2710358bd75e53ed8688dd58b7514cfb4f4c77835c213534bebf7a125a2084be2db5cd097f12a5c2
7
- data.tar.gz: 66eed73b517ad1b0710e7f81664136476801753c1fda5e0e50f123f80ced5a35f6805a5998d0291c53ced983dd610c9b00881ef4261da55a32fc69cebb9b993b
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, :length
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bettersam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Smith-Unna