Adaptive CPU usage for bowtie2 based on num_samples