about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander_Kabui2025-04-08 18:59:48 +0300
committerAlexander_Kabui2025-04-08 18:59:48 +0300
commit99bf6b9c58b0962f9bc90aa0b575b2940b33cb07 (patch)
tree5a2fda4eb8690df8e4b75cd61a002a6b5ba8c84c
parent5adfd4eefb2e6455f6a0ec3fd3d81e862457f606 (diff)
downloadgenenetwork3-99bf6b9c58b0962f9bc90aa0b575b2940b33cb07.tar.gz
refactor: Explicity define no of cores for rqtl2 computation.
-rw-r--r--scripts/rqtl2_wrapper.R2
1 files changed, 2 insertions, 0 deletions
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)) {