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

Correct conditional for salmon indexing in preprocessing workflow #1353

Merged
merged 2 commits into from
Aug 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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Special thanks to the following for their contributions to the release:

- [Adam Talbot](https://github.com/adamrtalbot)
- [David Carlson](https://github.com/davidecarlson)
- [Edmund Miller](https://github.com/edmundmiller)
- [Jonathan Manning](https://github.com/pinin4fjords)
- [Laramie Lindsey](https://github.com/laramiellindsey)
Expand Down Expand Up @@ -107,6 +108,7 @@ Thank you to everyone else that has contributed by reporting bugs, enhancements
- [PR #1342](https://github.com/nf-core/rnaseq/pull/1342) - Factor out preprocessing
- [PR #1345](https://github.com/nf-core/rnaseq/pull/1345) - Fix preprocessing call
- [PR #1350](https://github.com/nf-core/rnaseq/pull/1350) - Reduce resource usage for sort process in bedtools/genomecov
- [PR #1353](https://github.com/nf-core/rnaseq/pull/1353) - Correct conditional for salmon indexing in preprocessing workflow

### Parameters

Expand Down
6 changes: 5 additions & 1 deletion workflows/rnaseq/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ workflow RNASEQ {
// Run RNA-seq FASTQ preprocessing subworkflow
//

// The subworkflow only has to do Salmon indexing if it discovers 'auto'
// samples, and if we haven't already made one elsewhere
salmon_index_available = params.salmon_index || (!params.skip_pseudo_alignment && params.pseudo_aligner == 'salmon')

FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS (
ch_fastq,
ch_fasta,
Expand All @@ -139,7 +143,7 @@ workflow RNASEQ {
params.skip_fastqc || params.skip_qc,
params.skip_trimming,
params.skip_umi_extract,
!params.salmon_index && params.pseudo_aligner == 'salmon' && !params.skip_pseudo_alignment,
!salmon_index_available,
!params.sortmerna_index && params.remove_ribo_rna,
params.trimmer,
params.min_trimmed_reads,
Expand Down
Loading