Skip to content

Commit 7769799

Browse files
authored
Merge pull request #190 from apeltzer/fix-dedup-bam
Fix dedup bam
2 parents 99c807d + d275fe9 commit 7769799

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

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

1111
* [#186](https://github.com/nf-core/eager/pull/186) - Make FastQC skipping [possible]
1212
/(https://github.com/nf-core/eager/issues/182)
13+
1314
### `Fixed`
1415
* [#172](https://github.com/nf-core/eager/pull/152) - DamageProfiler errors [won't crash entire pipeline anymore](https://github.com/nf-core/eager/issues/171)
16+
* [#174](https://github.com/nf-core/eager/pull/190) - Publish DeDup files [properly](https://github.com/nf-core/eager/issues/183)
1517

1618
### `Dependencies`
1719

main.nf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,8 +908,7 @@ Step 6: DeDup / MarkDuplicates
908908
process dedup{
909909
tag "${bam.baseName}"
910910
publishDir "${params.outdir}/deduplication/dedup", mode: 'copy',
911-
saveAs: {filename -> (filename.endsWith(".hist") || filename.endsWith(".log")) ? "${prefix}/$filename" : "$filename"}
912-
911+
saveAs: {filename -> "${prefix}/$filename"}
913912

914913
when:
915914
!params.skip_deduplication && params.dedupper == 'dedup'

0 commit comments

Comments
 (0)