#!/bin/bash -Ceuo pipefail mosdepth \ --threads 4 \ --by xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_chr21.bed \ --fasta Homo_sapiens_assembly38.fasta \ \ Sig_18_Blood \ Sig_18_Blood.recal.bam cat <<-END_VERSIONS > versions.yml "NFCORE_SAREK:SAREK:CRAM_SAMPLE_INTEGRITY:CRAM_QC_RECAL:MOSDEPTH": mosdepth: $(mosdepth --version 2>&1 | sed 's/^.*mosdepth //; s/ .*$//') END_VERSIONS