rrwick / Porechop

adapter trimmer for Oxford Nanopore reads
GNU General Public License v3.0
323 stars 124 forks source link

Use pigz for parallel compression #22

Closed asl closed 7 years ago

asl commented 7 years ago

In some cases the gzip compression time clearly dominates the whole running time. The reason is that plain gzip is used. I would suggest checking whether pigz is present, and if yes - then forward ---threads option to pigz to allow much faster parallel compression.

rrwick commented 7 years ago

That's a good idea and was a fairly easy one to implement, so I've added it to the current release: v0.2.2. Give it a try!

I'll close this issue now, but let me know if there are any issues and I'll reopen it.