File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,10 @@ workflow RNASEQ {
126126 // Run RNA-seq FASTQ preprocessing subworkflow
127127 //
128128
129+ // The subworkflow only has to do Salmon indexing if it discovers 'auto'
130+ // samples, and if we haven't already made one elsewhere
131+ salmon_index_available = params. salmon_index || (! params. skip_pseudo_alignment && params. pseudo_aligner == ' salmon' )
132+
129133 FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS (
130134 ch_fastq,
131135 ch_fasta,
@@ -139,7 +143,7 @@ workflow RNASEQ {
139143 params. skip_fastqc || params. skip_qc,
140144 params. skip_trimming,
141145 params. skip_umi_extract,
142- ! params . salmon_index && params . pseudo_aligner == ' salmon ' && ! params . skip_pseudo_alignment ,
146+ ! salmon_index_available ,
143147 ! params. sortmerna_index && params. remove_ribo_rna,
144148 params. trimmer,
145149 params. min_trimmed_reads,
You can’t perform that action at this time.
0 commit comments