X-Git-Url: https://git.donarmstrong.com/?p=rsem.git;a=blobdiff_plain;f=BamWriter.h;h=f664710245ff265e184f922c642c0d3efc74a29a;hp=782f5bdeb6705748a8919265e854b54d1f418133;hb=1b2999c4407ef8419fb89b66b843b7141caff4da;hpb=6eec553ba4ab1cb1c6f48cd14d9e5c92c7d85798 diff --git a/BamWriter.h b/BamWriter.h index 782f5bd..f664710 100644 --- a/BamWriter.h +++ b/BamWriter.h @@ -144,6 +144,8 @@ void BamWriter::work(HitWrapper wrapper) { 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 = '!'; @@ -156,7 +158,7 @@ void BamWriter::work(HitWrapper wrapper) { bam_aux_append(b2, "Z0", 'A', bam_aux_type2size('A'), (uint8_t*)&exclamation); } } - + */ samwrite(out, b); samwrite(out, b2);