Batch processing code for Bowtie