r735: fixed a bug caused by merge
This commit is contained in:
parent
b603fed39c
commit
11698fc4e5
|
|
@ -53,7 +53,7 @@ int main_mem(int argc, char *argv[])
|
||||||
|
|
||||||
opt = mem_opt_init();
|
opt = mem_opt_init();
|
||||||
memset(&opt0, 0, sizeof(mem_opt_t));
|
memset(&opt0, 0, sizeof(mem_opt_t));
|
||||||
while ((c = getopt(argc, argv, "epaFMCSPHIk:c:v:s:r:t:R:A:B:O:E:U:w:L:d:T:Q:D:m:I:N:W:x:G:")) >= 0) {
|
while ((c = getopt(argc, argv, "epaFMCSPHYk:c:v:s:r:t:R:A:B:O:E:U:w:L:d:T:Q:D:m:I:N:W:x:G:")) >= 0) {
|
||||||
if (c == 'k') opt->min_seed_len = atoi(optarg), opt0.min_seed_len = 1;
|
if (c == 'k') opt->min_seed_len = atoi(optarg), opt0.min_seed_len = 1;
|
||||||
else if (c == 'x') mode = optarg;
|
else if (c == 'x') mode = optarg;
|
||||||
else if (c == 'w') opt->w = atoi(optarg), opt0.w = 1;
|
else if (c == 'w') opt->w = atoi(optarg), opt0.w = 1;
|
||||||
|
|
@ -69,7 +69,7 @@ int main_mem(int argc, char *argv[])
|
||||||
else if (c == 'S') opt->flag |= MEM_F_NO_RESCUE;
|
else if (c == 'S') opt->flag |= MEM_F_NO_RESCUE;
|
||||||
else if (c == 'e') opt->flag |= MEM_F_SELF_OVLP;
|
else if (c == 'e') opt->flag |= MEM_F_SELF_OVLP;
|
||||||
else if (c == 'F') opt->flag |= MEM_F_ALN_REG;
|
else if (c == 'F') opt->flag |= MEM_F_ALN_REG;
|
||||||
else if (c == 'I') opt->flag |= MEM_F_SOFTCLIP;
|
else if (c == 'Y') opt->flag |= MEM_F_SOFTCLIP;
|
||||||
else if (c == 'c') opt->max_occ = atoi(optarg), opt0.max_occ = 1;
|
else if (c == 'c') opt->max_occ = atoi(optarg), opt0.max_occ = 1;
|
||||||
else if (c == 'd') opt->zdrop = atoi(optarg), opt0.zdrop = 1;
|
else if (c == 'd') opt->zdrop = atoi(optarg), opt0.zdrop = 1;
|
||||||
else if (c == 'v') bwa_verbose = atoi(optarg);
|
else if (c == 'v') bwa_verbose = atoi(optarg);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue