class Bio::DB::Tag

a class to represent the SAM OPT values, presented in SAM as TAG:VTYPE:VALUE

Attributes

tag[RW]
type[RW]
value[RW]

Public Instance Methods

set(str) click to toggle source
# File lib/bio/db/alignment.rb, line 7
def set(str)
  @tag   = str[0..1]
  @type  = str[3]
  @value = str[5..-1]
end