Skip to content

Commit 5a255fd

Browse files
authored
Merge pull request #157 from apeltzer/publish_dedup
Adding in publishing dedup log files as well
2 parents 71f0329 + 817b9e0 commit 5a255fd

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88

99
### `Added`
1010

11-
* Clarified `--complexity_filter` flag to be specifically for poly G trimming.
11+
* [#152](https://github.com/nf-core/eager/pull/152) - Clarified `--complexity_filter` flag to be specifically for poly G trimming.
12+
* [#155](https://github.com/nf-core/eager/pull/155) - Added [Dedup log to output folders](https://github.com/nf-core/eager/issues/154)
1213

1314
### `Fixed`
1415

main.nf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,9 @@ Step 6: DeDup / MarkDuplicates
828828

829829
process dedup{
830830
tag "${bam.baseName}"
831-
publishDir "${params.outdir}/deduplication/dedup"
831+
publishDir "${params.outdir}/deduplication/dedup", mode: 'copy',
832+
saveAs: {filename -> (filename.endsWith(".hist") || filename.endsWith(".log")) ? "${prefix}/$filename" : "$filename"}
833+
832834

833835
when:
834836
!params.skip_deduplication && params.dedupper == 'dedup'

0 commit comments

Comments
 (0)