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 [](tag : String) : Array(Int32) | Array(Float32) | String | Bool | Nil #

Character INFO fields are routed through the string path.


[View source]
def delete(tag : String) : Bool #

[View source]
def get_flag(tag) : Bool | Nil #

[View source]
def get_float(tag) : Array(Float32) | Nil #

[View source]
def get_float_opt(tag) : Array(Float32 | Nil) | Nil #

[View source]
def get_int(tag) : Array(Int32) | Nil #

[View source]
def get_int64(tag) : Array(Int64) | Nil #

[View source]
def get_int64_opt(tag) : Array(Int64 | Nil) | Nil #

[View source]
def get_int_opt(tag) : Array(Int32 | Nil) | Nil #

[View source]
def get_string(tag) : String | Nil #

[View source]
def update_flag(tag : String, present : Bool = true) #

[View source]
def update_float(tag : String, value : Number) #

[View source]
def update_float(tag : String, values : Array(Float32)) #

[View source]
def update_int(tag : String, value : Int) #

[View source]
def update_int(tag : String, values : Array(Int32)) #

[View source]
def update_int64(tag : String, value : Int) #

[View source]
def update_int64(tag : String, values : Array(Int64)) #

[View source]
def update_string(tag : String, value : String) #

[View source]