while ( $record = Maasha::Biopieces::get_record( $in ) )
{
- $record->{ 'SEQ' } =~ tr/-~.//d if $record->{ "SEQ" };
+ $record->{ 'SEQ' } =~ tr/-~.//d if $record->{ "SEQ" };
+ $record->{ 'SEQ_LEN' } = length $record->{ "SEQ" };
Maasha::Biopieces::put_record( $record, $out );
}