r1270: fixed ts tag for PE reads

this also fixed the wrong --write-junc
This commit is contained in:
Heng Li
2025-04-11 01:08:16 -04:00
parent a5411fc3c0
commit a832a42f6f
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -463,6 +463,10 @@ static void worker_for(void *_data, long i, int tid) // kt_for() callback
r->qs = qlens[j] - r->qe;
r->qe = qlens[j] - t;
r->rev = !r->rev;
if (r->p) {
if (r->p->trans_strand == 1) r->p->trans_strand = 2;
else if (r->p->trans_strand == 2) r->p->trans_strand = 1;
}
}
}
if (mm_dbg_flag & MM_DBG_PRINT_QNAME)