From: martinahansen Date: Mon, 2 May 2011 14:10:19 +0000 (+0000) Subject: fixed typo in analyce_gc X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=63f8121e8d3e0331a4f5680cb8d38ca4e96e3323;p=biopieces.git fixed typo in analyce_gc git-svn-id: http://biopieces.googlecode.com/svn/trunk@1355 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/analyze_gc b/bp_bin/analyze_gc index 66673ff..8c0790f 100755 --- a/bp_bin/analyze_gc +++ b/bp_bin/analyze_gc @@ -49,7 +49,7 @@ while ( $record = Maasha::Biopieces::get_record( $in ) ) { $gc_count = $record->{ "SEQ" } =~ tr/GgCc//; $gc_percent = ( $gc_count / length $record->{ "SEQ" } ) * 100; - $record->{ 'GC%' } = sprintf( "%.2f", $gc_pecent ); + $record->{ 'GC%' } = sprintf( "%.2f", $gc_percent ); # $record->{ 'GC%' } = int $gc_percent; }