Closed mpdoane2 closed 1 year ago
Hi @mpdoane2 ,
the conf
folder contains the file base.config
:
singularity {
enabled = true
autoMounts = true
String parameters = ''
if (params.bindDir!='') {
for (a in params.bindDir.split()) {
parameters = "${parameters} -B ${a}"
}
runOptions = parameters.substring(1)
}
if (params.singularityDir!='') {
cacheDir = "${params.singularityDir}"
}
}
process {
withLabel: 'fastqc' { container = 'docker://biocontainers/fastqc:v0.11.9_cv7' }
withLabel: 'adapterRemoval' { container = 'docker://biocontainers/adapterremoval:v2.2.0-1-deb_cv1' }
withLabel: 'obitools' { container = 'quay.io/biocontainers/obitools:1.2.11--py27_1' }
withLabel: 'usearch' { container = 'docker://sunqiangkun/usearch:v1' }
withLabel: 'blast' { container = 'docker://ncbi/blast:2.10.1' }
withLabel: 'lulu' { container = 'docker://index.docker.io/mahsamousavi/lulu:2019' }
withLabel: 'lca_python3' { container = 'docker://python:3.6'}
cache = 'lenient'
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
memory = { check_max( 6.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) }
}
change the time
parameter from 4.h
to something like 10.h
(or more, if you still receive the error), and it should work.
Hi @mpdoane2,
Sorry I missed seeing your enquiry on time. But excellent solution by @Hobbeist (Thanks :) )
Also you can increase cpus and memory in base.config
if you have access to larger computational resources.
I am attempting to run eDNAFlow and am running into this error. The runtime can not exceed 4 hours and appears to stop at that point. You can see from the file % complete for the command that they get to approximately 77% completion and require an addition 1 hour and 8 minutes to complete this step.
Can you please help with this problem? We are not familiar with Nextflow and Singularity (rather we use Snakemake and Docker) and so are at a loss for how to bridge this problem.
Thank you