Skip to content

Commit 122b5a9

Browse files
committed
Enable frugal mode for hpcSPAdes by default
1 parent e220688 commit 122b5a9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/projects/spades/pipeline/spades_pipeline/options_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,8 @@ def add_to_cfg(cfg, bin_home, spades_home, args):
11041104
if args.read_buffer_size:
11051105
cfg["assembly"].__dict__["read_buffer_size"] = args.read_buffer_size
11061106
cfg["assembly"].__dict__["gfa11"] = args.gfa11
1107-
cfg["assembly"].__dict__["frugal"] = args.frugal
1107+
# Default value depends on grid engine : local / non-local
1108+
cfg["assembly"].__dict__["frugal"] = args.frugal if args.frugal else args.grid_engine != "local"
11081109

11091110
# corrector can work only if contigs exist (not only error correction)
11101111
if (not args.only_error_correction) and args.mismatch_corrector:

0 commit comments

Comments
 (0)