jts / sga

de novo sequence assembler using string graphs
http://genome.cshlp.org/content/22/3/549
237 stars 82 forks source link

Use gzip for discarded reads if outfile has ".gz" as extension #76

Closed mpre closed 10 years ago

mpre commented 10 years ago

This commit tests if outfile is gzipped (when provided at command-line) and in this case compress the file of the discarded reads.

mpre commented 10 years ago

Moreover, this commit adds an option to compress the outfiles when no '-o' option is specified. I'm not sure that you want this option in your tool so I didn't added it to this pull request.

jts commented 10 years ago

Looks good, thanks for the patch.