#!/bin/bash -Ceuo pipefail bai_mapped_count.py 869_YV2-N1-BDNA-1_B23H3Y2LT3_1.recalibrated.bam.bai > 869_YV2-N1-BDNA-1_B23H3Y2LT3_1.mapped_count.txt cat <<-END_VERSIONS > versions.yml "NFCORE_SAREK:SAREK:CRAM_FILTER_LOW_READS:SAMTOOLS_IDXSTATS_COUNT": python: $(python3 --version | sed 's/Python //') bai_mapped_count: 1.0.0 END_VERSIONS