You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I added this parameter to my pipeline --extra_star_align_args '--runThreadN 35', but it duplicates the parameter in star rather than replacing it. Here is the error I get from the pipeline:
ERROR ~ Error executing process > 'NFCORE_RNASEQ:RNASEQ:ALIGN_STAR:STAR_ALIGN (PG1)'
Caused by:
Process NFCORE_RNASEQ:RNASEQ:ALIGN_STAR:STAR_ALIGN (PG1) terminated with an error exit status (102)
Command executed:
STAR
--genomeDir star
--readFilesIn input1/PG1_trimmed_1_val_1.fq.gz input2/PG1_trimmed_2_val_2.fq.gz
--runThreadN 12
--outFileNamePrefix PG1.
if [ -f PG1.Unmapped.out.mate1 ]; then
mv PG1.Unmapped.out.mate1 PG1.unmapped_1.fastq
gzip PG1.unmapped_1.fastq
fi
if [ -f PG1.Unmapped.out.mate2 ]; then
mv PG1.Unmapped.out.mate2 PG1.unmapped_2.fastq
gzip PG1.unmapped_2.fastq
fi
EXITING: FATAL INPUT ERROR: duplicate parameter "runThreadN" in input "Command-Line"
SOLUTION: keep only one definition of input parameters in each input source
Sep 12 19:54:27 ...... FATAL ERROR, exiting
I did not test it, but could the same thing happen with --extra_salmon_quant_args?
It indeed used to be the case that there was no parameter consolidation, because in my understanding extra arguments should not replace those that are specified in the configuration, but that feature was introduced with #1248 and version 3.15. So it should have worked in your case...
Ah, yes, that behavior is indeed to be expected. It escaped my Friday afternoon brain that the argument in question was for setting the number of cores. Indeed, you need a custom config for this, since that parameter is hardcoded as --runThreadN $task.cpusin the module.
So all CPUs will be utilized that are allotted to the process and to tweak this, you need a custom config. The consolidation will only happen for all the ext.args that are specified in the default config.
Description of the bug
Hi,
I added this parameter to my pipeline --extra_star_align_args '--runThreadN 35', but it duplicates the parameter in star rather than replacing it. Here is the error I get from the pipeline:
ERROR ~ Error executing process > 'NFCORE_RNASEQ:RNASEQ:ALIGN_STAR:STAR_ALIGN (PG1)'
Caused by:
Process
NFCORE_RNASEQ:RNASEQ:ALIGN_STAR:STAR_ALIGN (PG1)
terminated with an error exit status (102)Command executed:
STAR
--genomeDir star
--readFilesIn input1/PG1_trimmed_1_val_1.fq.gz input2/PG1_trimmed_2_val_2.fq.gz
--runThreadN 12
--outFileNamePrefix PG1.
--sjdbGTFfile hBosTaurus.filtered.gtf
--outSAMattrRGline 'ID:PG1' 'SM:PG1'
--quantMode TranscriptomeSAM --twopassMode Basic --outSAMtype BAM Unsorted --readFilesCommand zcat --runRNGseed 0 --outFilterMultimapNmax 20 --alignSJDBoverhangMin 1 --outSAMattributes NH HI AS NM MD --quantTranscriptomeBan Singleend --outSAMstrandField intronMotif --outReadsUnmapped Fastx --runThreadN 35
if [ -f PG1.Unmapped.out.mate1 ]; then
mv PG1.Unmapped.out.mate1 PG1.unmapped_1.fastq
gzip PG1.unmapped_1.fastq
fi
if [ -f PG1.Unmapped.out.mate2 ]; then
mv PG1.Unmapped.out.mate2 PG1.unmapped_2.fastq
gzip PG1.unmapped_2.fastq
fi
cat <<-END_VERSIONS > versions.yml$(echo $ (samtools --version 2>&1) | sed 's/^.samtools //; s/Using.$//')$(echo $ (gawk --version 2>&1) | sed 's/^.GNU Awk //; s/, .$//')
"NFCORE_RNASEQ:RNASEQ:ALIGN_STAR:STAR_ALIGN":
star: $(STAR --version | sed -e "s/STAR_//g")
samtools:
gawk:
END_VERSIONS
Command exit status:
102
Command output:
(empty)
Command error:
EXITING: FATAL INPUT ERROR: duplicate parameter "runThreadN" in input "Command-Line"
SOLUTION: keep only one definition of input parameters in each input source
Sep 12 19:54:27 ...... FATAL ERROR, exiting
I did not test it, but could the same thing happen with --extra_salmon_quant_args?
Thanks for your attention,
Michele
Command used and terminal output
Relevant files
No response
System information
No response
The text was updated successfully, but these errors were encountered: