while ( $record = Maasha::Biopieces::get_record( $in ) )
{
- if ( $entry = Maasha::Fastq::biopiece2fastq( $record ) ) {
+ if ( $entry = Maasha::Fastq::biopiece2fastq( $record ) )
+ {
+ $entry->[ 2 ] =~ s/(.)/chr( ( ord( $1 ) - 64 ) + 33 )/ge; # convert scores from phred-64 to phred-33
Maasha::Fastq::put_entry( $entry, $fh_out );
}