]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/complement_seq
refactoring of assemble_pairs
[biopieces.git] / bp_bin / complement_seq
index 348e0580640c1e2a97c18cbd156d543bd08e67cc..10a3a043d5e607b921d409d07d6cbae010a8a4fb 100755 (executable)
@@ -50,9 +50,9 @@ while ( $record = Maasha::Biopieces::get_record( $in ) )
             $type = Maasha::Seq::seq_guess_type( $record->{ "SEQ" } );
         }
         
-        if ( $type eq "rna" ) {
+        if ( $type eq "RNA" ) {
             Maasha::Seq::rna_comp( \$record->{ "SEQ" } );
-        } elsif ( $type eq "dna" ) {
+        } elsif ( $type eq "DNA" ) {
             Maasha::Seq::dna_comp( \$record->{ "SEQ" } );
         }
     }