Skip to content

Commit

Permalink
Store UNTAR output in sample data/ subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterius committed Dec 20, 2023
1 parent 9766772 commit 71b2d5f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,15 @@ process {
]
}

// store sample-specifc results in the per-sample subfolder
// Store sample-specific results in per-sample subfolders
withName: 'UNTAR_SPACERANGER_INPUT|UNTAR_DOWNSTREAM_INPUT' {
publishDir = [
path: { "${params.outdir}/${meta.id}/data/untar" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: FASTQC {
publishDir = [
path: { "${params.outdir}/${meta.id}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" },
Expand Down

0 comments on commit 71b2d5f

Please sign in to comment.