Closed cchapus closed 7 months ago
Sorry for the slow response. From looking at the cutadapt command, it seems like you only provided the adapter sequence, but not the cutadapt
command line argument specifying what kind of adapter this is. You specify:
cutadapt --cores 8 AGATCGGAAGAGCACACGTCTGAACTCCAGTCA [...]
Instead this should be something like:
cutadapt --cores 8 -a AGATCGGAAGAGCACACGTCTGAACTCCAGTCA [...]
So the adapters
column in your units.tsv
needs to contain the -a
or whatever the correct cutadapt
command line argument is for the type of adapter you have. Also see the link in the adapter trimming configuration instructions of the snakemake workflow catalog help step 3
:
https://snakemake.github.io/snakemake-workflow-catalog/?usage=snakemake-workflows%2Frna-seq-star-deseq2
If it is something different or this somehow doesn't resolve your issue, feel free to reopen or create a new issue.
Hello,
when I'm trying to trim my fastq, after setting "True" to the config file, I'm getting an error.
I'm trying to trace back the error and I've look at the job lists.
It seems the error can be trace back to the rule
cutadapt_pipe
. The rule should copy the fq1 and fq2 to a temporary folderpipe/cutadapt/{sample}
. But the copies failed.The shell command is
cat {input} > {output} 2> {log}
, but ifoutput
needs to be in a non-existant folder (pipe/cutadapt/{sample}
) it can not work.I couldn't found a line in the workflow creating these folders. I tried to change the shell command to
"mkdir -p pipe/cutadapt/{wildcards.sample} && cat {input} > {output} 2> {log}"
, but it's not working and my snakemake knowledge is not good enough.My fix is to run manually beforehand cutadapt on my 256 files and use the workflow without trimming, but I would rather have a working solution.
Regards