Skip to content

Commit 4fb383d

Browse files
author
Zachary Foster
committed
use sequera containers for download_assemblies
1 parent cb316ff commit 4fb383d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

conf/modules.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,8 @@ process {
389389
}
390390

391391
withName: 'MAIN_REPORT.*' {
392+
// Logs indicate this process can some time use a large amount of swap for an unknown reason, so this prevents that
393+
containerOptions = { workflow.containerEngine == 'singularity' ? '' : "--memory-swap ${task.memory.mega.intValue()}m" }
392394
publishDir = [
393395
path: { "${params.outdir}/reports" },
394396
mode: params.publish_dir_mode,

modules/local/download_assemblies/main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ process DOWNLOAD_ASSEMBLIES {
44

55
conda "conda-forge::ncbi-datasets-cli=15.11.0 bioconda::samtools=1.18 conda-forge::unzip=6.0"
66
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
7-
'quay.io/nf-core/ncbi-datasets-cli:0.1':
8-
'quay.io/nf-core/ncbi-datasets-cli:0.1' }"
7+
'community.wave.seqera.io/library/samtools_ncbi-datasets-cli_unzip:155f739985f03f20':
8+
'community.wave.seqera.io/library/samtools_ncbi-datasets-cli_unzip:155f739985f03f20' }"
99

1010
input:
1111
tuple val(ref_meta), val(id)

0 commit comments

Comments
 (0)