Skip to content

Commit

Permalink
Integrate output of Rose into workflow and disable eHMM
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonHafner committed Jan 9, 2024
1 parent 7b7f492 commit 6aa60a6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion subworkflows/local/peaks.nf
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ workflow PEAKS {
REMOVE_CHR(ch_footprints, [])
ch_footprints_nochr = REMOVE_CHR.out.output

/*
if (params.bam_design) {
ch_bams = Channel.value(file(params.bam_design))
.splitCsv(header: true)
Expand Down Expand Up @@ -101,7 +102,8 @@ workflow PEAKS {
ch_footprints = EHMM.out.all
}

*/

if (params.bam_design2) {
// Parse design file
ch_bams = Channel.value(file(params.bam_design2))
Expand Down Expand Up @@ -139,6 +141,13 @@ workflow PEAKS {
params.ucsc_file
)

// Adapt process output to previous design of ch_footprints
ch_footprints = ROSE.out
.map{meta, bed ->
meta = meta + [id: meta.state + "_enhancers", antibody: "enhancers"]
[meta, bed]
}

}

if (params.blacklist) {
Expand Down

0 comments on commit 6aa60a6

Please sign in to comment.