class MgNu::Parser::Sam::Alignment
Attributes
cigar[RW]
distance[RW]
flag[RW]
hit[RW]
mate_pos[RW]
mate_ref[RW]
name[RW]
other[RW]
position[RW]
quality[RW]
query_qual[RW]
sequence[RW]
Public Class Methods
new(attributes = {})
click to toggle source
create a new Alignment
object
# File lib/mgnu/parser/sam/alignment.rb, line 9 def initialize(attributes = {}) self.attributes = attributes end
Public Instance Methods
attributes=(attributes = {})
click to toggle source
# File lib/mgnu/parser/sam/alignment.rb, line 14 def attributes=(attributes = {}) attributes.each do |attr,value| self.send("#{attr}=", value) if self.respond_to?("#{attr}=") end end