class HTS::Bam::Header
Attributes
h[R]
Public Class Methods
new(h)
click to toggle source
# File lib/hts/bam/header.rb, line 11 def initialize(h) @h = h end
Public Instance Methods
seqs()
click to toggle source
FIXME: better name?
# File lib/hts/bam/header.rb, line 16 def seqs Array.new(@h[:n_targets]) do |i| LibHTS.sam_hdr_tid2name(@h, i) end end
text()
click to toggle source
# File lib/hts/bam/header.rb, line 22 def text LibHTS.sam_hdr_str(@h) end