lib/bio-vcf/vcfsample.rb in bio-vcf-0.8.0 vs lib/bio-vcf/vcfsample.rb in bio-vcf-0.8.1

- old
+ new

@@ -38,10 +38,10 @@ end # Split GT into index values def gti v = fetch_values("GT") - v.split(/\//).map{ |v| (v=='.' ? nil : v.to_i) } + v.split(/[\/\|]/).map{ |v| (v=='.' ? nil : v.to_i) } end # Split GT into into a nucleode sequence def gts gti.map { |i| (i ? @rec.get_gt(i) : nil) }