class

HTS::Bcf::Format

Inherits Reference < Object

Constructors

new(record : Bcf::Record)
Source

Instance methods

delete(tag : String) : Bool
Source
genotypes
Source
get_float(tag) : Array(Float32) | Nil
Source
get_genotypes

ameba:disable Naming/AccessorMethodName

Source
get_int(tag) : Array(Int32) | Nil
Source
get_string(tag) : Array(String) | Nil

Returns one String per sample. Character FORMAT fields are handled here too.

Source
update_float(tag : String, value : Number)
Source
update_float(tag : String, values : Array(Float32))
Source
update_genotypes(values : Array(Int32))
Source
update_int(tag : String, value : Int)
Source
update_int(tag : String, values : Array(Int32))
Source
update_string(tag : String, value : String)
Source
update_string(tag : String, values : Array(String))
Source