Updated bam and depth calculations within Pipeline