X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Ftranslate_seq;h=3af052136459dd53a6d5f01b994dc324fe614752;hb=2f0fd91b461033529a4a72e161bd133252a22eb6;hp=663012b29ec5aa7501607fed90782498f609fe42;hpb=5aed4676ad1bf35abbade6215ac90ee591e6d8fe;p=biopieces.git diff --git a/bp_bin/translate_seq b/bp_bin/translate_seq index 663012b..3af0521 100755 --- a/bp_bin/translate_seq +++ b/bp_bin/translate_seq @@ -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" } } ) {