[BioRuby] restriction enzyme module

Trevor Wennblom trevor at corevx.com
Wed Apr 4 21:56:30 UTC 2007


On Apr 4, 2007, at 4:48 PM, Trevor Wennblom wrote:

>
> Should be
>
>    puts Bio::Sequence::NA.new("tan").to_re  # => (?-mix:ta[atgcn])
>


Oh right - actually it should be all inclusive, so "n" should match  
"yrwskmbdhvnatgcu".

In this case for the example giving:

   puts Bio::Sequence::NA.new("tan").to_re  # => (?-mix:ta 
[yrwskmbdhvnatgcu])


Trevor



More information about the BioRuby mailing list