Commit 2644e52d authored by Tamara Hodgetts's avatar Tamara Hodgetts
Browse files

branching on new is_control metadata variable

parent f922eb2a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -98,8 +98,8 @@ workflow PREPARE_PEAKCALLING {
        * CHANNEL: Split files based on igg or not
        */
        ch_bam_bai.branch { it ->
            target: it[0].group != "igg"
            control: it[0].group == "igg"
            target: it[0].is_control != 1
            control: it[0].is_control == 1
        }
        .set { ch_bam_bai_split }

+0 −2
Original line number Diff line number Diff line
@@ -389,8 +389,6 @@ workflow CUTANDRUN {
    // dedup_estimated_library_size:], BAM]
    //ch_samtools_bam | view

    ch_samtools_bai | view

    ch_bedgraph = Channel.empty()
    ch_bigwig   = Channel.empty()
    if(params.run_peak_calling) {