while ( $record = Maasha::Biopieces::get_record( $in ) )
{
+ Maasha::Biopieces::put_record( $record, $out );
+
if ( exists $record->{ 'SEQ' } )
{
$gaps = find_gaps( $record->{ 'SEQ' }, $options->{ 'min_len' } );
Maasha::Biopieces::put_record( $gap, $out );
}
}
-
- Maasha::Biopieces::put_record( $record, $out );
}
Maasha::Biopieces::close_stream( $in );