#!/bin/bash -euo pipefail
cat tih_rna_sample_00220_23H5VFLT4_s16_S64_L005_R1_001.fastq.gz tih_rna_sample_00220_23H5VFLT4_s16_S64_L006_R1_001.fastq.gz tih_rna_sample_00220_23H5VFLT4_s16_S64_L007_R1_001.fastq.gz tih_rna_sample_00220_23H5VFLT4_s16_S64_L008_R1_001.fastq.gz > tih_rna_sample_00220_23H5VFLT4_s16_R1.fastq.gz
cat tih_rna_sample_00220_23H5VFLT4_s16_S64_L005_R2_001.fastq.gz tih_rna_sample_00220_23H5VFLT4_s16_S64_L006_R2_001.fastq.gz tih_rna_sample_00220_23H5VFLT4_s16_S64_L007_R2_001.fastq.gz tih_rna_sample_00220_23H5VFLT4_s16_S64_L008_R2_001.fastq.gz > tih_rna_sample_00220_23H5VFLT4_s16_R2.fastq.gz
cat <<-END_VERSIONS > versions.yml
"NFCORE_RNAFUSION:DEMUX_FROM_RUNDIR:DEMULTIPLEX:CAT_FASTQ":
cat: $(cat --version | head -1 | awk '{print $NF}')
END_VERSIONS