add sam2bam in bsmap pipeline