change input to sorted bam