#!/bin/bash -euo pipefail
printf "%s %s\n" GM24385_0001_RNA_0001_23H5VFLT4_s24_1.fastp.fastq.gz GM24385_0001_RNA_0001_23H5VFLT4_s24_trimmed_1.gz GM24385_0001_RNA_0001_23H5VFLT4_s24_2.fastp.fastq.gz GM24385_0001_RNA_0001_23H5VFLT4_s24_trimmed_2.gz | while read old_name new_name; do
[ -f "${new_name}" ] || ln -s $old_name $new_name
done
fastqc \
--quiet \
--threads 2 \
GM24385_0001_RNA_0001_23H5VFLT4_s24_trimmed_1.gz GM24385_0001_RNA_0001_23H5VFLT4_s24_trimmed_2.gz
cat <<-END_VERSIONS > versions.yml
"NFCORE_RNAFUSION:RNAFUSION:TRIM_WORKFLOW:FASTQC_FOR_FASTP":
fastqc: $( fastqc --version | sed '/FastQC v/!d; s/.*v//' )
END_VERSIONS