class HTS::Bcf

Included Modules

Defined in:

hts/bcf.cr
hts/bcf/format.cr
hts/bcf/header.cr
hts/bcf/info.cr
hts/bcf/record.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", index = "", threads : Int32 = 0, build_index = false) #

[View source]

Class Method Detail

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

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

[View source]

Instance Method Detail

def <<(var) #

[View source]
def alt #

[View source]
def build_index(index_name = "", min_shift = 14) #

[View source]
def chrom #

[View source]
def close #

[View source]
def each(copy = false, &) #
Description copied from module Enumerable(HTS::Bcf::Record)

Must yield this collection's elements to the block.


[View source]
def each_alt(&) #

[View source]
def each_chrom(&) #

[View source]
def each_endpos(&) #

[View source]
def each_filter(&) #

[View source]
def each_id(&) #

[View source]
def each_pos(&) #

[View source]
def each_qual(&) #

[View source]
def each_ref(&) #

[View source]
def endpos #

[View source]
def file_name : String #

[View source]
def filter #

[View source]
def finalize #

[View source]
def format #

[View source]
def header : HTS::Bcf::Header #

[View source]
def header=(header) #

[View source]
def id #

[View source]
def index_loaded? #

[View source]
def info #

[View source]
def load_index(index_name = "") #

[View source]
def mode : String #

[View source]
def nsamples #

[View source]
def nthreads : Int32 #

[View source]
def pos #

[View source]
def qual #

[View source]
def ref #

[View source]
def samples #

[View source]
def write(var) #

[View source]
def write_header(header) #

[View source]