changes to allow for setting the depth with newer version of samtools. untested.