- or download this
my $str1 = 'ATTTA';
my $str2 = 'TTTAA';
$merged_result12 = 'ATTTAA';
- or download this
my $str2 = 'ATGTA';
my $str3 = 'ATGTA';
$merged_result23 = 'ATGTA';
- 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';