class
HTS::Bgzf
Direct Known Subclasses
Defined in:
hts/bgzf.crConstructors
Class Method Summary
- .open(file_name : Path | String, mode = "r", threads = 0)
- .open(file_name : Path | String, mode = "r", threads = 0, &)
Instance Method Summary
- #<<(data) : self
- #bgzf? : Bool
- #compression_level : Int32
- #each_char(&)
- #each_line(delimiter = '\n', &)
-
#each_line_view(delimiter = '\n', & : Bytes -> ) : self
The borrowed line is valid only during the block.
EXPERIMENTAL
- #file_name : Path | String
- #finalize
- #flush : Int32
- #getc : Char | Nil
- #gets(delimiter = '\n') : String | Nil
-
#is_bgzf? : Bool
ameba:disable Naming/PredicateName
- #mode : String
- #print(data : String) : Nil
- #print(data : Bytes) : Nil
- #print(data) : Nil
- #print(*objects) : Nil
- #puts(data : String) : Int64
- #puts : Int64
- #puts(*objects) : Nil
- #read(size : Int32) : Bytes
-
#seek(offset)
Override seek and tell for BGZF-specific behavior
- #tell
- #write(data : String) : Int64
- #write(data : Bytes) : Int64
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,
threads=(n)
threads=,
to_unsafe
to_unsafe
Macros inherited from class HTS::Hts
define_getter(name)
define_getter,
define_iterator(name)
define_iterator
Constructor Detail
Class Method Detail
Instance Method Detail
The borrowed line is valid only during the block.
EXPERIMENTAL