al2na / methylKit

R package for DNA methylation analysis
https://bioconductor.org/packages/release/bioc/html/methylKit.html
210 stars 96 forks source link

tileMethylCounts(mrl_base, win.size=600,step.size=200,cov.bases = 4 #320

Closed yhj-j closed 5 months ago

yhj-j commented 6 months ago

Hello, when I report an error in DMR analysis, how should I solve this problem?

run de analysis for leaf vs Root , context: CHH Received list of locations. Reading file. Reading file. Reading file. Reading file. Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'as.matrix': cannot allocate vector of size 4.3 Gb Calls: tileMethylCounts ... findOverlaps_GNCList -> -> .Call2 -> .handleSimpleError -> h Execution halted Warning message: system call failed: Cannot allocate memory

alexg9010 commented 6 months ago

The error is indicating that your memory/RAM is not sufficient. You could try to run the analysis using methylDB objects, which are stored on disk. Please see sections 2.2, 5.2 and 5.3 of the user guide for more information.

Best, Alex