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)
+1 -1
View File
@@ -5,7 +5,7 @@
#include <stdio.h>
#include <sys/types.h>
#define MM_VERSION "2.28-r1269-dirty"
#define MM_VERSION "2.28-r1270-dirty"
#define MM_F_NO_DIAG (0x001LL) // no exact diagonal hit
#define MM_F_NO_DUAL (0x002LL) // skip pairs where query name is lexicographically larger than target name