From 31c64ec40cca2f80c424068b69327832be625e52 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Mon, 2 Dec 2013 21:27:33 +0000 Subject: [PATCH] finishing slice_align biopiece git-svn-id: http://biopieces.googlecode.com/svn/trunk@2269 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/slice_align | 1 + 1 file changed, 1 insertion(+) diff --git a/bp_bin/slice_align b/bp_bin/slice_align index 9c8ef6d..ed56198 100755 --- a/bp_bin/slice_align +++ b/bp_bin/slice_align @@ -110,6 +110,7 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| entry = Seq.new(seq: record[:SEQ]) unless options[:beg] + raise "template length != alignment length" if template and template.length != entry.length compact = template ? template : Seq.new(seq: entry.seq.dup) compact.seq.delete! "-.~" -- 2.39.2