X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fassemble_pairs2;h=c7bfe1bc7007dbca8cd24c98d8c434b554585882;hb=b80cf7b1b2e4f2b1afd992b2821ac071ee0f2c79;hp=3741222a0f2a03e9983f1d390017d4870bd092e0;hpb=dacbae7a2e1355bc1f2e30a839a7fe7574f306f0;p=biopieces.git 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,