]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/read_solexa
fixed solexa/phred code
[biopieces.git] / bp_bin / read_solexa
index b7a56396ed9393033fcfd34458aeb5ec6cd1de2e..f594d8079427432e644f1e2674cbe39461a20ca8 100755 (executable)
@@ -68,6 +68,7 @@ if ( $options->{ 'data_in' } )
         if ( $record = Maasha::Fastq::fastq2biopiece( $entry ) )
         {
             Maasha::Fastq::softmask_solexa_str( $record->{ 'SEQ' }, $record->{ 'SCORES' }, $options->{ 'cutoff' } ) if $options->{ 'soft_mask' };
+            $record->{ 'SCORES' } = Maasha::Fastq::solexa_str2dec_str( $record->{ 'SCORES' } ) if $options->{ 'convert2dec' };
 
             Maasha::Biopieces::put_record( $record, $out );
         }