progress bar string reformatting; sam/bamtools piping