Added -p flag to bwa mwm. Now runs to completion without errors.
Clear intervals before resetting them