Implementing a method to run BWA workflow