Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### `Fixed`

### `Changed`

- [#136](https://github.com/nf-core/nanostring/pull/136) - Replaced `NORMALIZE` and `QUALITY_CONTROL` for its modules.

### `Dependencies`

| Dependency | Old version | New version |
Expand Down
19 changes: 0 additions & 19 deletions subworkflows/local/normalize/main.nf

This file was deleted.

31 changes: 0 additions & 31 deletions subworkflows/local/normalize/tests/main.nf.test

This file was deleted.

31 changes: 0 additions & 31 deletions subworkflows/local/normalize/tests/main.nf.test.snap

This file was deleted.

18 changes: 0 additions & 18 deletions subworkflows/local/quality_control/main.nf

This file was deleted.

36 changes: 0 additions & 36 deletions subworkflows/local/quality_control/tests/main.nf.test

This file was deleted.

38 changes: 0 additions & 38 deletions subworkflows/local/quality_control/tests/main.nf.test.snap

This file was deleted.

20 changes: 11 additions & 9 deletions workflows/nanostring.nf
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ ch_heatmap_genes_to_filter = params.heatmap_genes_to_filter ? Channel.fromPat
// SUBWORKFLOWS: Consisting of a mix of local and nf-core/modules
//
include { methodsDescriptionText } from '../subworkflows/local/utils_nfcore_nanostring_pipeline'
include { QUALITY_CONTROL } from '../subworkflows/local/quality_control'
include { NORMALIZE } from '../subworkflows/local/normalize'
include { COMPUTE_GENE_SCORES_HEATMAP } from '../subworkflows/local/compute_gene_scores_heatmap'

//
Expand All @@ -36,12 +34,15 @@ include { CREATE_ANNOTATED_TABLES } from '../modules/local/create_annotated_tabl
// MODULE: Installed directly from nf-core/modules
//
include { MULTIQC } from '../modules/nf-core/multiqc/main'
include { NACHO_NORMALIZE } from '../modules/nf-core/nacho/normalize/main'
include { NACHO_QC } from '../modules/nf-core/nacho/qc/main'

include { paramsSummaryMap } from 'plugin/nf-schema'

include { paramsSummaryMultiqc } from '../subworkflows/nf-core/utils_nfcore_pipeline'
include { softwareVersionsToYAML } from '../subworkflows/nf-core/utils_nfcore_pipeline'


/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RUN MAIN WORKFLOW
Expand Down Expand Up @@ -73,23 +74,24 @@ workflow NANOSTRING {
//
// SUBWORKFLOW: Quality control of input files
//
QUALITY_CONTROL (
NACHO_QC (
rcc_files,
samplesheet_path.first()
)
ch_versions = ch_versions.mix(QUALITY_CONTROL.out.versions)
ch_multiqc_files = ch_multiqc_files.mix(QUALITY_CONTROL.out.nacho_qc_multiqc_metrics.collect())
ch_versions = ch_versions.mix(NACHO_QC.out.versions)
nacho_qc_multiqc_metrics = NACHO_QC.out.nacho_qc_png.map{it[1]}.mix(NACHO_QC.out.nacho_qc_txt.map{it[1]})
ch_multiqc_files = ch_multiqc_files.mix(nacho_qc_multiqc_metrics.collect())

//
// SUBWORKFLOW: Normalize data
//
NORMALIZE (
NACHO_NORMALIZE (
rcc_files,
samplesheet_path.first()
)
ch_versions = ch_versions.mix(NORMALIZE.out.versions)
ch_normalized = NORMALIZE.out.normalized_counts
ch_normalized_wo_hk = NORMALIZE.out.normalized_counts_wo_HK
ch_versions = ch_versions.mix(NACHO_NORMALIZE.out.versions)
ch_normalized = NACHO_NORMALIZE.out.normalized_counts
ch_normalized_wo_hk = NACHO_NORMALIZE.out.normalized_counts_wo_HK

//
// MODULE: Annotate normalized counts with metadata from the samplesheet
Expand Down
Loading