Skip to content

Commit

Permalink
mpileup: enable -g short --gvcf option that was missed
Browse files Browse the repository at this point in the history
  • Loading branch information
mcshane committed Jun 23, 2016
1 parent b1c2ed7 commit 79a2317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mpileup.c
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ int bam_mpileup(int argc, char *argv[])
{"open-prob", required_argument, NULL, 4},
{"ignore-RG", no_argument, NULL, 5},
{"ignore-rg", no_argument, NULL, 5},
{"gvcf", required_argument, NULL, 7},
{"gvcf", required_argument, NULL, 'g'},
{"no-version", no_argument, NULL, 8},
{"threads",required_argument,NULL,9},
{"illumina1.3+", no_argument, NULL, '6'},
Expand Down Expand Up @@ -965,7 +965,7 @@ int bam_mpileup(int argc, char *argv[])
case 3 : mplp.output_fname = optarg; break;
case 4 : mplp.openQ = atoi(optarg); break;
case 5 : mplp.flag |= MPLP_IGNORE_RG; break;
case 7 :
case 'g':
mplp.gvcf = gvcf_init(optarg);
if ( !mplp.gvcf ) error("Could not parse: --gvcf %s\n", optarg);
break;
Expand Down

0 comments on commit 79a2317

Please sign in to comment.