chromVAR icon indicating copy to clipboard operation
chromVAR copied to clipboard

Question: Where is register(MulticoreParam(8)) being used

Open stephenwilliams22 opened this issue 5 years ago • 1 comments

I was wondering where in chromVAR parallel processing was being used. In the vignette it is stated to set

library(BiocParallel)
register(MulticoreParam(8))

but in digging through the code I can really see where this is being utilized. My thought would be to use it in some of the processing of .bam files but i'm not seeing anything in get_counts_from_bams. Would you mind expanding how parallel processing is being used in chromVAR?

Thanks

stephenwilliams22 avatar Nov 05 '18 21:11 stephenwilliams22

It is used in a variety of places...search for 'bplapply' in repo. It is used in reading in bam files by RG (but not currently in reading in separate bam files) and in the main compute_deviations function.

AliciaSchep avatar Nov 21 '18 06:11 AliciaSchep