Closed jolespin closed 2 years ago
The parameter --basename
allows you to specify a basename for the output files instead of deriving the name from the input files, for example --basename my_favouriteID
. You could specify the output directory separately with -o
:
-o/--output_dir <DIR> If specified all output will be written to this directory instead of the current
directory. If the directory doesn't exist it will be created for you.
So for example: --basename my_favouriteID -o Fastq/trimmed/my_favouriteID/
.
The output files within that directory will still get renamed according to standard Trim Galore naming conventions (i.e. my_favouriteID_R1_trimming_report.txt
,...,my_favouriteID_R1_val_1.fq.gz
,my_favouriteID_R2_val_2.fq.gz
etc., but you can of you course rename the files once the run has finished.
Thanks, that solved the issue.
I'm trying to get the following directory structure:
Fastq/trimmed/${ID}/trimmed_1.fastq.gz Fastq/trimmed/${ID}/trimmed_2.fastq.gz
or similar.
How can I specify a basename properly?