Path: | lib/bio/util/sirna.rb |
Last Update: | Sun Dec 04 02:16:41 +0000 2011 |
Copyright: | Copyright (C) 2004, 2005 Itoshi NIKAIDO <dritoshi@gmail.com> |
License: | The Ruby License |
$Id:$
This class implements the selection rules described by Kumiko Ui-Tei et al. (2004) and Reynolds et al. (2004).
seq = Bio::Sequence::NA.new(ARGF.read) sirna = Bio::SiRNA.new(seq) pairs = sirna.design pairs.each do |pair| puts pair.report shrna = Bio::SiRNA::ShRNA.new(pair) shrna.design puts shrna.report puts shrna.top_strand.dna puts shrna.bottom_strand.dna end