Kijac Jelena
08/05/2026, 10:31 AMSUMMARISING RUN PARAMETERS
==========================
Input filename: sample1_trimmed_1.fastq.gz
Trimming mode: paired-end
Trim Galore version: 0.6.10
Cutadapt version: 4.9
Python version: could not detect
Number of cores used for trimming: 8
Quality Phred score cutoff: 20
Quality encoding type selected: ASCII+33
Adapter sequence: 'file:/path/to/adapters.fa' (user defined)
Maximum trimming error rate: 0.1 (default)
Optional adapter 2 sequence (only used for read 2 of paired-end files): 'file:/path/to/adapters2.fa'
Minimum required adapter overlap (stringency): 1 bp
Minimum required sequence length for both reads before a sequence pair gets removed: 20 bp
Running FastQC on the data once trimming has completed
Running FastQC with the following extra arguments: '-t 12'
Output file(s) will be GZIP compressed
Cutadapt seems to be fairly up-to-date (version 4.9). Setting -j 8
Writing final adapter and quality trimmed output to sample1_trimmed_1_trimmed.fq.gz
>>> Now performing quality (cutoff '-q 20') and adapter trimming in a single pass for the adapter sequence: 'file:/path/to/adapters.fa' from file sample1_trimmed_1.fastq.gz <<<
This is cutadapt 4.9 with Python 3.12.8
Command line parameters: -j 8 -e 0.1 -q 20 -O 1 -a file:/path/to/adapters.fa sample1_trimmed_1.fastq.gz
[Errno 2] No such file or directory: '/path/to/adapters.fa'
Cutadapt terminated with exit signal: '256'.
Terminating Trim Galore run, please check error message(s) to get an idea what went wrong...
The adapter file exists and is listed with ls -l command from the work directory of failed task.
Does anyone have any ideas what could be the issue?
Thank you very much for the helpbedik
08/05/2026, 1:58 PM'AGATCGGAAGAGC' for example) and not the string '`file:/path/to/adapters.fa`'Kijac Jelena
08/05/2026, 3:02 PMbedik
08/06/2026, 12:10 AMcutadapt -a "file:adapters.fa;min_overlap=5;noindels"
This bit of code from the manual tells me that you might wanna try putting your file:/path/to/adapters.fa string within double quotes. Try this
cutadapt -j 8 -e 0.1 -q 20 -O 1 -a "file:/path/to/adapters.fa" sample1_trimmed_1.fastq.gzKijac Jelena
08/06/2026, 8:16 AMsingularity.runOptions = "-B /some/path" in the config file) for some reason also doesn't work for me...Thomas Danhorn
08/31/2026, 7:10 PMKijac Jelena
09/02/2026, 10:33 AMThomas Danhorn
09/03/2026, 6:25 AMsingularity (or apptainer), right? (Otherwise the singularity.runOptions would not make sense.) If you want to debug this, you could try to start a container with singularity shell -B /path/to/ /path/to/somecontainer.img and see what ls -l /path/to/adapters.fa gives you. (/path/to/somecontainer.img can be any SIF file, if you ran the pipeline, you probably have some cached somewhere -- if you have NXF_SINGULARITY_CACHEDIR set [or singularity.cacheDir in your config], look there, otherwise in your work directory might have a singularity subdirectory with container files.)