updated fromMerge and cleaned up bwa driver