Help for this page

Select Code to Download


  1. or download this
    my $str1 = 'ATTTA';
    my $str2 =  'TTTAA';
    
    $merged_result12 = 'ATTTAA';
    
  2. or download this
    my $str2 = 'ATGTA';
    my $str3 = 'ATGTA';
    
    $merged_result23 = 'ATGTA';
    
  3. or download this
    When there are more than one possibilities of merging
    like below. We take the "last" merge.
    ...
    my $str4    = 'ATGATG';
    
    $merged_result34 = 'ATGATGATG';