[Bioperl-l] Bio::PrimarySeq _guess_type

Ewan Birney birney@ebi.ac.uk
Tue, 5 Dec 2000 10:00:29 +0000 (GMT)


On Mon, 4 Dec 2000, Jason Stajich wrote:

> 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.


<embarassed>

yes. did you have to put this one out the general mailing list?

;)