Fixed a bug where bowtie2 would be called (and crash) even if no contigs were written out.