From 99bf6b9c58b0962f9bc90aa0b575b2940b33cb07 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Tue, 8 Apr 2025 18:59:48 +0300 Subject: refactor: Explicity define no of cores for rqtl2 computation. --- scripts/rqtl2_wrapper.R | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/rqtl2_wrapper.R b/scripts/rqtl2_wrapper.R index 91c1dd3..af13efa 100644 --- a/scripts/rqtl2_wrapper.R +++ b/scripts/rqtl2_wrapper.R @@ -32,6 +32,8 @@ NO_OF_CORES <- opt$cores SCAN_METHOD <- opt$method NO_OF_PERMUTATION <- opt$nperm +NO_OF_CORES <- 20 + # Validate input and output file paths validate_file_paths <- function(opt) { if (is.null(opt$directory) || !dir.exists(opt$directory)) { -- cgit 1.4.1