SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
cufflinks-1.0.3 produces very high FPKM values when compared to cufflinks-0.9.3. Why? pinki999 Bioinformatics 5 06-09-2012 06:48 AM
how --mate-inner-dist and --mate-std-dev affect the tophat mapping result liuxq Bioinformatics 0 11-06-2011 08:53 PM
Dreaded (because unresolved) bad_alloc error Aurelien Mazurie Bioinformatics 2 09-26-2011 08:23 AM
Cufflinks cufflinks v1.0.3 - segmentation fault bias correction chrNT annotations adrian Bioinformatics 0 06-08-2011 01:28 PM
How does inner distances(--mate-inner-dist and --mate-std-dev) work in tophat? Gangcai Bioinformatics 4 06-15-2010 05:53 AM

Reply
 
Thread Tools
Old 01-15-2011, 12:53 PM   #1
DanWebster
Junior Member
 
Location: NCI/NIH

Join Date: Mar 2010
Posts: 3
Default Cufflinks 'std::bad_alloc'

Hello all,

Can anyone suggest a reason for, or potential fix to, Cufflinks quitting with the following error?

terminate called after throwing an instance of 'std::bad_alloc'

I am running Cufflinks 0.9.3 on an Amazon instance of Fedora linux with 7GB of memory (and 500Gb storage). I am analyzing large (Illumina PE 101bp HiSeq) .bam files (>5Gb).

As I am using the Amazon EC2, I can activate another instance with more 'RAM' (up to 32GB), and see if this helps. I will post for others' reference to see if this fixes my problem. If anyone has suggestions though, please post for my reference!

Any other comments are much appreciated.

Thanks,
Dan

Update: After trying a few different things and talking briefly with Adam Roberts (Developer on Cufflinks), it seems like the problem is with the specific binary that I downloaded (linux x86_64) and the specific version of linux I was running (fedora). I was able to fix the problem by running this locally on my mac using the Mac OSX binary. Alternatively, it was suggested to build Cufflinks from source rather than grabbing a binary. Had some trouble installing boost libraries, so for now will just stick with OSX. Note: the same library that is throwing the error before now takes >24 hours on a similar machine as what I was running on Linux.

Last edited by DanWebster; 02-06-2011 at 08:32 PM. Reason: Update
DanWebster is offline   Reply With Quote
Old 01-19-2011, 09:43 AM   #2
mmorley
Junior Member
 
Location: Philadelphia,PA

Join Date: Jul 2009
Posts: 3
Default

Having the same the problem, with no solutions. However our BAM file is 31GB in size. We are running this on a system with 12 cpus and 32GB of RAM.

Any advice would be greatly appreciated.
mmorley is offline   Reply With Quote
Old 03-02-2011, 07:39 AM   #3
Aurelien Mazurie
Member
 
Location: Bozeman, MT

Join Date: Feb 2011
Posts: 15
Default

I got the same error message with a BAM file of about 500 MB on a 4-CPU machines with 12 GB RAM. It is a 64 bits Linux distribution (kernel 2.6.18); I will try to launch the same cufflink job on my Mac to see if it makes a difference.

Aurelien
Aurelien Mazurie is offline   Reply With Quote
Old 07-10-2011, 02:37 AM   #4
pascal
Junior Member
 
Location: Germany

Join Date: Mar 2010
Posts: 9
Default

I compiled cuffdiff from source and still get this error:

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

I am using cufflinks 1.0.3 on Ubuntu 10.10, kernel 2.6.35-30-generic.

Pascal
pascal is offline   Reply With Quote
Old 07-24-2011, 01:38 AM   #5
mauro.pala
Junior Member
 
Location: italy

Join Date: Jun 2011
Posts: 4
Default

Hi all,

I'm having the same problem running cufflinks v1.0.3 on a 64 bit Centos OS, 16Gb of RAM

has anyone solved this?


thanks in advance


M.
mauro.pala is offline   Reply With Quote
Old 07-24-2011, 03:14 AM   #6
pascal
Junior Member
 
Location: Germany

Join Date: Mar 2010
Posts: 9
Default

For me it turned out, that this error message probably occurred due to insufficient memory. I ran the same job on a cluster without any problems. Cuffdiff used over 32GB of ram + some swap.
pascal is offline   Reply With Quote
Old 07-24-2011, 05:43 AM   #7
DZhang
Senior Member
 
Location: East Coast, US

Join Date: Jun 2010
Posts: 177
Default

Hi,

I just finished a project with cufflinks last week (Redhat 64bit with latest Tophat and Cufflinks, 24 cores and 32G memory) without any problem. One way to trouble-shoot is to reduce the read counts and/or split the reference sequences. Usually if memory is the bottleneck, these measures will solve the problem, or at least confirm the root cause.

Thank you,
Douglas
www.contigexpress.com
DZhang is offline   Reply With Quote
Old 03-02-2012, 06:30 AM   #8
Giles
Member
 
Location: Birmingham, Al

Join Date: Feb 2010
Posts: 39
Default sudden std bad alloc

I've been running bedtools on a virtual machine and have used genomeCoverageBed to make bedgraph files for months now. I didn't change anything, and all of a sudden the script throws std bad alloc. How was there enough memory yesterday but not today? Any ideas on how I can troubleshoot? I'm completely at a loss.
Giles is offline   Reply With Quote
Old 11-12-2013, 09:45 AM   #9
tacuberto
Junior Member
 
Location: Chile

Join Date: Nov 2013
Posts: 2
Default

Hi Everyone

I have the same error, but i haven't access to a cluster.
My pc is using UBUNTU 12.04, Newbler 2.3.
It is 4 gb RAM
...i have the error:
"...terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc

Error: An internal error (exit status 134) has occurred in the computation.
Please report this error to your customer support representative."

Any solution?
tacuberto is offline   Reply With Quote
Old 11-12-2013, 10:04 AM   #10
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 6,972
Default

You are most likely running out of memory. 4GB is unfortunately just not enough for many things now.
GenoMax is offline   Reply With Quote
Old 11-12-2013, 10:24 AM   #11
tacuberto
Junior Member
 
Location: Chile

Join Date: Nov 2013
Posts: 2
Default

Quote:
Originally Posted by GenoMax View Post
You are most likely running out of memory. 4GB is unfortunately just not enough for many things now.
Do you know if there is some public server to run the assembly?
tacuberto is offline   Reply With Quote
Old 11-12-2013, 10:34 AM   #12
DZhang
Senior Member
 
Location: East Coast, US

Join Date: Jun 2010
Posts: 177
Default

check here: https://usegalaxy.org/

Thank you,
Douglas
www.contigexpress.com
DZhang is offline   Reply With Quote
Reply

Tags
cufflinks, memory, rnaseq, std::bad_alloc

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 06:35 PM.


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