X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Ftranslate_seq;h=3af052136459dd53a6d5f01b994dc324fe614752;hb=9052a73697c99a1f0634e2d1f2cf2932f8288810;hp=d62188af432c7e9a16ec152e58707901198dda82;hpb=731f02ba5d556aaa8e44a85e7cec1be549f4216f;p=biopieces.git diff --git a/bp_bin/translate_seq b/bp_bin/translate_seq index d62188a..3af0521 100755 --- a/bp_bin/translate_seq +++ b/bp_bin/translate_seq @@ -50,7 +50,7 @@ while ( $record = Maasha::Biopieces::get_record( $in ) ) { if ( $record->{ "SEQ" } ) { - if ( Maasha::Seq::seq_guess_type( $record->{ "SEQ" } ) =~ /DNA/i ) + if ( Maasha::Seq::seq_guess_type( $record->{ "SEQ" } ) eq "DNA" ) { foreach $frame ( @{ $options->{ "frames" } } ) {