class Qu::Pcr::Product

Attributes

id[R]
opt_a[R]
penalty[R]
seq[R]
size[R]
tm[R]

Public Class Methods

new(seq = nil, tm = nil, opt_a = nil, size = nil, id = nil, penalty = nil) click to toggle source
# File lib/qu/pcr.rb, line 34
def initialize(seq = nil, 
               tm = nil,
               opt_a = nil,
               size = nil,
               id = nil,
               penalty = nil)
  @tm = tm.to_f
  @size = size.to_i
  @opt_a = opt_a.to_f
  @seq = Bio::Sequence::NA.new(seq)
  @id = id.to_s
  @penalty = penalty.to_f
end