]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/translate_seq
refactoring of assemble_pairs
[biopieces.git] / bp_bin / translate_seq
index 9627c9d05deba5ac6c018848a522434ff3ad2989..3af052136459dd53a6d5f01b994dc324fe614752 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl -w
+#!/usr/bin/env perl
 
 # Copyright (C) 2007-2009 Martin A. Hansen.
 
@@ -26,6 +26,7 @@
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
+use warnings;
 use strict;
 use Maasha::Biopieces;
 use Maasha::Seq;
@@ -49,7 +50,7 @@ while ( $record = Maasha::Biopieces::get_record( $in ) )
 {
     if ( $record->{ "SEQ" } )
     {
-        if ( Maasha::Seq::seq_guess_type( $record->{ "SEQ" } ) eq "dna" )
+        if ( Maasha::Seq::seq_guess_type( $record->{ "SEQ" } ) eq "DNA" )
         {
             foreach $frame ( @{ $options->{ "frames" } } )
             {