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