Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

fix BAMQC output #727

Merged
merged 3 commits into from
Feb 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### `Fixed`
- [#720](https://github.com/SciLifeLab/Sarek/pull/720) - bamQC is now run on the recalibrated bams, and not after MarkDuplicates
- [#726](https://github.com/SciLifeLab/Sarek/pull/726) - Fix Ascat ref file input (one file can't be a set)
- [#727](https://github.com/SciLifeLab/Sarek/pull/727) - bamQC outputs are no longer overwritten (name of dir is now the file instead of sample)

## [2.2.2] - 2018-12-19

Expand Down
8 changes: 4 additions & 4 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ process RunBamQCmapped {
set idPatient, status, idSample, idRun, file(bam) from mappedBamForQC

output:
file(idSample) into bamQCmappedReport
file("${bam.baseName}") into bamQCmappedReport

when: !params.noReports && !params.noBAMQC

Expand All @@ -204,7 +204,7 @@ process RunBamQCmapped {
-nt ${task.cpus} \
-skip-duplicated \
--skip-dup-mode 0 \
-outdir ${idSample} \
-outdir ${bam.baseName} \
-outformat HTML
"""
}
Expand Down Expand Up @@ -459,7 +459,7 @@ process RunBamQCrecalibrated {
set idPatient, status, idSample, file(bam), file(bai) from bamForBamQC

output:
file(idSample) into bamQCrecalibratedReport
file("${bam.baseName}") into bamQCrecalibratedReport

when: !params.noReports && !params.noBAMQC

Expand All @@ -473,7 +473,7 @@ process RunBamQCrecalibrated {
-nt ${task.cpus} \
-skip-duplicated \
--skip-dup-mode 0 \
-outdir ${idSample} \
-outdir ${bam.baseName} \
-outformat HTML
"""
}
Expand Down