Path: | lib/bio/util/sirna.rb |
Last Update: | Thu Oct 15 17:07:40 +0000 2015 |
Copyright: | Copyright (C) 2004, 2005 Itoshi NIKAIDO <dritoshi@gmail.com> |
License: | The Ruby License |
$Id: sirna.rb,v 1.11 2007/04/05 23:35:41 trevor Exp $
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