Skip to content

Commit ce30004

Browse files
committed
r1235: allow --splice and --frag at the same time
This seems to largely work, though the accuracy is reduced and no pairs are proper. More investigation needed for practical uses.
1 parent 54f8e5f commit ce30004

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

main.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,6 @@ int main(int argc, char *argv[])
319319
if (*s == ',') opt.e2 = strtol(s + 1, &s, 10);
320320
}
321321
}
322-
if ((opt.flag & MM_F_SPLICE) && (opt.flag & MM_F_FRAG_MODE)) {
323-
fprintf(stderr, "[ERROR]\033[1;31m --splice and --frag should not be specified at the same time.\033[0m\n");
324-
return 1;
325-
}
326322
if (!fnw && !(opt.flag&MM_F_CIGAR))
327323
ipt.flag |= MM_I_NO_SEQ;
328324
if (mm_check_opt(&ipt, &opt) < 0)

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-r1234-dirty"
8+
#define MM_VERSION "2.28-r1235-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)