#!/bin/bash -euo pipefail bcl-convert \ \ --tiles s_7 \ --output-directory output \ --bcl-input-directory rundir \ --sample-sheet rundir/SampleSheet.csv cat <<-END_VERSIONS > versions.yml "NFCORE_RNAFUSION:DEMUX_FROM_RUNDIR:DEMULTIPLEX:BCLCONVERT": bclconvert: $(bcl-convert -V 2>&1 | head -n 1 | sed 's/^.*Version //') END_VERSIONS