added bwa code