From 5436346529fb56c828d64fbefd957c7939ed9f38 Mon Sep 17 00:00:00 2001 From: Matthieu Muffato Date: Sat, 8 Jun 2024 10:52:49 +0000 Subject: [PATCH 1/2] blastn needs a bit more memory --- conf/base.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/base.config b/conf/base.config index 65058d5e..68047b46 100644 --- a/conf/base.config +++ b/conf/base.config @@ -106,7 +106,7 @@ process { withName: "BLAST_BLASTN" { cpus = { check_max( 24 * task.attempt, 'cpus' ) } - memory = { check_max( 100.MB * task.attempt, 'memory' ) } + memory = { check_max( 1.GB * task.attempt, 'memory' ) } time = { check_max( 12.h * task.attempt, 'time' ) } } From 413a84dd3f6e11ebbd42ac404beba6a9f14c39d3 Mon Sep 17 00:00:00 2001 From: Matthieu Muffato Date: Sat, 8 Jun 2024 11:31:16 +0000 Subject: [PATCH 2/2] bugfix: this should be a megablast --- conf/modules.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/modules.config b/conf/modules.config index 003d622a..430fc20d 100644 --- a/conf/modules.config +++ b/conf/modules.config @@ -110,7 +110,7 @@ process { } withName: "BLAST_BLASTN" { - ext.args = "-outfmt '6 qseqid staxids bitscore std' -max_target_seqs 10 -max_hsps 1 -evalue 1.0e-10 -lcase_masking -dust '20 64 1'" + ext.args = "-task megablast -outfmt '6 qseqid staxids bitscore std' -max_target_seqs 10 -max_hsps 1 -evalue 1.0e-10 -lcase_masking -dust '20 64 1'" } withName: "CUSTOM_DUMPSOFTWAREVERSIONS" {