Even though we have specified reverse explicitly for all samples in the samplesheet the following process is still run to create the Salmon index in order to subsample the reads to infer the strandedness:
[3c/a91c08] process > NFCORE_RNASEQ:RNASEQ:FASTQ_SUBSAMPLE_FQ_SALMON:SALMON_INDEX (genome.transcripts.fa) [100%] 1 of 1, cached: 1 ✔
If you have no intention of running pseudo-alignment, for now, the easiest workaround is to provide a dummy path that exists to --salmon_index /my/random/existing/folder/ as this won't actually be used or validated elsewhere by the pipeline and will save creating the index.
Description of the bug
Even though we have specified
reverse
explicitly for all samples in the samplesheet the following process is still run to create the Salmon index in order to subsample the reads to infer the strandedness:This process shouldn't be run, however, it is being triggered since this logic evaluates to
true
: https://github.com/nf-core/rnaseq/blob/6e1e448f535ccf34d11cc691bb241cfd6e60a647/workflows/rnaseq.nf#L239We need to find a way to add to that logic somehow to also check that these channels are empty: https://github.com/nf-core/rnaseq/blob/6e1e448f535ccf34d11cc691bb241cfd6e60a647/workflows/rnaseq.nf#L234
If you have no intention of running pseudo-alignment, for now, the easiest workaround is to provide a dummy path that exists to
--salmon_index /my/random/existing/folder/
as this won't actually be used or validated elsewhere by the pipeline and will save creating the index.