Skip to content

Commit

Permalink
Merge pull request #155 from CCBR/fix-sicer
Browse files Browse the repository at this point in the history
fix: use islands-summary output from sicer
  • Loading branch information
kelly-sovacool authored Nov 21, 2023
2 parents 330418d + b6d9ddb commit 1bc3c7f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- Input normalized profile plots
- Protein-coding-only versions of plots
- Ensure sample IDs are sorted (#150)
- Fixed a bug where the wrong SICER output file was used for downstream analyses. (#155)

## CHAMPAGNE 0.2.1

Expand Down
4 changes: 2 additions & 2 deletions modules/local/peaks.nf
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ process SICER {
tuple val(meta), path(chip), path(input), val(fraglen), val(genome_frac)

output:
tuple val(meta), path("*island.bed"), val("${task.process.tokenize(':')[-1].toLowerCase()}"), emit: peak
//tuple path("*.scoreisland"), path("*normalized.wig"), path("*islands-summary")
tuple val(meta), path("*islands-summary"), val("${task.process.tokenize(':')[-1].toLowerCase()}"), emit: peak
tuple path("*island.bed"), path("*.scoreisland"), path("*normalized.wig"), emit: sicer

script:
"""
Expand Down
3 changes: 2 additions & 1 deletion subworkflows/local/peaks.nf
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ workflow CALL_PEAKS {
ch_peaks = ch_peaks.mix(MACS_NARROW.out.peak)
}
if (params.run.sicer) {
ch_sicer | SICER | CONVERT_SICER
ch_sicer | SICER
SICER.out.peak | CONVERT_SICER
ch_peaks = ch_peaks.mix(CONVERT_SICER.out.peak)
}
if (params.run.gem) {
Expand Down

0 comments on commit 1bc3c7f

Please sign in to comment.