Skip to content

Commit ab535c4

Browse files
author
wqiu
committed
bioaln/diff-two: reformat output
1 parent ed1b73c commit ab535c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Bio/BPWrapper/AlnManipulations.pm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,7 @@ sub diff_two_seqs {
297297

298298
for(my $i = 0; $i < $len; $i++) {
299299
next unless $seq_strs[0]->{seq}->[$i] ne $seq_strs[1]->{seq}->[$i];
300-
print $i+1, "\t", $seq_strs[0]->{id}, "\t", $seq_strs[0]->{seq}->[$i], "\n";
301-
print $i+1, "\t", $seq_strs[1]->{id}, "\t", $seq_strs[1]->{seq}->[$i], "\n";
300+
print $i+1, "\t", $seq_strs[0]->{id}, "\t", $seq_strs[0]->{seq}->[$i], "\t", $seq_strs[1]->{id}, "\t", $seq_strs[1]->{seq}->[$i], "\n";
302301
}
303302
exit;
304303
}

0 commit comments

Comments
 (0)