Skip to content

Commit

Permalink
Merge pull request #1382 from nf-core/rnaseq_propro_trimfail_fix
Browse files Browse the repository at this point in the history
Slight fixes for rnaseq preprocessing
  • Loading branch information
pinin4fjords authored Sep 16, 2024
2 parents 087a3a7 + 5703690 commit 8def328
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 21 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Special thanks to the following for their contributions to the release:
- [PR #1374](https://github.com/nf-core/rnaseq/pull/1374) - Bump pipeline version to 3.16.0dev
- [PR #1380](https://github.com/nf-core/rnaseq/pull/1380) - Fix issues with R modules changing sample names
- [PR #1381](https://github.com/nf-core/rnaseq/pull/1381) - Update all modules following massive conda usage update in nf-core modules
- [PR #1382](https://github.com/nf-core/rnaseq/pull/1381) - Slight fixes for rnaseq preprocessing

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

Expand Down
2 changes: 1 addition & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
},
"fastq_qc_trim_filter_setstrandedness": {
"branch": "master",
"git_sha": "8c47be6a114b82a6e6d2f5320b3b5c67579956c0",
"git_sha": "ee3b8b84da02320fff5f3f2dc1d6f9b72d7cd5af",
"installed_by": ["subworkflows"]
},
"fastq_subsample_fq_salmon": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 0 additions & 19 deletions workflows/rnaseq/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -167,25 +167,6 @@ workflow RNASEQ {
meta, num_reads ->
return [ meta.id, num_reads > params.min_trimmed_reads.toFloat() ]
}
//
// Get list of samples that failed trimming threshold for MultiQC report
//
ch_trim_read_count
.map {
meta, num_reads ->
if (num_reads <= params.min_trimmed_reads.toFloat()) {
return [ "$meta.id\t$num_reads" ]
}
}
.collect()
.map {
tsv_data ->
def header = ["Sample", "Reads after trimming"]
sample_status_header_multiqc.text + multiqcTsvFromList(tsv_data, header)
}
.set { ch_fail_trimming_multiqc }

ch_multiqc_files = ch_multiqc_files.mix(ch_fail_trimming_multiqc.collectFile(name: 'fail_trimmed_samples_mqc.tsv'))

//
// SUBWORKFLOW: Alignment with STAR and gene/transcript quantification with Salmon
Expand Down

0 comments on commit 8def328

Please sign in to comment.