@@ -18,20 +18,20 @@ int paired_length_threshold = 20;
1818
1919static struct option paired_long_options [] = {
2020 {"qual-type" , required_argument , 0 , 't' },
21- {"pe-file1" , optional_argument , 0 , 'f' },
22- {"pe-file2" , optional_argument , 0 , 'r' },
23- {"pe-combo" , optional_argument , 0 , 'c' },
24- {"output-pe1" , optional_argument , 0 , 'o' },
25- {"output-pe2" , optional_argument , 0 , 'p' },
26- {"output-single" , optional_argument , 0 , 's' },
27- {"output-combo" , optional_argument , 0 , 'm' },
28- {"qual-threshold" , optional_argument , 0 , 'q' },
29- {"length-threshold" , optional_argument , 0 , 'l' },
30- {"no-fiveprime" , optional_argument , 0 , 'x' },
31- {"truncate-n" , optional_argument , 0 , 'n' },
32- {"gzip-output" , optional_argument , 0 , 'g' },
33- {"output-combo-all" , optional_argument , 0 , 'M' },
34- {"quiet" , optional_argument , 0 , 'z' },
21+ {"pe-file1" , required_argument , 0 , 'f' },
22+ {"pe-file2" , required_argument , 0 , 'r' },
23+ {"pe-combo" , required_argument , 0 , 'c' },
24+ {"output-pe1" , required_argument , 0 , 'o' },
25+ {"output-pe2" , required_argument , 0 , 'p' },
26+ {"output-single" , required_argument , 0 , 's' },
27+ {"output-combo" , required_argument , 0 , 'm' },
28+ {"qual-threshold" , required_argument , 0 , 'q' },
29+ {"length-threshold" , required_argument , 0 , 'l' },
30+ {"no-fiveprime" , no_argument , 0 , 'x' },
31+ {"truncate-n" , no_argument , 0 , 'n' },
32+ {"gzip-output" , no_argument , 0 , 'g' },
33+ {"output-combo-all" , required_argument , 0 , 'M' },
34+ {"quiet" , no_argument , 0 , 'z' },
3535 {GETOPT_HELP_OPTION_DECL },
3636 {GETOPT_VERSION_OPTION_DECL },
3737 {NULL , 0 , NULL , 0 }
@@ -45,8 +45,6 @@ void paired_usage (int status, char *msg) {
4545 fprintf (stderr , "Usage: %s pe [options] -c <interleaved input file> -t <quality type> -m <interleaved trimmed paired-end output> -s <trimmed singles file>\n\n\
4646If you have one file with interleaved reads as input and you want ONLY one interleaved file as output:\n\
4747Usage: %s pe [options] -c <interleaved input file> -t <quality type> -M <interleaved trimmed output>\n\n" , PROGRAM_NAME , PROGRAM_NAME );
48- fprintf (stderr , "Finally, if you are using the long-style options, make sure to use an equals sign (=) with the option:\n\
49- Usage: %s pe [options] --pe-file1=<paired-end forward fastq file> --pe-file2=<paired-end reverse fastq file> --qual-type=<quality type> --output-pe1=<trimmed PE forward file> --output-pe2=<trimmed PE reverse file> --output-single=<trimmed singles file>\n\n" , PROGRAM_NAME );
5048 fprintf (stderr , "Options:\n\
5149Paired-end separated reads\n\
5250--------------------------\n\
0 commit comments