From: martinahansen Date: Tue, 10 May 2011 08:20:09 +0000 (+0000) Subject: polished analyze_assembly X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b8cfca0b8e890f58e0f1f884d1fdbffda5fd1876;p=biopieces.git polished analyze_assembly git-svn-id: http://biopieces.googlecode.com/svn/trunk@1390 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/analyze_assembly b/bp_bin/analyze_assembly index c6423f8..89b7b32 100755 --- a/bp_bin/analyze_assembly +++ b/bp_bin/analyze_assembly @@ -90,11 +90,7 @@ new_record[:MIN] = lengths.min new_record[:MEAN] = (total.to_f / lengths.size.to_f).to_i new_record[:TOTAL] = total new_record[:COUNT] = lengths.size - -if options[:gene_cov] - new_record[:GENE_COV] = gene_cov - new_record[:GENE_RATIO] = (gene_cov.to_f / total.to_f).round(4) -end +new_record[:GENE_COV] = gene_cov if options[:gene_cov] bp.puts new_record