#!/bin/bash -euo pipefail
printf "%s %s\n" aih-tih-sc-79f487-R1_B23WHYVLT4_1_1.fastp.fastq.gz aih-tih-sc-79f487-R1_B23WHYVLT4_1_trimmed_1.gz aih-tih-sc-79f487-R1_B23WHYVLT4_1_2.fastp.fastq.gz aih-tih-sc-79f487-R1_B23WHYVLT4_1_trimmed_2.gz | while read old_name new_name; do
[ -f "${new_name}" ] || ln -s $old_name $new_name
done
fastqc \
--quiet \
--threads 2 \
aih-tih-sc-79f487-R1_B23WHYVLT4_1_trimmed_1.gz aih-tih-sc-79f487-R1_B23WHYVLT4_1_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