Closed colin893 closed 9 months ago
Someone I know just encountered this issue too. Digging around the code, it seems that the FASTQ_SUBSAMPLE_FQ_SALMON:SALMON_QUANT
process doesn't use the params.extra_salmon_quant_args
and is coded to only be --skipQuant
(in the file conf/modules.config
). To solve this issue on your own, you can supply a custom config using the -c
option to nextflow run
with the following contents.
salmon_quant.config
:
process {
withName: '.*:FASTQ_SUBSAMPLE_FQ_SALMON:SALMON_QUANT' {
ext.args = '--skipQuant --minAssignedFrags 1'
}
}
and then
nextflow run nf-core/rnaseq -c salmon_quant.config ...
I think we may also need to make some changes to assist on this issue, since I came across the same thing in development of the riboseq workflow. Specifically:
Fixed (I believe) in https://github.com/nf-core/rnaseq/pull/1144 and https://github.com/nf-core/rnaseq/pull/1154
Description of the bug
I am using the rnaseq pipeline to analyze some samples of single-cells. While I successively completed the analysis for 2 other experiments, it seems like a particular cell throws an error related to the number of frags : [warning] salmon was only able to assign 3 fragments to transcripts in the index, but the minimum number of required assigned fragments (--minAssignedFrags) was 10. This could be indicative of a mismatch between the reference and sample, or a very bad sample. You can change the --minAssignedFrags parameter to force salmon to quantify with fewer assigned fragments (must have at least 1).
Of course, I tried to give the parameter to the command line : --extra_salmon_quant_args "--minAssignedFrags 1"
However, still get the error and not sure of how to manage this then.
Command used and terminal output
Relevant files
No response
System information
Nextflow version 23.10.0 Docker Exectued on local PC Linux Ubuntu nf-core/rnaseq v3.12.0-g3bec233