In the fastq_validator script we need to remove previously existing fastq.STATUS.tsv files. Now if you run the pipeline and one samples fails fastq_validator and ends up in the fastq.failed.tsv it will remain there forever. When you fix the fastq files and rerun the pipeline with -resume, the old fastq.failed.tsv file does not get overwritten or deleted in the publish directory, and will now show up in both the fastq.failed.tsv and fastq.passed.tsv files
|
echo -e "!{sampleName}\t${VALIDATED}" > !{sampleName}.check.${STATUS}.tsv |
In the fastq_validator script we need to remove previously existing fastq.STATUS.tsv files. Now if you run the pipeline and one samples fails fastq_validator and ends up in the fastq.failed.tsv it will remain there forever. When you fix the fastq files and rerun the pipeline with -resume, the old fastq.failed.tsv file does not get overwritten or deleted in the publish directory, and will now show up in both the fastq.failed.tsv and fastq.passed.tsv files
MAGMA/modules/fastq_utils/validator.nf
Line 31 in ab99b49