From: martinahansen Date: Thu, 14 Apr 2011 12:13:42 +0000 (+0000) Subject: fixed missing qual trimming in remove_mids X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8dd2d998276e75b3ccda604a1b4c04eaf9bdcab3;p=biopieces.git fixed missing qual trimming in remove_mids git-svn-id: http://biopieces.googlecode.com/svn/trunk@1325 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/remove_mids b/bp_bin/remove_mids index aee66e4..c42a6c0 100755 --- a/bp_bin/remove_mids +++ b/bp_bin/remove_mids @@ -91,6 +91,7 @@ bp.each_record do |record| if mid_hash[tag] record[:SEQ] = record[:SEQ][pos + MID_LEN ... record[:SEQ].length] + record[:SCORES] = record[:SCORES][pos + MID_LEN ... record[:SCORES].length] if record[:SCORES] record[:MID] = tag record[:MID_NUM] = mid_hash[tag] + 1 record[:SEQ_LEN] = record[:SEQ].length