Skip to content

Commit

Permalink
tweak output format for multipatch
Browse files Browse the repository at this point in the history
  • Loading branch information
ekg committed Jul 20, 2024
1 parent 35caf17 commit 78bff59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/common/wflign/src/wflign_patch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2132,8 +2132,9 @@ query_start : query_end)
mashmap_estimated_identity,
false, // Don't add an endline after each alignment
true); // This is a reverse complement alignment
// write tag indicating that this is a reverse complement alignment
out << "\t" << "rc:Z:true" << "\t"
// write tag indicating that this is a multipatch alignment
out << "\t" << "patch:Z:true" << "\t"
// and if the patch is inverted as well
<< "\t" << "inv:Z:" << (patch_aln.is_rev ? "true" : "false") << "\n";
}
out << std::flush;
Expand Down

0 comments on commit 78bff59

Please sign in to comment.