Method: BioDSL::Assemble#calc_overlap

Defined in:
lib/BioDSL/seq/assemble.rb

#calc_overlapObject

Calculate the overlap to be matched.



107
108
109
110
111
112
113
# File 'lib/BioDSL/seq/assemble.rb', line 107

def calc_overlap
  @overlap = if @options[:overlap_max]
               [@options[:overlap_max], @entry1.length, @entry2.length].min
             else
               [@entry1.length, @entry2.length].min
             end
end