Hi all, I am trying to run nextflow on my laptop
nextflow run nf-core/rnaseq \
--input samplesheet.csv \
--genome mm10 \
-profile docker
I am having issues with memory:
Error executing process > 'NFCORE_RNASEQ:RNASEQ:FASTQC_UMITOOLS_TRIMGALORE:FASTQC (KO_3)'
Caused by:
Process requirement exceed available memory -- req: 36 GB; avail: 12.4 GB
Command executed:
[ ! -f KO_3_1.fastq.gz ] && ln -s KO_3_1.fq.gz KO_3_1.fastq.gz
[ ! -f KO_3_2.fastq.gz ] && ln -s KO_3_2.fq.gz KO_3_2.fastq.gz
fastqc --quiet --threads 6 KO_3_1.fastq.gz KO_3_2.fastq.gz
cat <<-END_VERSIONS > versions.yml
"NFCORE_RNASEQ:RNASEQ:FASTQC_UMITOOLS_TRIMGALORE:FASTQC":
fastqc: $( fastqc --version | sed -e "s/FastQC v//g" )
END_VERSIONS
Command exit status:
-
Command output:
(empty)
Work dir:
/mnt/d/mygene/work/2b/06decf838b4cea52d84929d929c65f
Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`
I am not sure how to provide a custom config file using -c. I created a txt file with these features.
process {
withName: FASTQC {
memory = 36.GB
}}
I provided that into the command:
nextflow run nf-core/rnaseq \
--input samplesheet.csv \
--genome mm10 \
-profile docker \
-r 3.5 -c fastqc_config.txt
But it does not work. I am not sure how to solve this issue. I guess there is a problem in the -c configuration but I havent found any examples online to follow. I would appreciate any insights.
Your machine does not have enough memory to run this pipeline with defaults, probably due to the STAR alignment step. Try
--aligner hisat2
instead. For specific help join nf-core Slack https://nf-co.re/join and see the#rnaseq
channel.A word of caution: Better ask for help at the Slack rather than spending time at trying to modify or add configs to nf-core pipelines. That is imho borderline impossible due to the complexity of those pipelines and all the internal checks and validation these pipelines do that are not obvious for the end user.