YuLab-SMU / ChIPseeker

:dart: ChIP peak Annotation, Comparison and Visualization
https://onlinelibrary.wiley.com/share/author/GYJGUBYCTRMYJFN2JFZZ?target=10.1002/cpz1.585
219 stars 74 forks source link

annotatePeak using multiple cores? #229

Open kelly-sovacool opened 7 months ago

kelly-sovacool commented 7 months ago

When running annotatePeak() on an HPC, the process used more cores than I had allocated and was thus killed by the job scheduler. I noticed that you added ncpus/mc.cores arguments to various functions (https://github.com/YuLab-SMU/ChIPseeker/issues/110), but not to annotatePeak(). Does annotatePeak() call any functions that use multiple cores? If so, can you add this option to annotatePeak() and propagate it to those functions so this can work on HPCs?