Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error reading files MEDIPS Jluis Bioinformatics 0 05-17-2012 06:10 AM
a question about Saturation analysis in MEDIPS lei Bioinformatics 3 05-09-2011 12:28 PM

Thread Tools
Old 01-28-2016, 09:00 AM   #1
Junior Member
Location: columbia, missouri

Join Date: Oct 2015
Posts: 7
Default MEDIPS by Lukas Chavez in R

I'm running a few quality controls using the most up to date MEDIPS package on my MacBook Air OS X El Capitan with 4GB of memory. I'm able to run the other quality controls: saturation analysis and sequence pattern coverage nicely. However this is the error I receive after running a CpG enrichment check. The file I ran it on is around 3GB and I only selected chr1:

er = MEDIPS.CpGenrich(file=file,BSgenome=BSgenome, =, extend = extend,uniq = uniq)
Reading bam alignment HCB3_45Low_merged_unique.bam
Selecting chr1
Total number of imported short reads: 3214352
Extending reads...
Creating GRange Object...
Keep at most one 1 read mapping to the same genomic location.
Number of remaining reads: 3211326
Loading chromosome lengths for BSgenome.Hsapiens.UCSC.hg19...
Calculating CpG density for given regions...

*** caught segfault ***
address 0x7fff4c68f380, cause 'memory not mapped'

1: .Call(.NAME, ..., PACKAGE = PACKAGE)
2: .Call2("new_CHARACTER_from_XStringSet", x, xs_dec_lkup(x), PACKAGE = "Biostrings")
3: .local(x, ...)
4: as.character(ans)
5: as.character(ans)
6: .local(x, ...)
7: getSeq(dataset, names = space(x), start = start(x), end = end(x), as.character = TRUE)
8: getSeq(dataset, names = space(x), start = start(x), end = end(x), as.character = TRUE)

I haven't found a solid answer online, but is this R's way of telling me I ran out of memory or a bug with Biostrings? I've updated Biostings prior to running this.

Let me know what you think. Im very new to R programming, so simplifying would be appreciated.

ajsn6c is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 08:24 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO