class HTS::Bcf
Included Modules
- Enumerable(HTS::Bcf::Record)
Defined in:
hts/bcf.crhts/bcf/format.cr
hts/bcf/header.cr
hts/bcf/info.cr
hts/bcf/record.cr
Constructors
Class Method Summary
- .open(file_name : Path | String, mode = "r", index = "", threads = 0, build_index = false)
- .open(file_name : Path | String, mode = "r", index = "", threads = 0, build_index = false, &)
Instance Method Summary
- #<<(var)
- #alt
- #build_index(index_name = "", min_shift = 14)
- #chrom
- #close
-
#each(copy = false, &)
Must yield this collection's elements to the block.
- #each_alt(&)
- #each_chrom(&)
- #each_endpos(&)
- #each_filter(&)
- #each_id(&)
- #each_pos(&)
- #each_qual(&)
- #each_ref(&)
- #endpos
- #file_name : String
- #filter
- #finalize
- #format
- #header : HTS::Bcf::Header
- #header=(header)
- #id
- #index_loaded?
- #info
- #load_index(index_name = "")
- #mode : String
- #nsamples
- #nthreads : Int32
- #pos
- #qual
- #ref
- #samples
- #write(var)
- #write_header(header)
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", index = "", threads : Int32 = 0, build_index = false)
#
Class Method Detail
def self.open(file_name : Path | String, mode = "r", index = "", threads = 0, build_index = false)
#
def self.open(file_name : Path | String, mode = "r", index = "", threads = 0, build_index = false, &)
#
Instance Method Detail
def each(copy = false, &)
#
Description copied from module Enumerable(HTS::Bcf::Record)
Must yield this collection's elements to the block.