From e1de65cd6fea225d7adecffdeeb44926362c0289 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Mon, 9 May 2011 11:13:31 +0000 Subject: [PATCH] polishing gene cov feature in analyze_assembly git-svn-id: http://biopieces.googlecode.com/svn/trunk@1388 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/analyze_assembly | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bp_bin/analyze_assembly b/bp_bin/analyze_assembly index d6b65a6..c6423f8 100755 --- a/bp_bin/analyze_assembly +++ b/bp_bin/analyze_assembly @@ -93,7 +93,7 @@ new_record[:COUNT] = lengths.size if options[:gene_cov] new_record[:GENE_COV] = gene_cov - new_record[:GENE_RATIO] = (gene_cov.to_f / (2 * total.to_f)).round(3) + new_record[:GENE_RATIO] = (gene_cov.to_f / total.to_f).round(4) end bp.puts new_record -- 2.39.2