r626: function to check incorrect scoring system

This commit is contained in:
Heng Li
2017-12-13 12:23:43 -05:00
parent d003a00d71
commit ab345e600b
3 changed files with 19 additions and 1 deletions
+3 -1
View File
@@ -6,7 +6,7 @@
#include "mmpriv.h"
#include "getopt.h"
#define MM_VERSION "2.6-r625-dirty"
#define MM_VERSION "2.6-r626-dirty"
#ifdef __linux__
#include <sys/resource.h>
@@ -202,6 +202,8 @@ int main(int argc, char *argv[])
}
if (!fnw && !(opt.flag&MM_F_CIGAR))
ipt.flag |= MM_I_NO_SEQ;
if (mm_check_opt(&ipt, &opt) < 0)
return 1;
if (argc == optind || fp_help == stdout) {
fprintf(fp_help, "Usage: minimap2 [options] <target.fa>|<target.idx> [query.fa] [...]\n");