Is there a way to speed up the offTargetAnalysis() call by not trying to find out the restriction enzyme cut sites ?
- If Yes , then how ?
I have tried to enable parallelization by enable.multicore = TRUE, n.cores.max = 5. When I run my call I can see from the taskmanager that only 1 CPU is being used to 100%. Is there a way I can confirm that multiprocessing is happening for my offTargetAnalysis call?
My current call looks something like this
res = offTargetAnalysis(inputFilePath = temp_gRNA,
findgRNAs = FALSE,
findgRNAsWithREcutOnly = FALSE,
findPairedgRNAOnly = FALSE,
chromToSearch = "chr1",
outputDir = "/crisprseek_output_dir",
overwrite = TRUE,
gRNAoutputName = "temp_guide_rna_scores" ,
enable.multicore = TRUE,
n.cores.max = 5,
BSgenomeName = my_BSGenome_object,
txdb = txdb,
scoring.method = "CFDscore",
outputUniqueREs = FALSE)
Thanks a lot Julie Zhu . I have used "chr1" just for this post. I am actually searching in the whole genome. Also, as you had suggested, after updating to the latest version 1.30.0 I am able to see that my programs are using the cores i am allocating.