@@ -17,8 +17,6 @@ ch_heatmap_genes_to_filter = params.heatmap_genes_to_filter ? Channel.fromPat
1717// SUBWORKFLOWS: Consisting of a mix of local and nf-core/modules
1818//
1919include { methodsDescriptionText } from ' ../subworkflows/local/utils_nfcore_nanostring_pipeline'
20- include { QUALITY_CONTROL } from ' ../subworkflows/local/quality_control'
21- include { NORMALIZE } from ' ../subworkflows/local/normalize'
2220include { COMPUTE_GENE_SCORES_HEATMAP } from ' ../subworkflows/local/compute_gene_scores_heatmap'
2321
2422//
@@ -36,12 +34,15 @@ include { CREATE_ANNOTATED_TABLES } from '../modules/local/create_annotated_tabl
3634// MODULE: Installed directly from nf-core/modules
3735//
3836include { MULTIQC } from ' ../modules/nf-core/multiqc/main'
37+ include { NACHO_NORMALIZE } from ' ../modules/nf-core/nacho/normalize/main'
38+ include { NACHO_QC } from ' ../modules/nf-core/nacho/qc/main'
3939
4040include { paramsSummaryMap } from ' plugin/nf-schema'
4141
4242include { paramsSummaryMultiqc } from ' ../subworkflows/nf-core/utils_nfcore_pipeline'
4343include { softwareVersionsToYAML } from ' ../subworkflows/nf-core/utils_nfcore_pipeline'
4444
45+
4546/*
4647~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4748 RUN MAIN WORKFLOW
@@ -73,23 +74,24 @@ workflow NANOSTRING {
7374 //
7475 // SUBWORKFLOW: Quality control of input files
7576 //
76- QUALITY_CONTROL (
77+ NACHO_QC (
7778 rcc_files,
7879 samplesheet_path. first()
7980 )
80- ch_versions = ch_versions. mix(QUALITY_CONTROL . out. versions)
81- ch_multiqc_files = ch_multiqc_files. mix(QUALITY_CONTROL . out. nacho_qc_multiqc_metrics. collect())
81+ ch_versions = ch_versions. mix(NACHO_QC . out. versions)
82+ nacho_qc_multiqc_metrics = NACHO_QC . out. nacho_qc_png. map{it[1 ]}. mix(NACHO_QC . out. nacho_qc_txt. map{it[1 ]})
83+ ch_multiqc_files = ch_multiqc_files. mix(nacho_qc_multiqc_metrics. collect())
8284
8385 //
8486 // SUBWORKFLOW: Normalize data
8587 //
86- NORMALIZE (
88+ NACHO_NORMALIZE (
8789 rcc_files,
8890 samplesheet_path. first()
8991 )
90- ch_versions = ch_versions. mix(NORMALIZE . out. versions)
91- ch_normalized = NORMALIZE . out. normalized_counts
92- ch_normalized_wo_hk = NORMALIZE . out. normalized_counts_wo_HK
92+ ch_versions = ch_versions. mix(NACHO_NORMALIZE . out. versions)
93+ ch_normalized = NACHO_NORMALIZE . out. normalized_counts
94+ ch_normalized_wo_hk = NACHO_NORMALIZE . out. normalized_counts_wo_HK
9395
9496 //
9597 // MODULE: Annotate normalized counts with metadata from the samplesheet
0 commit comments