X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fcalc_bit_scores;h=6da3afbddde48793a9ccd3ef43d5130fbb25f58b;hb=48bea5c28b89dc5586d0bddb338ccd6ba23aa1f9;hp=a6347019c2c1dcfb41fb89ea7403ac4218b6d20c;hpb=66938be910a5642b50ddf28991649858b5c36580;p=biopieces.git diff --git a/bp_bin/calc_bit_scores b/bp_bin/calc_bit_scores index a634701..6da3afb 100755 --- a/bp_bin/calc_bit_scores +++ b/bp_bin/calc_bit_scores @@ -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; @@ -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;