bhattlab / bhattlab_workflows

Computational workflows for metagenomics tasks, by the Bhatt lab
http://www.bhattlab.com
46 stars 15 forks source link

rule post_fastqc fails if there are no orphans #17

Closed elimoss closed 5 years ago

elimoss commented 5 years ago

In the event that the orphans output .fq.gz is empty, fastqc will fail and the pipeline will stop.

bsiranosian commented 5 years ago

Fixed in https://github.com/bhattlab/bhattlab_workflows/commit/bb656f6810482dbedb6596350522d6a165515dab by checking for an empty first byte in the gz file.