Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chris
    Member
    • Apr 2008
    • 52

    #1

    Tophat2 job fails with an out of memory error - how to restart?

    I've had a long running tophat2 end with an error after 9 nine days:

    ...
    [2012-06-07 12:57:34] Joining segment hits
    [2012-06-07 17:58:10] Reporting output tracks
    [FAILED]
    Error: [Errno 12] Cannot allocate memory
    Found 280164 junctions from happy spliced reads

    [FAILED]
    Error: [Errno 2] No such file or directory: './tophat_out/tmp/accepted_hits7_sorted.bam'
    Found 280164 junctions from happy spliced reads
    Is there anyway to restart it at the point of failure on a machine with more memory rather than waiting another 9 nine days...?
  • EGrassi
    Member
    • Oct 2010
    • 66

    #2
    I've managed to do so...you should check in your logs (run.log) the command that failed and re-launch it on a machine with more memory. In my case it worked and I only needed to launch by hand two or three commands.
    You should try to understand which commands you still need to execute by examining the python wrapper for tophat and/or relaunching it on smaller fastq files (but with the same command line) and examining the logs. If it stopped at reporting output tracks it is similar to my situation: you should relaunch tophat-reports and samtools sort (in this way you will get an accepted_hits.bam but no unmapped.bam, I did not generate that file because I didn't need it...)

    Be aware that this suggestion is not entirely "safe" as long as one can 'rebuild' the commands in the wrong way and skip eventual portions of the job done by the python...the developer suggested me to split my fastq files and run tophat on them separately to overcome memory limits.

    Comment

    • chris
      Member
      • Apr 2008
      • 52

      #3
      OK. It looks like it died trying to sort eight BAM files at the same time and then merging them into one. I'll try and run those steps separately and see how that goes...

      Grazie mille

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
        by SEQadmin2



        CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

        Despite this, “CRISPR helped turn genome editing from a specialized technique into
        ...
        07-31-2026, 11:01 AM
      • SEQadmin2
        Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
        by SEQadmin2


        Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

        The systematic characterization of the human proteome has
        ...
        07-20-2026, 11:48 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 08-11-2026, 10:35 AM
      0 responses
      11 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-06-2026, 07:41 AM
      0 responses
      29 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-03-2026, 10:13 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-31-2026, 02:55 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Working...