[BioRuby-cvs] bioruby/lib/bio/util sirna.rb,1.8,1.9

Naohisa Goto ngoto at dev.open-bio.org
Thu Feb 22 17:38:43 UTC 2007


Update of /home/repository/bioruby/bioruby/lib/bio/util
In directory dev.open-bio.org:/tmp/cvs-serv16855/lib/bio/util

Modified Files:
	sirna.rb 
Log Message:
In lines 99 and 100, variable name gc_number is changed to au_number.
Thanks to David P Thomas.


Index: sirna.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/util/sirna.rb,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** sirna.rb	22 Feb 2007 17:29:55 -0000	1.8
--- sirna.rb	22 Feb 2007 17:38:41 -0000	1.9
***************
*** 97,102 ****
        start_pos  = @target_size - one_third - 1
        remain_seq = target.subseq(start_pos, @target_size - 2)
!       gc_number  = remain_seq.scan(/[AU]/i).size
!       return false if gc_number < 5
    
        return true
--- 97,102 ----
        start_pos  = @target_size - one_third - 1
        remain_seq = target.subseq(start_pos, @target_size - 2)
!       au_number  = remain_seq.scan(/[AU]/i).size
!       return false if au_number < 5
    
        return true




More information about the bioruby-cvs mailing list