Skip to content

Commit a832a42

Browse files
committed
r1270: fixed ts tag for PE reads
this also fixed the wrong --write-junc
1 parent a5411fc commit a832a42

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

map.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,10 @@ static void worker_for(void *_data, long i, int tid) // kt_for() callback
463463
r->qs = qlens[j] - r->qe;
464464
r->qe = qlens[j] - t;
465465
r->rev = !r->rev;
466+
if (r->p) {
467+
if (r->p->trans_strand == 1) r->p->trans_strand = 2;
468+
else if (r->p->trans_strand == 2) r->p->trans_strand = 1;
469+
}
466470
}
467471
}
468472
if (mm_dbg_flag & MM_DBG_PRINT_QNAME)

minimap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <stdio.h>
66
#include <sys/types.h>
77

8-
#define MM_VERSION "2.28-r1269-dirty"
8+
#define MM_VERSION "2.28-r1270-dirty"
99

1010
#define MM_F_NO_DIAG (0x001LL) // no exact diagonal hit
1111
#define MM_F_NO_DUAL (0x002LL) // skip pairs where query name is lexicographically larger than target name

0 commit comments

Comments
 (0)