make bwameth work on single end files