diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf index e41f42a783accb39b3cda5fd36833acf7556cb6d..5c68c00854de4368859ff0222c6e5d54e19c2542 100644 --- a/workflow/rna-seq.nf +++ b/workflow/rna-seq.nf @@ -570,8 +570,8 @@ process fastqc { # run fastqc echo -e "LOG: running fastq on raw fastqs" >> ${repRID}.fastqc.log - fastqcErrorOut=0 - fastqc *.fastq.gz -o . &> fastqc.out || fastqcErrorOut=\$(cat fastqc.out | grep -c 'Failed to process file') + fastqc *.fastq.gz -o . &> fastqc.out || true + fastqcErrorOut=\$(cat fastqc.out | grep -c 'Failed to process file') || fastqcErrorOut=0 fastqFileError=false fastqFileError_details="" if [ "\${fastqcErrorOut}" -ne "0" ]