From b80cf7b1b2e4f2b1afd992b2821ac071ee0f2c79 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Wed, 13 Mar 2013 09:58:08 +0000 Subject: [PATCH] added check for minimum seq length git-svn-id: http://biopieces.googlecode.com/svn/trunk@2139 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/assemble_pairs2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bp_bin/assemble_pairs2 b/bp_bin/assemble_pairs2 index 3741222..c7bfe1b 100755 --- a/bp_bin/assemble_pairs2 +++ b/bp_bin/assemble_pairs2 @@ -55,7 +55,10 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| entry2.reverse!.complement! end - if entry1 and entry2 + if entry1 and + entry2 and + entry1.length >= options[:overlap_min] and + entry2.length >= options[:overlap_min] merged = Assemble.pair( entry1, entry2, -- 2.39.2