class HTS::Bcf::Format

Defined in:

hts/bcf/format.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def delete(tag : String) : Bool #

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

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

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

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

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


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

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

[View source]
def update_genotypes(values : Array(Int32)) #

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

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

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

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

[View source]