Skip to content

Commit 8def328

Browse files
authored
Merge pull request #1382 from nf-core/rnaseq_propro_trimfail_fix
Slight fixes for rnaseq preprocessing
2 parents 087a3a7 + 5703690 commit 8def328

File tree

4 files changed

+4
-21
lines changed

4 files changed

+4
-21
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Special thanks to the following for their contributions to the release:
1414
- [PR #1374](https://github.com/nf-core/rnaseq/pull/1374) - Bump pipeline version to 3.16.0dev
1515
- [PR #1380](https://github.com/nf-core/rnaseq/pull/1380) - Fix issues with R modules changing sample names
1616
- [PR #1381](https://github.com/nf-core/rnaseq/pull/1381) - Update all modules following massive conda usage update in nf-core modules
17+
- [PR #1382](https://github.com/nf-core/rnaseq/pull/1381) - Slight fixes for rnaseq preprocessing
1718

1819
## [[3.15.0](https://github.com/nf-core/rnaseq/releases/tag/3.15.0)] - 2024-09-04
1920

modules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325
},
326326
"fastq_qc_trim_filter_setstrandedness": {
327327
"branch": "master",
328-
"git_sha": "8c47be6a114b82a6e6d2f5320b3b5c67579956c0",
328+
"git_sha": "ee3b8b84da02320fff5f3f2dc1d6f9b72d7cd5af",
329329
"installed_by": ["subworkflows"]
330330
},
331331
"fastq_subsample_fq_salmon": {

subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/main.nf

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workflows/rnaseq/main.nf

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -167,25 +167,6 @@ workflow RNASEQ {
167167
meta, num_reads ->
168168
return [ meta.id, num_reads > params.min_trimmed_reads.toFloat() ]
169169
}
170-
//
171-
// Get list of samples that failed trimming threshold for MultiQC report
172-
//
173-
ch_trim_read_count
174-
.map {
175-
meta, num_reads ->
176-
if (num_reads <= params.min_trimmed_reads.toFloat()) {
177-
return [ "$meta.id\t$num_reads" ]
178-
}
179-
}
180-
.collect()
181-
.map {
182-
tsv_data ->
183-
def header = ["Sample", "Reads after trimming"]
184-
sample_status_header_multiqc.text + multiqcTsvFromList(tsv_data, header)
185-
}
186-
.set { ch_fail_trimming_multiqc }
187-
188-
ch_multiqc_files = ch_multiqc_files.mix(ch_fail_trimming_multiqc.collectFile(name: 'fail_trimmed_samples_mqc.tsv'))
189170

190171
//
191172
// SUBWORKFLOW: Alignment with STAR and gene/transcript quantification with Salmon

0 commit comments

Comments
 (0)