+ convert(b, hit->getConPrb());
+ convert(b2, hit->getConPrb());
+
+ b->core.mpos = b2->core.pos;
+ b2->core.mpos = b->core.pos;
+ }
+ else {
+ // if only one mate can be aligned, mask it as unaligned and put an additional tag Z0:A:!
+ char exclamation = '!';
+ if (!(b->core.flag & 0x0004)) {
+ b->core.flag |= 0x0004;
+ bam_aux_append(b, "Z0", 'A', bam_aux_type2size('A'), (uint8_t*)&exclamation);
+ }
+ if (!(b2->core.flag & 0x0004)) {
+ b2->core.flag |= 0x0004;
+ bam_aux_append(b2, "Z0", 'A', bam_aux_type2size('A'), (uint8_t*)&exclamation);
+ }