converts a bam to a bcf using samtools pileup