[Bioperl-l] validating a sequence

Ewan Birney birney@ebi.ac.uk
Wed, 27 Feb 2002 01:46:03 -0500 (EST)


Alternatively you will have to process things yourself, eg


while( <> ) {
   $_ =~ s/[^atgcATGCNn]//g;
   $seq_string .=$_;
}


$new_seq = Bio::Seq->new( -seq => $seq_string, -id => 'myseqeunce');