BIMSBbioinfo / pigx_rnaseq

Bulk RNA-seq Data Processing, Quality Control, and Downstream Analysis Pipeline
GNU General Public License v3.0
20 stars 11 forks source link

File names ending in .fq.gz crash trim_galore rule #71

Closed Nicolai-vKuegelgen closed 4 years ago

Nicolai-vKuegelgen commented 4 years ago

If fastq files are name filename.fq.gz (instead of filename.fastq.gz) then trim_galore rule fails, because the functions that determine new file names for renaming (via mv) are hardcoded to replace 'fastq.gz' with '_trimmed.fastq.gz'. However, trim_galore will only insert the '_trimmed' part into the name and leave the file ending intact.