#!/bin/bash -Ceuo pipefail bai_mapped_count.py HCC1395_tumor.recalibrated.bam.bai > HCC1395_tumor.mapped_count.txt cat <<-END_VERSIONS > versions.yml "DAQ:SAMTOOLS_IDXSTATS_COUNT": python: $(python3 --version | sed 's/Python //') bai_mapped_count: 1.0.0 END_VERSIONS