@@ -167,10 +167,10 @@ private static int getColumnValue(CommandLine cmd, String opt, int defaultValue)
167167    private  static  Options  buildOptions () {
168168        Options  options  = new  Options ();
169169        options .addOption ("H" , false , "Print this help page" );
170-         options .addOption ("h" , false , "Print a header row decribing  columns" );
170+         options .addOption ("h" , false , "Print a header row describing  columns" );
171171        options .addOption ("v" , false , "VCF format output" );
172172        options .addOption ("i" , false , "Output splicing read counts" );
173-         options .addOption ("p" , false , "Do pileup regarless  the frequency" );
173+         options .addOption ("p" , false , "Do pileup regardless of  the frequency" );
174174        options .addOption ("C" , false , "Indicate the chromosome names are just numbers, such as 1, 2, not chr1, chr2" );
175175        options .addOption ("D" , false , "Debug mode.  Will print some error messages and append full genotype at the end." );
176176//        options.addOption("M", false, "Similar to -D, but will append individual quality and position data instead of mean"); 
@@ -187,8 +187,8 @@ private static Options buildOptions() {
187187
188188        options .addOption (OptionBuilder .withArgName ("0/1" )
189189                .hasOptionalArgs (1 )
190-                 .withDescription ("Indicate wehther is  zero-based cooridates , as IGV does .  Default: 1 for BED file or amplicon BED file.\n " 
191-                         + "Use 0 to turn it off. When use  -R option, it's set to 0" )
190+                 .withDescription ("Indicate whether coordinates are  zero-based, as IGV uses .  Default: 1 for BED file or amplicon BED file.\n " 
191+                         + "Use 0 to turn it off. When using the  -R option, it's set to 0" )
192192                .withType (Number .class )
193193                .isRequired (false )
194194                .create ('z' ));
@@ -202,8 +202,8 @@ private static Options buildOptions() {
202202
203203        options .addOption (OptionBuilder .withArgName ("int:float" )
204204                .hasArg (true )
205-                 .withDescription ("Indicate it's amplicon based calling.  Reads don't map to the amplicon will be skipped.  A read pair is considered belonging " 
206-                         + " the amplicon if the edges are less than int bp to the amplicon, and overlap fraction is at least float.  Default: 10:0.95" )
205+                 .withDescription ("Indicate it's amplicon based calling.  Reads that  don't map to the amplicon will be skipped.  A read pair is considered belonging " 
206+                         + " to  the amplicon if the edges are less than int bp to the amplicon, and overlap fraction is at least float.  Default: 10:0.95" )
207207                .withType (Number .class )
208208                .isRequired (false )
209209                .create ('a' ));
@@ -217,8 +217,8 @@ private static Options buildOptions() {
217217
218218        options .addOption (OptionBuilder .withArgName ("Genome fasta" )
219219                .hasArg (true )
220-                 .withDescription ("The the  reference fasta. Should be indexed (.fai).\n " 
221-                         + "Default  to: /ngs/reference_data/genomes/Hsapiens/hg19/seq/hg19.fa" )
220+                 .withDescription ("The reference fasta. Should be indexed (.fai).\n " 
221+                         + "Defaults  to: /ngs/reference_data/genomes/Hsapiens/hg19/seq/hg19.fa" )
222222                .withType (String .class )
223223                .isRequired (false )
224224                .create ('G' ));
@@ -239,7 +239,7 @@ private static Options buildOptions() {
239239
240240        options .addOption (OptionBuilder .withArgName ("regular_expression" )
241241                .hasArg (true )
242-                 .withDescription ("The regular expression to extract sample name from bam  filenames.  Default to: /([^\\ /\\ ._]+?)_[^\\ /]*.bam/" )
242+                 .withDescription ("The regular expression to extract sample name from BAM  filenames.  Default to: /([^\\ /\\ ._]+?)_[^\\ /]*.bam/" )
243243                .withType (String .class )
244244                .isRequired (false )
245245                .create ('n' ));
@@ -309,7 +309,7 @@ private static Options buildOptions() {
309309
310310        options .addOption (OptionBuilder .withArgName ("minimum reads" )
311311                .hasArg (true )
312-                 .withDescription ("The minimum # of variance  reads, default 2" )
312+                 .withDescription ("The minimum # of variant  reads, default 2" )
313313                .withType (Number .class )
314314                .isRequired (false )
315315                .create ('r' ));
@@ -390,7 +390,7 @@ private static Options buildOptions() {
390390
391391        options .addOption (OptionBuilder .withArgName ("freq" )
392392                .hasArg (true )
393-                 .withDescription ("The lowest frequency in normal sample allowed for a putative somatic mutations .  Default  to 0.05" )
393+                 .withDescription ("The lowest frequency in the  normal sample allowed for a putative somatic mutation .  Defaults  to 0.05" )
394394                .withType (Number .class )
395395                .isRequired (false )
396396                .create ('V' ));
0 commit comments