From b399a0a44fc46207240229e2e5a09311a19bfe4d Mon Sep 17 00:00:00 2001 From: martinahansen Date: Thu, 17 Oct 2013 12:13:57 +0000 Subject: [PATCH] fixed QA_454_report.rb to work with new analyze_vals git-svn-id: http://biopieces.googlecode.com/svn/trunk@2240 74ccb610-7750-0410-82ae-013aeee3265d --- bp_scripts/QA_454_report.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bp_scripts/QA_454_report.rb b/bp_scripts/QA_454_report.rb index 1239789..9564602 100755 --- a/bp_scripts/QA_454_report.rb +++ b/bp_scripts/QA_454_report.rb @@ -67,7 +67,7 @@ class Report "read_sff -i #{@sff_file} | progress_meter | analyze_seq | - analyze_vals -k GC%,HARD_MASK%,SOFT_MASK% | + analyze_vals -k SEQ,GC%,HARD_MASK%,SOFT_MASK% | write_tab -o #{@anal_file} -x" ) STDERR.puts "done.\n" @@ -80,7 +80,7 @@ class Report fields = line.split("\t") case fields.first - when "SEQ" then @count, @min, @max, @sum, @mean = fields[2], fields[3], fields[4], fields[5], fields[6] + when "SEQ" then @count, @min, @max, @sum, @mean = fields[2 .. 6] when "GC%" then @gc = fields[6] when "HARD_MASK%" then @hard = fields[6] when "SOFT_MASK%" then @soft = fields[6] -- 2.39.2