Commit 47e00e34 authored by Chris Cheshire's avatar Chris Cheshire
Browse files

Moved bigwig
parent 2c927054
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -748,14 +748,6 @@ workflow CUTANDRUN {
        //SAMTOOLS_CUSTOMVIEW.out.tsv | view
    }

    /*
    * CHANNEL: Remove IgG from bigwig channel
    */
    UCSC_BEDGRAPHTOBIGWIG.out.bigwig
        .filter { it[0].group != "igg" }
        .set { ch_bigwig_no_igg }
    //ch_bigwig_no_igg | view

    if(params.run_reporting) {
        if(params.run_igv) {
            /*
@@ -770,7 +762,7 @@ workflow CUTANDRUN {
            //ch_software_versions = ch_software_versions.mix(IGV_SESSION.out.versions)
        }

        if (params.run_deep_tools) {
        if (params.run_deep_tools && params.run_peak_calling) {
            /*
            * MODULE: Extract max signal from peak beds
            */
@@ -788,6 +780,14 @@ workflow CUTANDRUN {
                .set { ch_peaks_bed_id }
            //ch_peaks_bed_id | view

            /*
            * CHANNEL: Remove IgG from bigwig channel
            */
            UCSC_BEDGRAPHTOBIGWIG.out.bigwig
                .filter { it[0].group != "igg" }
                .set { ch_bigwig_no_igg }
            //ch_bigwig_no_igg | view

            /*
            * CHANNEL: Join beds and bigwigs on id
            */