]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/calc_bit_scores
adding bzip2 support in ruby
[biopieces.git] / bp_bin / calc_bit_scores
index 9de170d172071c0b73149db1e81282890b266d4e..6da3afbddde48793a9ccd3ef43d5130fbb25f58b 100755 (executable)
@@ -26,6 +26,7 @@
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
+use warnings;
 use strict;
 use Maasha::Biopieces;
 use Maasha::Seq;
@@ -68,7 +69,7 @@ while ( $record = Maasha::Biopieces::get_record( $in ) )
 
 undef $record;
 
-if ( $type eq "protein" ) {
+if ( $type eq "PROTEIN" ) {
     $bit_max = 4;
 } else {
     $bit_max = 2;