Skip to content

Commit 451cb05

Browse files
authored
Merge pull request #719 from IdoBar/patch-6
Fix `mapdamage_rescaling` naming of output bam files
2 parents aab003e + 61e471a commit 451cb05

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111

1212
### `Fixed`
1313

14+
- [#719](https://github.com/nf-core/eager/pull/719) - Fix filename for bam output of `mapdamage_rescaling`
1415
- [#707](https://github.com/nf-core/eager/pull/707) - Fix typo in UnifiedGenotyper IndelRealigner command
1516
- Fixed some Java tools not following process memory specifications
1617
- Updated template to nf-core/tools 1.13.2

main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,8 +2009,8 @@ process mapdamage_rescaling {
20092009
def singlestranded = strandedness == "single" ? '--single-stranded' : ''
20102010
def size = params.large_ref ? '-c' : ''
20112011
"""
2012-
mapDamage -i ${bam} -r ${fasta} --rescale --rescale-out ${bam}_rescaled.bam --rescale-length-5p ${params.rescale_length_5p} --rescale-length-3p=${params.rescale_length_3p} ${singlestranded}
2013-
samtools index ${bam}_rescaled.bam ${size}
2012+
mapDamage -i ${bam} -r ${fasta} --rescale --rescale-out ${base}_rescaled.bam --rescale-length-5p ${params.rescale_length_5p} --rescale-length-3p=${params.rescale_length_3p} ${singlestranded}
2013+
samtools index ${base}_rescaled.bam ${size}
20142014
"""
20152015

20162016
}

0 commit comments

Comments
 (0)