Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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 @@ -11,6 +11,10 @@ Initial release of nf-core/nanostring, created with the [nf-core](https://nf-co.

### `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.

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

This file was deleted.

51 changes: 0 additions & 51 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.

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

This file was deleted.

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

This file was deleted.

6 changes: 3 additions & 3 deletions tests/test_samples.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@
]
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.10.3"
"nf-test": "0.9.3",
"nextflow": "25.04.2"
},
"timestamp": "2025-01-27T12:57:15.638133"
"timestamp": "2026-01-05T19:56:33.487873526"
}
}
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)
ch_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(ch_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