class HTS::Bam::Header

Defined in:

hts/bam/header.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(hts_file : Pointer(HTS::LibHTS::HtsFile)) #

[View source]
def self.new(sam_hdr : Pointer(HTS::LibHTS::SamHdrT)) #

for clone


[View source]
def self.new #

[View source]

Class Method Detail

def self.parse(text) #

[View source]

Instance Method Detail

def add_pg(name, *args) #

[View source]
def clone #

[View source]
def finalize #

[View source]
def get_tid(name) #

experimental


[View source]
def target_count #

[View source]
def target_len #

[View source]
def target_name(tid) #

[View source]
def target_names #

[View source]
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>

[View source]
def to_unsafe : Pointer(HTS::LibHTS::SamHdrT) #

[View source]