Skip to content

Commit

Permalink
* ParseAligns/ParseAligns.cpp (handleAlignmentPair): when writing the
Browse files Browse the repository at this point in the history
paired alignment for alignments to the same contigs, write the
alignment and swapped alignment.


git-svn-id: https://svn.bcgsc.ca/svn/abyss/trunk@49766 ad02020f-2a26-4133-947e-1829317c1416
  • Loading branch information
traymond authored and sjackman committed Mar 19, 2012
1 parent ac20cd7 commit 5d9cef2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ParseAligns/ParseAligns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ static void handleAlignmentPair(ReadAlignMap::const_iterator iter,
// Print the alignment
pairedAlignFile
<< currID << ' ' << a0 << ' '
<< pairID << ' ' << a1 << '\n';
<< pairID << ' ' << a1 << '\n'
<< pairID << ' ' << a1 << ' '
<< currID << ' ' << a0 << '\n';
assert(pairedAlignFile.good());
}
} else {
Expand Down

0 comments on commit 5d9cef2

Please sign in to comment.