Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tophat - Error: gtf_to_fasta returned an error. papori Bioinformatics 8 09-03-2014 02:16 PM
Tophat Error: Error: segment-based junction search failed with err =-6 sjnewhouse RNA Sequencing 8 03-19-2013 04:14 AM
Tophat error ECHo Bioinformatics 2 03-30-2011 01:13 AM
tophat error muzz56 Bioinformatics 0 02-24-2011 10:43 AM
tophat error nunu_ping RNA Sequencing 0 01-11-2011 12:34 AM

Thread Tools
Old 11-09-2009, 09:04 AM   #1
Junior Member
Location: seattle

Join Date: Feb 2009
Posts: 4
Default Alloc error in Tophat

Hello All,

I have been running tophat on Solexa RNAseq data. A few times, tophat crashes for certain lane data with the following error:

Found 0 potential split-segment junctions
Indexing extensions in tophat_s3/tmp//left_kept_reads_missing.fq
Total extensions: 132496606
Looking for junctions by island end pairings
Adding hits from segment file 0 to coverage map
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc

Is this an out of memory error? I am inclined to think so but wanted to check if somebody has come across this problem before and it was not due to memory allocation. I am working with a small memory size, 4 GB and this has happened maybe in 5% of all my tophat runs.

Looking at the logs, the command being run when this happens is:

/usr/local/bin/segment_juncs --fastq --min-anchor 8 --splice-mismatches 0 --min-report-intron 50 --max-report-intron 500000 --min-isoform-fraction 0.0 --output-dir tophat_s3/ --max-multihits 40 --segment-length 25 --segment-mismatches 2 --min-closure-exon 100 --min-closure-intron 50 --max-closure-intron 5000 --min-coverage-intron 50 --max-coverage-intron 20000 --min-segment-intron 50 --max-segment-intron 500000 --no-closure-search --no-microexon-search --ium-reads tophat_s3/tmp//left_kept_reads_missing.fq /home/solexa/bowtie/indexes/hg18andsplice.fa tophat_s3/tmp//segment.juncs tophat_s3/left_kept_reads.fq tophat_s3/tmp//left_kept_reads.bwtout

Thanks in advance for your help.
spb2003 is offline   Reply With Quote
Old 11-09-2009, 09:47 AM   #2
Cole Trapnell
Senior Member
Location: Boston, MA

Join Date: Nov 2008
Posts: 212

Yes, this is an out of memory error, and the error is occuring duing one of TopHat's more memory intensive phases (assuming you are using reads shorter than 75bp). Do you have access to a larger memory machine?
Cole Trapnell is offline   Reply With Quote
Old 11-09-2009, 01:03 PM   #3
Junior Member
Location: seattle

Join Date: Feb 2009
Posts: 4

Thanks for the reply. I was going to add memory to my machine soon. I think now is a good time.
spb2003 is offline   Reply With Quote

bad_alloc, tophat

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 10:50 AM.

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