class HTS::Bgzf

Direct Known Subclasses

Defined in:

hts/bgzf.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class HTS::Hts

close close, closed? closed?, file_format file_format, file_format_version file_format_version, rewind rewind, seek(offset) seek, set_threads(n) set_threads, tell tell, to_unsafe to_unsafe

Macros inherited from class HTS::Hts

define_getter(name) define_getter, define_iterator(name) define_iterator

Constructor Detail

def self.new(file_name : Path | String, mode : String = "r", threads = 0) #

[View source]

Class Method Detail

def self.open(file_name : Path | String, mode = "r", threads = 0) #

[View source]
def self.open(file_name : Path | String, mode = "r", threads = 0, &) #

[View source]

Instance Method Detail

def compression_level : Int32 #

[View source]
def each_char(&) #

[View source]
def each_line(delimiter = '\n', &) #

[View source]
def file_name : Path | String #

[View source]
def flush : Int32 #

[View source]
def getc : Char | Nil #

[View source]
def gets(delimiter = '\n') : String | Nil #

[View source]
def is_bgzf? : Bool #

[View source]
def mode : String #

[View source]
def puts(data : String) : Int64 #

[View source]
def read(size : Int32) : Bytes #

[View source]
def seek(offset) #

Override seek and tell for BGZF-specific behavior


[View source]
def tell #

[View source]
def write(data : String) : Int64 #

[View source]
def write(data : Bytes) : Int64 #

[View source]