]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/assemble_contigs
removed debug message
[biopieces.git] / bp_bin / assemble_contigs
index c2eb8b8f280b73a1faf07ac633114cc1fe72afb5..e19fdc13e96d7c607e3fe828bbcb4ad87c551f90 100755 (executable)
@@ -67,14 +67,15 @@ while ( $record = Maasha::Biopieces::get_record( $in ) )
             $record->{ 'STRAND' } = 'X';
         }
 
-        if ( $record->{ 'S_BEG' } and $record->{ 'S_END' } )
+        if ( defined $record->{ 'S_BEG' } and defined $record->{ 'S_END' } )
         {
             for ( $i = $record->{ 'S_BEG' }; $i <= $record->{ 'S_END' }; $i++ ) {
                 $contig_hash->{ $record->{ 'S_ID' } }->{ $record->{ 'Q_ID' } }->{ $record->{ 'STRAND' } }->[ $i ]++;
             }
         }
 
-        if ( $record->{ 'S_BEG1' } and $record->{ 'S_END1' } and $record->{ 'S_BEG2' } and $record->{ 'S_END2' } )
+        if ( defined $record->{ 'S_BEG1' } and defined $record->{ 'S_END1' } and
+             defined $record->{ 'S_BEG2' } and defined $record->{ 'S_END2' } )
         {
             if ( $options->{ 'bridge' } )
             {