integrate bam2fastq into pipleines