added localmode to bowtie2
bug fix