[Bioperl-l] Bio::PrimarySeq _guess_type

Jason Stajich jason@chg.mc.duke.edu
Mon, 4 Dec 2000 15:33:10 -0500 (EST)

This is mostly for Ewan - 

In the _guess_type method where one is trying to guess whether it 
is RNA, DNA, or PROTEIN sequence - one calculates percentage
of ACGT and ACGT+U and compares to see if they are > 85% 

The line to remove all U's from the seq is written as 

  $str2 =~ s/Uu//g;  

Should it not be written as 

  $str2 =~ s/[Uu]//g; 

I can fix it, just wanted to be sure.


Jason Stajich
Center for Human Genetics
Duke University Medical Center