Skip to content

Commit 20a25bf

Browse files
committed
Declare channel before skip to avoid error
1 parent f2eabfd commit 20a25bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workflows/chipseq.nf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,9 @@ workflow CHIPSEQ {
506506
//
507507
// Consensus peaks analysis
508508
//
509-
ch_macs2_consensus_bed_lib = Channel.empty()
509+
ch_macs2_consensus_bed_lib = Channel.empty()
510+
ch_deseq2_pca_multiqc = Channel.empty()
511+
ch_deseq2_clustering_multiqc = Channel.empty()
510512
if (!params.skip_consensus_peaks) {
511513
// Create channel: [ meta , [ peaks ] ]
512514
// Where meta = [ id:antibody, multiple_groups:true/false, replicates_exist:true/false ]
@@ -576,8 +578,6 @@ workflow CHIPSEQ {
576578
ch_subreadfeaturecounts_multiqc = SUBREAD_FEATURECOUNTS.out.summary
577579
ch_versions = ch_versions.mix(SUBREAD_FEATURECOUNTS.out.versions.first())
578580

579-
ch_deseq2_pca_multiqc = Channel.empty()
580-
ch_deseq2_clustering_multiqc = Channel.empty()
581581
if (!params.skip_deseq2_qc) {
582582
DESEQ2_QC (
583583
SUBREAD_FEATURECOUNTS.out.counts,

0 commit comments

Comments
 (0)