Skip to content

Commit

Permalink
Re-order module config for clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterius committed Jan 3, 2024
1 parent fa9f7aa commit 7225543
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@ process {
]
}

// Store sample-specific results in per-sample subdirectories
withName: 'UNTAR_SPACERANGER_INPUT|UNTAR_DOWNSTREAM_INPUT' {
// Optionally save extracted Space Ranger reference archive
withName: 'SPACERANGER_UNTAR_REFERENCE' {
publishDir = [
enabled: params.save_untar_output,
path: { "${params.outdir}/${meta.id}/data/untar" },
enabled: params.spaceranger_save_reference,
path: { "${params.outdir}/reference" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

// Optionally save extracted Space Ranger reference archive
withName: 'SPACERANGER_UNTAR_REFERENCE' {
// Store sample-specific results in per-sample subdirectories
withName: 'UNTAR_SPACERANGER_INPUT|UNTAR_DOWNSTREAM_INPUT' {
publishDir = [
enabled: params.spaceranger_save_reference,
path: { "${params.outdir}/reference" },
enabled: params.save_untar_output,
path: { "${params.outdir}/${meta.id}/data/untar" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
Expand All @@ -70,7 +70,6 @@ process {
]
}

// Store reports in sample-specific subdirectories
withName: 'ST_READ_DATA|ST_QC_AND_NORMALISATION|ST_CLUSTERING|ST_SPATIAL_DE' {
publishDir = [
[
Expand Down

0 comments on commit 7225543

Please sign in to comment.