class HTS::VCF::Header

Attributes

h[R]

Public Class Methods

new(h) click to toggle source
# File lib/hts/vcf/header.rb, line 8
def initialize(h)
  @h = h
end

Public Instance Methods

seqs() click to toggle source

FIXME: better name?

# File lib/hts/vcf/header.rb, line 13
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/vcf/header.rb, line 19
def text
  LibHTS.sam_hdr_str(@h)
end