jsh58 / DMRfinder

Identifying differentially methylated regions from MethylC-seq (bisulfite-sequencing) data
MIT License
26 stars 8 forks source link

Parallel computing for DMR #14

Open Kennyluo4 opened 2 years ago

Kennyluo4 commented 2 years ago

Hello, Is there a way that I can use multiple cores to run the findDMRs.r? The DSS uses BPPARAM to run on multiple cores, but it's not included in the DMRfinder. My WGBS data is very large and it took very long time to run the DMR calling. I have to manually edit the script to run it. Hope that an argv for setting cpu cores can be added in the future. mParam = MulticoreParam(workers=8, progressbar=TRUE) dml <- DMLtest(bsdata, group1=samples[[ i ]], group2=samples[[ j ]], BPPARAM=mParam) Regards Ziliang