I am trying to count the peaks based on CpG island. first I imported the ed file for CpG island and run the dba.count on it. I get the error of Error in mcfork() : unable to fork, possible reason: Cannot allocate memory.
am running it on cluster and basically should not get memory issue, any idea on that?
library(rtracklayer) CpG_sites_import <- import("GRCh38_fullChr_CpGSites.bed", format="bed") marks_obj_CpG_island <- dba.count(marks_peaks, peaks=CpG_sites_import)