class Bio::SiRNA::Pair
Bio::SiRNA::Pair
¶ ↑
Attributes
Public Class Methods
Source
# File lib/bio/util/sirna.rb 194 def initialize(target, sense, antisense, start, stop, rule, gc_percent) 195 @target = target 196 @sense = sense 197 @antisense = antisense 198 @start = start 199 @stop = stop 200 @rule = rule 201 @gc_percent = gc_percent 202 end
Public Instance Methods
Source
# File lib/bio/util/sirna.rb 205 def report 206 report = "### siRNA\n".dup 207 report << 'Start: ' + @start.to_s + "\n" 208 report << 'Stop: ' + @stop.to_s + "\n" 209 report << 'Rule: ' + @rule.to_s + "\n" 210 report << 'GC %: ' + @gc_percent.to_s + "\n" 211 report << 'Target: ' + @target.upcase + "\n" 212 report << 'Sense: ' + ' ' + @sense.upcase + "\n" 213 report << 'Antisense: ' + @antisense.reverse.upcase + "\n" 214 end
human readable report