Skip to content

Commit addb735

Browse files
committed
Merge branch 'dev' into harmonize_new_for_multiqc
2 parents d858577 + c1809d1 commit addb735

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
Special thanks to the following for their contributions to the release:
1111

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

112114
### Parameters

workflows/rnaseq/main.nf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ workflow RNASEQ {
128128
// Run RNA-seq FASTQ preprocessing subworkflow
129129
//
130130

131+
// The subworkflow only has to do Salmon indexing if it discovers 'auto'
132+
// samples, and if we haven't already made one elsewhere
133+
salmon_index_available = params.salmon_index || (!params.skip_pseudo_alignment && params.pseudo_aligner == 'salmon')
134+
131135
FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS (
132136
ch_fastq,
133137
ch_fasta,
@@ -141,7 +145,7 @@ workflow RNASEQ {
141145
params.skip_fastqc || params.skip_qc,
142146
params.skip_trimming,
143147
params.skip_umi_extract,
144-
!params.salmon_index && params.pseudo_aligner == 'salmon' && !params.skip_pseudo_alignment,
148+
!salmon_index_available,
145149
!params.sortmerna_index && params.remove_ribo_rna,
146150
params.trimmer,
147151
params.min_trimmed_reads,

0 commit comments

Comments
 (0)