class HTS::Bcf::Info

Defined in:

hts/bcf/info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(record : Bcf::Record) #

[View source]

Instance Method Detail

def get_flag(tag) #

Get INFO flag. Returns true/false, or nil if tag undefined.


[View source]
def get_float(tag) #

Get INFO float array. Returns nil if tag not present.


[View source]
def get_float_opt(tag) #

Get INFO float array with missing values mapped to nil (bcf_float_missing is a NaN sentinel)


[View source]
def get_int(tag) #

Get INFO int32 array. Returns nil if tag not present.


[View source]
def get_int64(tag) #

Get INFO int64 array. Returns nil if tag not present.


[View source]
def get_int_opt(tag) #

Get INFO int32 array with missing values mapped to nil. Missing is encoded in BCF as INT32_MIN; vector_end should not appear in INFO but is ignored if present.


[View source]
def get_string(tag) #

Get INFO string. Returns nil if tag not present.


[View source]