class HTS::Bcf::Header
- HTS::Bcf::Header
- Reference
- Object
Defined in:
hts/bcf/header.crConstructors
- .new(hts_file : Pointer(HTS::LibHTS::HtsFile))
-
.new(bcf_hdr : Pointer(HTS::LibHTS::BcfHdrT))
for clone
- .new
Instance Method Summary
- #add_sample(sample, sync : Bool = true)
- #append(line)
- #clone
- #delete(bcf_hl_type, key)
- #finalize
- #get_version
- #merge(hdr)
- #nsamples
- #read_bcf(fname)
- #samples
- #set_version(version)
- #sync
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
- #to_unsafe : Pointer(HTS::LibHTS::BcfHdrT)
Constructor Detail
Instance Method Detail
def to_s(io : IO)
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>