Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slight fixes for rnaseq preprocessing #1382

Merged
merged 6 commits into from
Sep 16, 2024
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
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
Loading