You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am having an issue where a my analysis is proceeding normally, then a crash happens which terminates the process. I am working with a large methylation dataset from a whole-genome bisulfite experiment, so have something like 10 million CpGs over 40 samples. The first "unite" function I tried worked fine,
but since I want to utilize two different filtering steps I used the 'reorganize' function and tried to unite again. Upon doing this, I received this recursive error and the process crashed.
I only utilized ~50% of my allocated memory, so I do not think this is the issue. I previously ran into a segfault error using methylkit's "as" command to extract methylbase data to a matrix. I had to use methylation.matrix <- methylKit:::fread.gzipped(methFrame.total@dbpath, stringsAsFactors = FALSE, data.table = FALSE,skipDecompress=FALSE)
to resolve that issue and avoid the segfault error. Is this issue arising from something similar? Thanks for your help.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue. Unfortunately, these kinds of errors are rather hard to debug without the actual data at hand. Is this error actually reproducible and happens repeatedly? Would you be able to generate a minimal, reproducible example? Also, are you running the latest package versions of methylKit and data.table?
Related to the fix of your previous error, it seems that the use of data.table objects is causing these segfaults.
From what I read online, one reoccurring solution was to limit the number of threads using setDTthreads. Maybe you could test if this fixes the problem?
Hi @alexg9010, this error does occur consistently on the unite step, but unfortunately I wasn't able to create a feasible reproducible example not involving a huge data set. I have been running these large computations on my university's computing cluster, and it seems the only solution was bringing it to my local machine and letting it chug along for a while. Because of this, I'm guessing that the issue is due to whatever version of R, data.table, and methylKit that our cluster is running. Just for the reference of anyone finding this thread, here are the software versions. R version 4.2.1methylKit version 1.22.0data.table version 1.14.2 Running on CentOS Linux 7 kernel 3.10.0-1160.36.2.el7.x86_64
Hi, I am having an issue where a my analysis is proceeding normally, then a crash happens which terminates the process. I am working with a large methylation dataset from a whole-genome bisulfite experiment, so have something like 10 million CpGs over 40 samples. The first "unite" function I tried worked fine,
but since I want to utilize two different filtering steps I used the 'reorganize' function and tried to unite again. Upon doing this, I received this recursive error and the process crashed.
I only utilized ~50% of my allocated memory, so I do not think this is the issue. I previously ran into a segfault error using methylkit's "as" command to extract methylbase data to a matrix. I had to use
methylation.matrix <- methylKit:::fread.gzipped(methFrame.total@dbpath, stringsAsFactors = FALSE, data.table = FALSE,skipDecompress=FALSE)
to resolve that issue and avoid the segfault error. Is this issue arising from something similar? Thanks for your help.
The text was updated successfully, but these errors were encountered: