Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • spb2003
    Junior Member
    • Feb 2009
    • 4

    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
    Aborted

    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.
  • Cole Trapnell
    Senior Member
    • Nov 2008
    • 213

    #2
    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?

    Comment

    • spb2003
      Junior Member
      • Feb 2009
      • 4

      #3
      Thanks for the reply. I was going to add memory to my machine soon. I think now is a good time.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by SEQadmin2


        I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

        Here are nine questions we think about, in roughly the order they matter, before...
        06-18-2026, 07:11 AM
      • SEQadmin2
        From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
        by SEQadmin2


        Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


        The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
        ...
        06-02-2026, 10:05 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 06-26-2026, 11:10 AM
      0 responses
      16 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-17-2026, 06:09 AM
      0 responses
      49 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-09-2026, 11:58 AM
      0 responses
      107 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-05-2026, 10:09 AM
      0 responses
      125 views
      0 reactions
      Last Post SEQadmin2  
      Working...