nf-core / sarek

Analysis pipeline to detect germline or somatic variants (pre-processing, variant calling and annotation) from WGS / targeted sequencing
https://nf-co.re/sarek
MIT License
407 stars 415 forks source link

[BUG] Cutadapt (trim_galore) issue: ERROR: Running in parallel is not supported on Python 2 #396

Closed raimondsre closed 3 years ago

raimondsre commented 3 years ago

While running sarek with option --trim_fastq i encounter a following error:

ERROR: Running in parallel is not supported on Python 2

The issue could be with singularity, could you suggest a solution?

Steps to reproduce

Steps to reproduce the behaviour:

  1. Command line:
    nextflow run nf-core/sarek \
    --input 1test.tsv \
    --split_fastq 2000000 \
    --tools 'HaploTypeCaller' \
    --skip_qc 'FastQC, MultiQC, bamQC, BCFtools, BaseRecalibrator' \
    --trim_fastq \
    --genome GRCh38 \
    --save_reference \
    --species 'homo_sapiens' \
    -profile singularity 
  2. here is the .command.err file:
    .command.err

Log files

The .nextflow.log file .nextflow.log

System

Nextflow Installation

Container engine

raimondsre commented 3 years ago

I found an answer in sarek slack, but it is extremely slow, so better solution is needed. The solution thus far is to add the following code to custom nextflow.config file, but make sure memory variable is correct:

process {
  withName:TrimGalore {
    cpus = 1
    memory = '64 GB'
    time = '24h'
  }
}