X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fcomplement_seq;h=10a3a043d5e607b921d409d07d6cbae010a8a4fb;hb=2f0fd91b461033529a4a72e161bd133252a22eb6;hp=193d9e4838be10f0a19dfe9e2b2046571aa52c0d;hpb=5aed4676ad1bf35abbade6215ac90ee591e6d8fe;p=biopieces.git diff --git a/bp_bin/complement_seq b/bp_bin/complement_seq index 193d9e4..10a3a04 100755 --- a/bp_bin/complement_seq +++ b/bp_bin/complement_seq @@ -26,6 +26,7 @@ # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +use warnings; use strict; use Maasha::Biopieces; use Maasha::Seq; @@ -49,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" } ); } }