We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05ee156 commit fd17060Copy full SHA for fd17060
src/biobambam/ClipReinsert.cpp
@@ -27,6 +27,10 @@ bool clipReinsert(
27
std::stack < libmaus::bambam::cigar_operation > & hardstack
28
)
29
{
30
+ libmaus::bambam::BamAuxFilterVector auxfilter;
31
+ auxfilter.set("qs");
32
+ auxfilter.set("qq");
33
+
34
uint64_t const numaux = algn.enumerateAuxTags(auxtags);
35
for ( uint64_t i = 0; i < numaux; ++i )
36
bafv.set(auxtags[i].first,auxtags[i].second);
@@ -86,6 +90,8 @@ bool clipReinsert(
86
90
algn.replaceSequence(read + qs, qual + qq);
87
91
else
88
92
algn.replaceSequence( libmaus::fastx::reverseComplementUnmapped(qs) + read, std::string(qq.rbegin(),qq.rend()) + qual);
93
94
+ algn.filterOutAux(auxfilter);
89
95
}
96
97
0 commit comments