mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-02 02:38:11 +08:00
r467: added : (equal length) and ^ (intron) ops
This commit is contained in:
@@ -39,6 +39,7 @@ static struct option long_options[] = {
|
||||
{ "sr", no_argument, 0, 0 },
|
||||
{ "multi", optional_argument, 0, 0 },
|
||||
{ "print-2nd", optional_argument, 0, 0 },
|
||||
{ "cs-no-equal", no_argument, 0, 0 },
|
||||
{ "help", no_argument, 0, 'h' },
|
||||
{ "max-intron-len", required_argument, 0, 'G' },
|
||||
{ "version", no_argument, 0, 'V' },
|
||||
@@ -129,6 +130,7 @@ int main(int argc, char *argv[])
|
||||
else if (c == 0 && long_idx ==11) opt.noncan = atoi(optarg); // --cost-non-gt-ag
|
||||
else if (c == 0 && long_idx ==12) opt.flag |= MM_F_NO_LJOIN; // --no-long-join
|
||||
else if (c == 0 && long_idx ==13) opt.flag |= MM_F_SR; // --sr
|
||||
else if (c == 0 && long_idx ==16) opt.flag |= MM_F_CS_NO_EQUAL | MM_F_OUT_CS | MM_F_CIGAR; // --cs-no-equal
|
||||
else if (c == 0 && long_idx ==14) { // --multi
|
||||
if (optarg == 0 || strcmp(optarg, "yes") == 0 || strcmp(optarg, "y") == 0)
|
||||
opt.flag |= MM_F_MULTI_SEG;
|
||||
|
||||
Reference in New Issue
Block a user