Perl package for BWA