class Qu::Pcr::Primer
Attributes
gc[R]
penalty[R]
pos[R]
seq[R]
tm[R]
type[R]
Public Class Methods
new(seq = nil, type = nil, gc = nil, tm = nil, penalty = nil, pos = nil)
click to toggle source
# File lib/qu/pcr.rb, line 12 def initialize(seq = nil, type = nil, gc = nil, tm = nil, penalty = nil, pos = nil) # type should be "forward" or "reverse" @type = type @gc = gc.to_f @tm = tm.to_f @penalty = penalty.to_f # position of primer's 5' end @pos = pos.to_i @seq = Bio::Sequence::NA.new(seq) end