Skip to content

Commit 2344f27

Browse files
committed
Move ANNOTATE_BOOLEAN_PEAKS under skip_peak_annotation
1 parent 6601012 commit 2344f27

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

conf/modules.config

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -581,20 +581,6 @@ if (!params.skip_peak_annotation) {
581581
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
582582
]
583583
}
584-
585-
withName: 'ANNOTATE_BOOLEAN_PEAKS' {
586-
ext.prefix = { "${meta.id}_peaks" }
587-
publishDir = [
588-
path: { [
589-
"${params.outdir}/${params.aligner}/mergedLibrary/macs2",
590-
params.narrow_peak? '/narrowPeak' : '/broadPeak',
591-
'/consensus'
592-
].join('') },
593-
mode: params.publish_dir_mode,
594-
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
595-
]
596-
597-
}
598584
}
599585

600586
if (!params.skip_peak_qc) {
@@ -673,6 +659,18 @@ if (!params.skip_consensus_peaks) {
673659
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
674660
]
675661
}
662+
withName: 'ANNOTATE_BOOLEAN_PEAKS' {
663+
ext.prefix = { "${meta.id}_peaks" }
664+
publishDir = [
665+
path: { [
666+
"${params.outdir}/${params.aligner}/mergedLibrary/macs2",
667+
params.narrow_peak? '/narrowPeak' : '/broadPeak',
668+
'/consensus'
669+
].join('') },
670+
mode: params.publish_dir_mode,
671+
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
672+
]
673+
}
676674
}
677675
}
678676

0 commit comments

Comments
 (0)