Skip to content

Commit

Permalink
output cutadapt fastqs to output dir
Browse files Browse the repository at this point in the history
  • Loading branch information
crosenth committed Sep 26, 2024
1 parent e3ad173 commit 7fbef00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ process cutadapt {
tuple val(sampleid), path("${sampleid}_R1_trimmed.fq.gz"), path("${sampleid}_R2_trimmed.fq.gz")
path("counts.csv")

publishDir "${params.output}/cutadapt/${sampleid}/", overwrite: true, mode: 'copy', pattern: '*.{json,tsv,csv}'
publishDir "${params.output}/cutadapt/${sampleid}/", overwrite: true, mode: 'copy'

"""
cutadapt ${cutadapt_params_str} -o ${sampleid}_R1_trimmed.fq.gz -p ${sampleid}_R2_trimmed.fq.gz R1.fq.gz R2.fq.gz --json=${sampleid}.cutadapt.json --report=minimal > ${sampleid}.cutadapt.tsv
Expand Down

0 comments on commit 7fbef00

Please sign in to comment.